Errors
Errors
The API uses standard HTTP status codes and returns JSON error bodies.
HTTP Status Codes
Error Response Format
The API returns errors in the following format:
The message field is always present. The errors object is optional and contains field-level validation details.
Common Errors
Authentication Failed
Your API keys are invalid, missing, or don’t match the same account/environment.
Validation Error
The provided parameters don’t pass validation. Check the errors object for specific details.
Cannot Modify Paid Checkout
You tried to modify a checkout that has already been paid.
Resource Not Found
The requested resource doesn’t exist or doesn’t belong to your account.
Error Handling
Always check the HTTP status code before processing the response:

