Synq Docs
Errors

Payment failed

The `payment_failed` error: HTTP 402 Payment Required.

Stripe couldn't take the payment a change needs: detail says why.

FieldValue
codepayment_failed
status402 Payment Required
titlePayment 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.