Skip to content

Instantly share code, notes, and snippets.

@wehub
Last active September 19, 2019 19:19
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save wehub/37fb041b495edba40152b77a427870f5 to your computer and use it in GitHub Desktop.
{
"id": "8aaba37b-8f27-4899-9ffa-40e94b36da91",
"resource": "notifications",
"path": "/notifications/8aaba37b-8f27-4899-9ffa-40e94b36da91",
"owner": {
"id": "121212",
"resource": "applications",
"path": null
},
"topic": "refunds.created",
"event_time": 1568920734,
"payload": {
"id": "00000000-0000-0000-0000-000000080caf",
"resource": "refunds",
"path": "/refunds/00000000-0000-0000-0000-000000080caf",
"owner": {
"id": "fb1b386c-5140-460c-9e43-0348cd208c6b",
"resource": "accounts",
"path": "/accounts/fb1b386c-5140-460c-9e43-0348cd208c6b"
},
"create_time": 1568920733,
"status": "pending",
"refund_reason": "delayed shipping",
"amounts": {
"total_amount": 20000,
"fee_refund_amount": 100,
"currency": "USD"
},
"payment": {
"id": "00000000-0000-0000-0000-00004c0fccf8",
"resource": "payments",
"path": "/payments/00000000-0000-0000-0000-00004c0fccf8"
},
"payment_method": {
"id": "00000000-6363-0000-0000-000057f0cb8a",
"resource": "payment_methods",
"path": "/payment_methods/00000000-6363-0000-0000-000057f0cb8a"
},
"pending_reasons": [
{
"reason_code": "PROCESSING",
"reason_message": "Refund is being processed.",
"details": [
{
"detail_code": "processing",
"detail_message": "The refund is currently under processing."
}
]
}
],
"failure_reason": null,
"txnr_merchant_refund": null,
"txnr_app_fee_refund": null,
"custom_data": null,
"order": null,
"reference_id": 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