Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Bank withdrawal webhooks

Txn sends a bank withdrawal webhook each time a bank withdrawal transaction's simplifiedState changes. The payload mirrors the Read bank withdrawal endpoint response, with the bankWithdrawalTransactions, bankAccounts and accounts entities in included[]; the Response Body table on that page describes every field.

The tabs below show example payloads for each state.

For configuring webhook URLs, retry behaviour, source IPs, and signature verification, see the general Webhooks section.

{
  "data": {
    "attributes": {
      "accountId": "13a85b45-8543-41c7-b963-394d4ea128ae",
      "amount": "-1.01",
      "balance": null,
      "createdAt": "2026-11-04T12:29:53.734Z",
      "currency": "EUR",
      "reference": "Docs webhook sample",
      "simplifiedState": "pending",
      "transactionType": "BankWithdrawalTransaction"
    },
    "id": "d2dfdec1-b0c4-4457-9fd5-dd06a44a3233",
    "relationships": {
      "account": {
        "meta": {
          "included": false
        }
      },
      "author": {
        "meta": {
          "included": false
        }
      },
      "transactionDetails": {
        "data": {
          "id": "d2dfdec1-b0c4-4457-9fd5-dd06a44a3233",
          "type": "bankWithdrawalTransactions"
        }
      }
    },
    "type": "transactions"
  },
  "included": [
    {
      "attributes": {
        "absorbFees": true,
        "amount": "1.01",
        "approvalStatus": null,
        "bankBic": null,
        "bankName": null,
        "beneficiaryName": "Acme",
        "createdAt": "2026-11-04T12:29:53.731Z",
        "currency": "EUR",
        "fee": "0.01",
        "iban": "LT483750000000000008",
        "payAmount": "1.00",
        "paymentStatus": "created",
        "reference": "Docs webhook sample",
        "simplifiedState": "pending",
        "state": "pending",
        "updatedAt": "2026-11-04T12:29:53.758Z"
      },
      "id": "d2dfdec1-b0c4-4457-9fd5-dd06a44a3233",
      "relationships": {
        "account": {
          "data": {
            "id": "13a85b45-8543-41c7-b963-394d4ea128ae",
            "type": "accounts"
          }
        },
        "author": {
          "meta": {
            "included": false
          }
        },
        "bankAccount": {
          "data": {
            "id": "456fec23-40d3-43c1-9165-2f92f7fb687c",
            "type": "bankAccounts"
          }
        }
      },
      "type": "bankWithdrawalTransactions"
    },
    {
      "attributes": {
        "bankBic": null,
        "bankName": null,
        "beneficiaryName": "Acme",
        "createdAt": "2026-08-03T10:49:11.292Z",
        "currencyCode": "EUR",
        "iban": "LT483750000000000008",
        "label": "Acme EUR",
        "updatedAt": "2026-08-10T08:54:59.023Z"
      },
      "id": "456fec23-40d3-43c1-9165-2f92f7fb687c",
      "type": "bankAccounts"
    },
    {
      "attributes": {
        "balance": "39269.57",
        "bankDepositAvailable": true,
        "bankReference": "BDR6421088115176062",
        "bankWithdrawalAvailable": true,
        "currencyCode": "EUR",
        "currencyType": "fiat",
        "label": "master",
        "master": true,
        "totalBalance": null,
        "transferAvailable": true
      },
      "id": "13a85b45-8543-41c7-b963-394d4ea128ae",
      "relationships": {
        "company": {
          "meta": {
            "included": false
          }
        },
        "networks": {
          "meta": {
            "included": false
          }
        },
        "txnBankCredentials": {
          "meta": {
            "included": false
          }
        }
      },
      "type": "accounts"
    }
  ],
  "meta": {}
}

Last updated