Skip to main content

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

ParameterTypeDescription
codestringError code
locationstringWhere the error occurred
messagestringMessage describing why error occured
debug_uuiduuidUUID 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"
}
]