Errors
Payment failed
The `payment_failed` error: HTTP 402 Payment Required.
Stripe couldn't take the payment a change needs: detail says why.
| Field | Value |
|---|---|
code | payment_failed |
status | 402 Payment Required |
title | Payment failed |
Synq's APIs answer errors with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is payment_failed. Branch on code, never on title or detail: a code never changes once it ships, while the words may.
{
"type": "…/errors/payment_failed",
"title": "Payment failed",
"status": 402,
"code": "payment_failed"
}See every error code.