Errors
Endpoints will return an array of standardized error objects on failures.
We attempt to keep these errors as consistent as possible, and will announce any changes in advance if they are required.
Error Object
Parameter | Type | Description |
---|---|---|
code | string | Error code |
location | string | Where the error occurred |
message | string | Message describing why error occured |
debug_uuid | uuid | UUID identifying error |
Example error response:
[
{
"code": "invalid",
"location": "order.amount.amount_in_cents",
"message": "Order amount must be greater than $35",
"debug_uuid": "919f40d0-874b-4d98-810d-ed2246a8ad77"
}
]