Poll the payment status endpoint or use webhooks to receive real-time status updates.
1. Polling Send GET /v1/payments/{paymentId} to retrieve the current payment object.
đĄ Tip: Use exponential back-off when polling: check after 2s, then 4s, then 8s. |
â
2. Webhooks (recommended) Register a webhook endpoint to receive payment.completed and payment.failed events automatically.
â
3. The payment object includes: id, status, amount, currency, recipientId, reference, createdAt, updatedAt, and failureReason.
â
Related articles:
