Skip to content

Instantly share code, notes, and snippets.

@wehub
Last active November 8, 2021 19:28
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/310ac3bd87ec0462752caaee7894ec54 to your computer and use it in GitHub Desktop.
Save wehub/310ac3bd87ec0462752caaee7894ec54 to your computer and use it in GitHub Desktop.
{
"id": "{NOTIFICATION-ID}",
"resource": "notifications",
"path": "/notifications/{NOTIFICATION-ID}",
"owner": {
"id": "121212",
"resource": "applications",
"path": null
},
"topic": "payments.completed",
"event_time": 1568854510,
"payload": {
"id": "{PAYMENT-ID}",
"resource": "payments",
"path": "/payments/{PAYMENT-ID}",
"owner": {
"id": "{MERCHANT-ACCOUNT-ID}",
"resource": "accounts",
"path": "/accounts/{MERCHANT-ACCOUNT-ID}"
},
"create_time": 1568854508,
"status": "complete",
"amount": 20000,
"currency": "USD",
"payment_method": {
"id": "{PAYMENT_METHOD-ID}",
"resource": "payment_methods",
"path": "/payment_methods/{PAYMENT_METHOD-ID}"
},
"fee_amount": 100,
"auto_capture": true,
"order": null,
"pending_reasons": null,
"failure_reason": null,
"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