Status Codes
200 OK— Request successful201 Created— New object created204 No Content— Request successful, no body returned401 Unauthorized— Missing or invalid authentication403 Forbidden— Authenticated but not allowed: wrong role, not the owner, email not verified, or a guest-only endpoint called with a token404 Not Found— Resource does not exist405 Method Not Allowed— Unsupported HTTP method409 Conflict— Conflict with the current state: invalid state transition, testimony no longer open for offers or checkout, duplicate offer, offer no longer available or no longer withdrawable, payment belonging to another offer, concurrent modification422 Unprocessable Content— Validation errors (with anerrorsobject) and business-rule violations (plainmessage): wrong login credentials, invalid verification link, failed password reset, unpaid checkout session, region mismatch, a request Stripe rejected429 Too Many Requests— Rate limit exceeded, see theRetry-Afterheader500 Internal Server Error— Unexpected server error502 Bad Gateway— Stripe could not be reached, rate-limited the request or failed (Checkout Offer, Accept Offer, Withdraw Offer)
All error responses return a JSON object with a message field. See Error Responses for details.