Skip to main content

Status codes

Response shapes

Generic errors

For 401, 403, 404 and most 500 cases:

Validation errors

For 400, errors are returned as a field-keyed map. Errors not bound to a single field are grouped under non_field_errors:

Common pitfalls

  • x-simple-workspace missing400 with non_field_errors: ["x-simple-workspace header is required."].
  • Wrong workspace ID403 (the user is not a member of that workspace).
  • Tax-regulated country, missing tax_id or tax_settings400 with field-specific errors.
  • Trying to delete a customer with active subscriptions400. Cancel the subscriptions first or the customer is archived instead.

Retries

The API does not currently support an idempotency header. Treat write requests as non-idempotent and avoid blind retries on 5xx for endpoints that create financial records.