The GET /notifications/{id} call allows your platform to look up a notification. The notifications resource allows your platform to retrieve details on a specific notification or a collection of notifications. Your platform can utilize notifications to gain insight into WePay’s system, communicate with your users, monitor issues, etc.
INVALID_PARAMS
NOT_AUTHORIZED
UNEXPECTED_ERROR
{- "event_time": 1511307578,
- "id": "aceecf2c-e432-4aac-90a3-8f3b7fbb6420",
- "owner": {
- "id": "171845",
- "path": null,
- "resource": "applications"
}, - "path": "/notifications/aceecf2c-e432-4aac-90a3-8f3b7fbb6420",
- "payload": {
- "amount": 4200,
- "auto_capture": true,
- "create_time": 1511307571,
- "currency": "",
- "custom_data": null,
- "failure_reason": null,
- "fee_amount": 0,
- "id": "00000000-0000-0000-0000-00000c42a66e",
- "owner": {
- "id": "40200612-e849-4172-8308-657cf3a0de27",
- "path": "/accounts/40200612-e849-4172-8308-657cf3a0de27",
- "resource": "accounts"
}, - "path": "/payments/00000000-0000-0000-0000-00000c42a66e",
- "payment_method": {
- "id": "00000000-6363-0000-0000-0000052023f3",
- "path": "/payment_methods/00000000-6363-0000-0000-0000052023f3",
- "resource": "payment_methods"
}, - "pending_reasons": null,
- "resource": "payments",
- "status": "completed",
- "txnr_app_fee": null,
- "txnr_merchant": null
}, - "resource": "notifications",
- "topic": "payments.completed",
- "api_version": "3.0"
}