Skip to content

Status Codes ​

  • 200 OK — Request successful
  • 201 Created — New object created
  • 204 No Content — Request successful, no body returned
  • 401 Unauthorized — Missing or invalid authentication
  • 403 Forbidden — Authenticated but not allowed: wrong role, not the owner, email not verified, or a guest-only endpoint called with a token
  • 404 Not Found — Resource does not exist
  • 405 Method Not Allowed — Unsupported HTTP method
  • 409 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 modification
  • 422 Unprocessable Content — Validation errors (with an errors object) and business-rule violations (plain message): wrong login credentials, invalid verification link, failed password reset, unpaid checkout session, region mismatch, a request Stripe rejected
  • 429 Too Many Requests — Rate limit exceeded, see the Retry-After header
  • 500 Internal Server Error — Unexpected server error
  • 502 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.