Skip to content

Instantly share code, notes, and snippets.

@mjallday
Created September 13, 2013 22:52
Show Gist options
  • Save mjallday/6557091 to your computer and use it in GitHub Desktop.
Save mjallday/6557091 to your computer and use it in GitHub Desktop.
{
"errors": [
{
"status": "Conflict",
"category_code": "account-insufficient-funds",
"additional": null,
"status_code": 409,
"category_type": "logical",
"extras": {},
"request_id": "OHM410b5c281cba11e3a9c510ddb1bbaf41",
"description": "CU4alRvwVLn098Y7GetPv5tf balance 0 is insufficient to cover transfer of 1. Your request id is OHM410b5c281cba11e3a9c510ddb1bbaf41."
}
],
"links": {
"debits.customer": "/customers/{debits.customer}",
"debits.order": "/orders/{debits.order}",
"debits.refunds": "/debits/{debits.id}/refunds",
"debits.source": "/resources/{debits.source}"
},
"debits": [
{
"status": "failed",
"description": null,
"links": {
"customer": null,
"source": null,
"order": null
},
"href": "/debits/WD1YIP9nnhaFjaUlY4nvd7ix",
"created_at": "2013-09-13T21:20:03.190140Z",
"updated_at": "2013-09-13T21:20:03.194795Z",
"failure_reason": "CU4alRvwVLn098Y7GetPv5tf balance 0 is insufficient to cover transfer of 1.",
"currency": "USD",
"amount": 1,
"failure_reason_code": null,
"meta": {},
"appears_on_statement_as": "BAL*example.com",
"id": "WD1YIP9nnhaFjaUlY4nvd7ix"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment