Payment failed
Triggered when a PaymentSession
is not authorised via the Payer's account
Webhooks are configured through the Banked console and are the recommended method for obtaining a payments status (as opposed to polling the payment status via our API).
An example failed
webhook payload:
{
"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": "failed",
"success_url": "https://example.com/success",
"url": "https://banked.me/pay/a6941fd1-f5cb-4948-814d-df03540149fb",
"email_receipt": true,
"webhook_event": "payment_failed",
"webook_type": "payment_session"
}
Updated over 2 years ago