Skip to main content
Plan, quota & billing·HTTP 402·API, FE

Payment failed

PAYMENT_REQUIRED

We couldn't charge your card for this account's most recent invoice.

What this means​

The card on file was declined, expired, or has insufficient funds. The account is paused until payment succeeds.

How to fix it​

Update your payment method in the billing portal and the invoice will be retried automatically.

How it appears in the response​

ComputeSphere returns errors as RFC 7807 Problem Details. The type field is the docs URL for this page — switch on code in your client.

{
"type": "https://docs.computesphere.com/errors/PAYMENT_REQUIRED",
"title": "Payment failed",
"status": 402,
"code": "PAYMENT_REQUIRED",
"detail": "We couldn't charge your card for this account's most recent invoice.",
"instance": "/v2/…",
"request_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"trace_id": null
}

The Content-Type header is application/problem+json. On field-level validation errors a non-empty errors[] array also appears, each entry carrying its own docs_url for the offending field.