API documentation
Reference
Errors and retries
Handle errors using the HTTP status and error field. Only retry when the failure is transient.
HTTP statuses
400400 — invalid request or filter, such as an unsupported status.
Do not retry401401 — missing, invalid or revoked code, or an incorrectly formatted header.
Do not retry403403 — the Stripe installation associated with the code is no longer active.
Do not retry404404 — customer, invoice or PDF unavailable in this scope; this response prevents cross-account enumeration.
Do not retry429429 — temporary request limit; wait before attempting the request again.
Retry502/503502/503 — Stripe or InvoiceXpress is temporarily unavailable; retry with backoff.
Retry