Skip to content

Instantly share code, notes, and snippets.

@dberube
Created September 15, 2014 03:11
Show Gist options
  • Save dberube/116a0a65846714a12903 to your computer and use it in GitHub Desktop.
Save dberube/116a0a65846714a12903 to your computer and use it in GitHub Desktop.
{
"reversals": [
{
"status": "failed",
"transaction_number": "RVXXX-XXX-XXX",
"description": null,
"links": {
"credit": "CR3XXX",
"order": null
},
"created_at": "2014-09-15T03:07:39.324125Z",
"updated_at": "2014-09-15T03:07:39.330912Z",
"failure_reason": "Cannot reverse this credit since it has not succeeded.",
"currency": "USD",
"amount": 9900,
"href": "/reversals/RV3XXX",
"meta": {},
"failure_reason_code": "cannot-reverse-credit",
"id": "RV3XXX"
}
],
"errors": [
{
"status": "Conflict",
"category_code": "cannot-reverse-credit",
"additional": null,
"status_code": 409,
"category_type": "logical",
"extras": {},
"request_id": "OHM736XXXXX",
"description": "Cannot reverse this credit since it has not succeeded. Your request id is OHM736XXXXX."
}
],
"links": {
"reversals.credit": "/credits/{reversals.credit}",
"reversals.order": "/orders/{reversals.order}",
"reversals.events": "/reversals/{reversals.id}/events"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment