Skip to content

Instantly share code, notes, and snippets.

@wehub
Last active September 19, 2019 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wehub/6fd5455649638ce94199a9ab534a773d to your computer and use it in GitHub Desktop.
Save wehub/6fd5455649638ce94199a9ab534a773d to your computer and use it in GitHub Desktop.
{
"id": "77564338-5f54-4696-a0e0-4045bf0b70f1",
"resource": "notifications",
"path": "/notifications/77564338-5f54-4696-a0e0-4045bf0b70f1",
"owner": {
"id": "121212",
"resource": "applications",
"path": null
},
"topic": "payments.failed",
"event_time": 1568855104,
"payload": {
"id": "00000000-0000-0000-0000-00006b2bcd50",
"resource": "payments",
"path": "/payments/00000000-0000-0000-0000-00006b2bcd50",
"owner": {
"id": "3a9c5261-a690-4c00-9e40-8804f092eb77",
"resource": "accounts",
"path": "/accounts/3a9c5261-a690-4c00-9e40-8804f092eb77"
},
"create_time": 1568854807,
"status": "failed",
"amount": 10361,
"currency": "USD",
"payment_method": {
"id": "00000000-6363-0000-0000-000057f0cb8a",
"resource": "payment_methods",
"path": "/payment_methods/00000000-6363-0000-0000-000057f0cb8a"
},
"fee_amount": 10,
"auto_capture": true,
"order": null,
"pending_reasons": null,
"failure_reason": {
"reason_code": "REVIEW",
"reason_message": "Failed to capture the payment.",
"details": [
{
"detail_code": "risk_review",
"detail_message": "The payment could not be captured as it failed risk review."
}
]
},
"txnr_app_fee": null,
"txnr_merchant": null,
"amount_refunded": 0,
"amount_disputed": 0,
"initiated_by": "customer",
"reference_id": null,
"custom_data": null,
"api_version": "3.0"
},
"api_version": "3.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment