> ## Documentation Index
> Fetch the complete documentation index at: https://adyen-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Transaction Webhooks

> Find out which webhooks Adyen sends for transfers involving third-party bank accounts.

When a funds transfer takes place between one of your user's balance accounts and a counterparty bank account, balance account, or card, Adyen sends a transaction webhook to your server. This webhook informs your server that Adyen has deducted funds from or credited funds to your balance account.

[Transaction webhooks](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/overview) can be used in combination with [Transfer webhooks](https://docs.adyen.com/api-explorer/transfer-webhooks/latest/overview) to stay fully up to date about the status of your transfers. While a transfer webhook is sent for every status change, transaction webhooks are only sent when the funds from the transfer are credited or debited from the balance account.

## Requirements

| Requirement | Description |
| - | - |
| **Integration type** | You must have an [Adyen for Platforms](https://adyen-preview.mintlify.site/adyen-for-platforms-model.md), [Issuing](https://adyen-preview.mintlify.site/issuing/account-structure-resources/issuing-enterprise.md), or [Payouts](https://adyen-preview.mintlify.site/payouts/payout-service) integration. |
| **[Webhooks](https://adyen-preview.mintlify.site/development-resources/webhooks.md)** | Subscribe to the following webhook(s): [Standard webhooks](https://adyen-preview.mintlify.site/development-resources/webhooks/webhook-types#webhook-structure) [Transfer webhooks](https://docs.adyen.com/api-explorer/transfer-webhooks/latest/overview) (optional) [Transaction webhooks](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/overview) |
| **Setup steps** | Before you begin: Make sure that your server can [receive and accept webhooks](https://adyen-preview.mintlify.site/development-resources/webhooks/configure-and-manage.md). |

## Types of transaction webhooks

The values returned in the transaction webhook can vary depending on the following factors:

* Whether you are **sending funds from (outgoing)**, or **receiving funds to (incoming)**, the balance account.
* Whether the transfer is **internal** or **external**.

## Sending funds (outgoing)

Adyen sends webhooks for:

* [Outgoing external transactions](#outgoing-external-transactions): transactions that result from [transfers to third-party bank accounts](https://adyen-preview.mintlify.site/business-accounts/send-funds).
* [Outgoing internal transactions](#outgoing-internal-transactions) (incoming internal direct debit): transactions that result from [sending funds from a balance account to another](https://adyen-preview.mintlify.site/business-accounts/transfer-funds-internally.md).

### Outgoing external transactions

1. You send a POST [/transfers](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) requesting a EUR 100.00 transfer to a third-party bank account.

   \*\*

   #### Outgoing external transfer request

   **Outgoing external transfer request**

   ```json theme={null}
   {
       "amount": {
           "currency": "EUR",
           "value": 150000
       },
       "category": "bank",
       "priority": "regular",
       "balanceAccountId": "BA00000000000000000000001",
       "counterparty": {
           "bankAccount": {
               "accountHolder": {
                   "fullName": "A. Klaassen"
               },
               "accountIdentification": {
                   "type": "iban",
                   "iban": "NL91ABNA0417164300"
               }
           }
       },
       "referenceForBeneficiary": "Your reference sent to the beneficiary",
       "reference": "Your internal reference",
       "description": "Your description of the transfer"
   }
   ```

2. After the transfer is [**booked** ](https://adyen-preview.mintlify.site/business-accounts/third-party-transfer-webhooks.md#outgoing-bank-transfer-booked), Adyen sends a [balancePlatform.transaction.created](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created) webhook with the following information:

   | Parameter | Description |
   | - | - |
   | [accountHolder](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-accountHolder) | An object containing information about the account holder that owns the source balance account. |
   | [amount](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-amount) | An object containing the value and currency of the transaction. |
   | [balanceAccount](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-balanceAccount) | The balance account that sends the funds. |
   | [id](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-id) | The unique identifier of the transaction event. |
   | [transfer](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-transfer) | An object containing information about the related transfer. |

   \*\*

   #### Outgoing external transaction webhook

   **Outgoing external transaction created**

   ```json theme={null}
   {
       "data": {
           "id": "EVJN00000000000000000000000001EUR",
           "amount": {
               "value": -10000,
               "currency": "EUR"
           },
           "status": "booked",
           "transfer": {
               "categoryData": {
                   "priority": "regular",
                   "type": "bank"
               },    
               "id": "3JNC3O5ZVFLLGV4B",
               "reference": "Your internal reference of the transfer"
           },
           "valueDate": "2023-08-11T16:19:35+02:00",
           "bookingDate": "2023-08-11T16:31:02+02:00",
           "creationDate": "2023-08-11T16:19:35+02:00",
           "description": "Your description of the transfer",
           "referenceForBeneficiary": "Your reference sent to the beneficiary",
           "accountHolder": {
               "id": "AH00000000000000000000001",
               "reference": "Your reference for the account holder",
               "description": "Your description of the account holder"
           },
           "balanceAccount": {
               "id": "BA00000000000000000000001",
               "description": "Your description of the balance account"
           },
           "paymentInstrument": {
               "id": "PI00000000000000000000001",
               "description": "Your description of the payment instrument"
           },
           "balancePlatform": "YOUR_BALANCE_PLATFORM"
       },
       "environment": "test",
       "type": "balancePlatform.transaction.created"
   }
   ```

### Outgoing internal transactions

1. You send a POST [/transfers](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) requesting a EUR 100.00 transfer between two balance accounts in your platform.

   \*\*

   #### Outgoing internal transfer request

   **Internal direct debit request**

   ```json theme={null}
   {
       "amount": {
           "currency": "EUR",
           "value": "10000"
       },
       "balanceAccountId": "BA00000000000000000000001",
       "category": "internal",
       "counterparty": {
           "balanceAccountId": "BA00000000000000000000002"
       },
       "description": "Your description for the transfer",
       "reference": "Your internal reference for the transfer",
       "referenceForBeneficiary": "Your reference for the beneficiary of the transfer",
       "type": "internalDirectDebit"
   }
   ```

2. After the transfer is [**booked** ](https://adyen-preview.mintlify.site/business-accounts/third-party-transfer-webhooks.md#outgoing-bank-transfer-booked), Adyen sends a [balancePlatform.transaction.created](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created) webhook with the following information:

   | Parameter | Description |
   | - | - |
   | [accountHolder](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-accountHolder) | An object containing information about the account holder that owns the source balance account. |
   | [amount](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-amount) | An object containing the value and currency of the transaction. |
   | [balanceAccount](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-balanceAccount) | The balance account that receives the direct debit request and from which the funds are debited. |
   | [id](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-id) | The unique identifier of the transaction event. |
   | [transfer](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-transfer) | An object containing information about the related transfer. |

   \*\*

   #### Outgoing internal transaction webhook

   **Outgoing internal transaction created**

   ```json theme={null}
   {
       "data": {
           "id": "EVJN00000000000000000000000001EUR",
           "amount": {
               "value": -10000,
               "currency": "EUR"
           },
           "status": "booked",
           "transfer": {
               "categoryData": {
                   "type": "internal"
               },
               "id": "48TYZO5ZVURJ2FCW",
               "reference": "Your internal reference for the transfer"
           },
           "valueDate": "2023-08-11T16:19:35+02:00",
           "bookingDate": "2023-08-11T16:19:38+02:00",
           "creationDate": "2023-08-11T16:19:35+02:00",
           "description": "Your description for the transfer",
           "referenceForBeneficiary": "Your reference for the beneficiary of the transfer",
           "accountHolder": {
               "id": "AH00000000000000000000001",
               "description": "Your description of the account holder",
               "reference": "Your reference of the account holder"
           },
           "balanceAccount": {
               "id": "BA00000000000000000000001",
               "description": "Your description of the balance account"
           },
           "balancePlatform": "YOUR_BALANCE_PLATFORM"
       },
       "type": "balancePlatform.transaction.created",
       "environment": "test"
   }
   ```

## Receiving funds (incoming)

Adyen sends webhooks for:

* [Incoming external transactions](#incoming-external-transactions): transactions that result from [receiving funds from a third-party bank account](https://adyen-preview.mintlify.site/business-accounts/receive-funds.md).
* [Incoming internal transactions](#incoming-internal-transactions): transactions that result from a balance account [receiving funds from another balance account](https://adyen-preview.mintlify.site/business-accounts/transfer-funds-internally.md).

### Incoming external transactions

After an incoming third-party transfer is [**booked** ](https://adyen-preview.mintlify.site/business-accounts/third-party-transfer-webhooks.md#incoming-bank-transfer-booked)into your user's account, Adyen sends a [balancePlatform.transaction.created](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created) webhook with the following information:

| Parameter | Description |
| - | - |
| [accountHolder](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-accountHolder) | An object containing information about the account holder that owns the target balance account. |
| [amount](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-amount) | An object containing the value and currency of the transaction. |
| [balanceAccount](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-balanceAccount) | The balance account that receives the funds. |
| [id](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-id) | The unique identifier of the transaction event. |
| [transfer](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-transfer) | An object containing information about the related transfer. |

\*\*

#### Incoming external transaction webhook

**Incoming external transaction created**

```json theme={null}
{
    "data": {
        "id": "EVJN00000000000000000000000001EUR",
        "amount": {
            "value": 10000,
            "currency": "EUR"
        },
        "status": "booked",
        "transfer": {
            "categoryData": {
                "priority": "regular",
                "type": "bank"
            },
            "id": "3JW8PC5ZVV06067J",
            "reference": "automatically-generated-reference"
        },
        "valueDate": "2023-08-11T16:19:35+02:00",
        "bookingDate": "2023-08-11T16:43:46+02:00",
        "creationDate": "2023-08-11T16:43:46+02:00",
        "accountHolder": {
            "id": "AH00000000000000000000001",
            "description": "Your description of the account holder"
        },
        "balanceAccount": {
            "id": "BA00000000000000000000001",
            "description": "Your description of the balance account"
        },
        "paymentInstrument": {
            "id": "PI00000000000000000000001",
            "description": "Your description of the payment instrument"
        },
        "balancePlatform": "YOUR_BALANCE_PLATFORM"
    },
    "environment": "test",
    "type": "balancePlatform.transaction.created"
}
```

### Incoming internal transactions

After an incoming internal transfer is [**booked** ](https://adyen-preview.mintlify.site/business-accounts/transfer-funds-internally.md#3-internal-direct-debit-booked)to your user's account, Adyen sends a [balancePlatform.transaction.created](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created) webhook with the following information:

| Parameter | Description |
| - | - |
| [accountHolder](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-accountHolder) | An object containing information about the account holder that owns the target balance account. |
| [amount](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-amount) | An object containing the value and currency of the transaction. |
| [balanceAccount](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-balanceAccount) | The balance account that sends the direct debit request and to which the funds are credited. |
| [id](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-id) | The unique identifier of the transaction event. |
| [transfer](https://docs.adyen.com/api-explorer/transaction-webhooks/latest/post/balancePlatform.transaction.created#request-data-transfer) | An object containing information about the related transfer. |

\*\*

#### Incoming internal transaction webhook

**Incoming internal transaction created**

```json theme={null}
{
    "data": {
        "id": "EVJN00000000000000000000000002EUR",
        "amount": {
            "value": 10000,
            "currency": "EUR"
        },
        "status": "booked",
        "transfer": {
            "categoryData": {
                "type": "internal"
            },
            "id": "3JW8PC5ZVV06067J",
            "reference": "The sender's reference of the transfer"
        },
        "valueDate": "2023-08-11T16:19:35+02:00",
        "bookingDate": "2023-08-11T16:43:46+02:00",
        "creationDate": "2023-08-11T16:43:46+02:00",
        "description": "The sender's description of the transfer",
        "referenceForBeneficiary": "The sender's reference for the beneficiary",
        "accountHolder": {
            "id": "AH00000000000000000000001",
            "reference": "Your reference of the account holder",
            "description": "Your description of the account holder"
        },
        "balanceAccount": {
            "id": "BA00000000000000000000002",
            "description": "Your description of the balance account"
        },
        "balancePlatform": "YOUR_BALANCE_PLATFORM"
    },
    "type": "balancePlatform.transaction.created",
    "environment": "test"
}
```

## See also

* [Third-party transfer webhooks](https://adyen-preview.mintlify.site/business-accounts/third-party-transfer-webhooks.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.