Payment sent

Triggered when a PaymentSession is successfully 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).

📘

This signifies that the payment has left the payers account and is now within the payment network (e.g. Faster Payments in the UK). The payment will arrive according to that payment network's SLA (e.g. for Faster Payments 95% of payments arrive within two minutes, but can take up to two hours)

An example sent 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": "awaiting_payer",
  "success_url": "https://example.com/success",
  "url": "https://banked.me/pay/a6941fd1-f5cb-4948-814d-df03540149fb",
  "email_receipt": true,
  "webhook_event": "payment_sent",
  "webook_type": "payment_session"
}

Did this page help you?