The Payment Pending notification indicates that a payment has been authorized, but Banked has not received confirmation that the payment has left the payer's account. In some cases, payment sessions may go straight to one of the final states of sent
or failed
, and you may not receive a pending
notification.
The JSON below shows an example of a pending
notification payload:
json
{ "amount": 1, "created_at": "2019-10-31 16:45:34 UTC", "currency": "GBP", "end_to_end_id": null, "error_url": "https://example.com/error", "id": "a6941fd1-f5cb-4948-814d-df03540149fb", "line_items": [ { "amount": 1, "currency": "GBP", "description": null, "name": "Candle", "quantity": 1 } ], "live": true, "payee": { "account_number": "12345678", "name": "Gerard Wiley", "sort_code": "123456" }, "reference": "Illuminate", "state": "pending", "sent_at": null, "success_url": "https://example.com/success", "url": "https://checkout.banked.com/a6941fd1-f5cb-4948-814d-df03540149fb", "email_receipt": true, "webhook_event": "payment_pending", "webook_type": "payment_session" }