--- title: "T2" metaTitle: "T2" order: 1 showPageMenu: true --- import EndpointBlock from "src/components/endpoint-block"; import WebhookPlaceholder from 'src/components/webhook-placeholder'; import WebhookSummary from 'src/components/webhook-summary'; import Callout from "src/components/callout" ## T2 T2, formerly known as TARGET2, is the Real Time Gross Settlement payment scheme for euro payments. It uses ISO 20022 message formats. T2 has no transaction limit, making it suitable for high-value payments. Transactions are processed in euros using central bank money. When you submit a payment, we send a settlement request to the RTGS system. This processes the request and, upon approval, debits ClearBank and credits the recipient bank. It also sends a settlement confirmation.
![T2 message flow diagram](/assets/images/diagrams/eu/t2/Target2-message-flow.svg) ### Payment types **Customer payments** (pacs.008) are payments that have either your or another financial institution's (FI) customer as the ultimate debtor or creditor. **Institution payments** (pacs.009) are exclusively for FI to FI payments. If you attempt to send an institution payment to an end-user account, the payment will be returned. However, you'll still be charged a processing fee for the payment. **Return payments** (pacs.004) are payments returned to either your customer or a financial institution. You'll need to subscribe to the T2 Payment Return Inbound Completed webhook to be notified of returned payments. There are three endpoints you can use to submit or return T2 payments: | Endpoint | Purpose | Completed webhook | Failed webhook | |--------------|--------------|----------------------------|-------------------| | **[/payments/t2-rtgs/v1/customer-payments](#send-a-t-2-payment)** | Send a T2 payment (pacs.008) | [T2 Customer Credit Transfer Outbound Completed webhook](#t-2-customer-credit-transfer-outbound-completed-webhook)| [T2 Customer Credit Transfer Outbound Failed webhook](#t-2-customer-credit-transfer-outbound-failed-webhook)| | **[/payments/t2-rtgs/v1/payment-returns](#send-a-t-2-payment-to-an-institution)** | Return a T2 payment (pacs.004) | [T2 Payment Return Outbound Completed webhook](#t-2-payment-return-outbound-completed-webhook)| [T2 Payment Return Outbound Failed webhook](#t-2-payment-return-outbound-failed-webhook)| | **[/payments/t2-rtgs/v1/institution-payments](#send-a-t-2-payment-to-an-institution)** | Send a T2 payment to an institution (pacs.009) | [T2 Financial Institution Outbound Credit Transfer Completed webhook](#t-2-financial-institution-credit-transfer-outbound-completed-webhook)| [T2 Financial Institution Outbound Credit Transfer Failed webhook](#t-2-financial-institution-credit-transfer-outbound-failed-webhook)| There are also [webhooks for incoming payments](#receiving-t-2-payments): - The [T2 Customer Credit Transfer Inbound Completed webhook](#t-2-customer-credit-transfer-inbound-completed-webhook) is for incoming customer payments - The [T2 Payment Return Inbound Completed webhook](#t-2-payment-return-inbound-completed-webhook) is for incoming returns - The [T2 Financial Institution Inbound Transfer Completed webhook](#t-2-financial-institution-credit-transfer-inbound-completed-webhook) is for incoming payments from financial institutions ### Operating hours You can receive T2 payments Monday - Friday, 02:30 - 18:00 CET. You can send pacs.008 and pacs.004 payments Monday - Friday, 07:00 - 17:00 CET, with pacs.009 extended until 18:00 CET. Outside of these operating hours, outgoing payments will be rejected. T2 does not operate on the following days: - New Year's Day (1 January) - Good Friday - Easter Monday - Labour Day (1 May) - Christmas Day (25 December) - Boxing Day (26 December) ## Sending a T2 payment To send a T2 payment, use the [/payments/t2-rtgs/v1/customer-payments](#send-a-t2-payment) endpoint. You will receive the [T2 Customer Credit Transfer Outbound Completed webhook](#t-2-customer-credit-transfer-outbound-completed-webhook) when the payment successfully goes through. ![T2 send a payment message flow diagram](/assets/images/diagrams/eu/t2/t2-send-payment.svg) If the payment fails, you will receive the [T2 Customer Credit Transfer Outbound Failed webhook](#t-2-customer-credit-transfer-outbound-failed-webhook). **Example Customer Accounts Transaction Completed webhook request body for inbound T2 payment** ```json { "Type":"CustomerAccounts.TransactionCompleted", "Version":1, "Payload":{ "TransactionId":"70e7d2ff-bbb2-4f1f-90f0-f2221029447a", "EndToEndIdentification":"Inbound Payment", "CreatedDateTime":"2025-02-10T12:49:55.5733333Z", "CompletedDateTime":"2025-02-10T12:49:55.6Z", "ClearingChannel":"Target2", "DebitCreditCode":"Credit", "Amount":1000.0, "Currency":"EUR", "RemittanceInformation":"75030e66dc7844ed9e4a1266c9e8410f", "DebtorAccount":{ "AccountId":null, "Iban":"NL17CLRB0126793871", "Bban":null, "Descriptor":null }, "CreditorAccount":{ "AccountId":"5602a737-675f-4c85-bbc1-d5d4b4478e64", "Iban":"NL25CLRB0066110527", "Bban":null, "Descriptor":null } }, "Nonce":944609635 } ``` **Example webhook response** ```json { "Nonce": 944609635 } ``` **Example Customer Accounts Transaction Completed webhook request body for outbound T2 payment** ``` { "Type":"CustomerAccounts.TransactionCompleted", "Version":1, "Payload":{ "TransactionId":"a94a49f7-9007-419a-8722-bc45b0ddc7ec", "EndToEndIdentification":"46189668732340195406845", "CreatedDateTime":"2025-02-20T10:44:06.7833333Z", "CompletedDateTime":"2025-02-20T10:44:09.7633333Z", "ClearingChannel":"Target2", "DebitCreditCode":"Debit", "Amount":424.0, "Currency":"EUR", "RemittanceInformation":"Example Remittance", "DebtorAccount":{ "AccountId":"c182ac1e-3f15-4b58-b9c3-22719a6b6461", "Iban":"NL74CLRB0113702695", "Bban":null, "Descriptor":null }, "CreditorAccount":{ "AccountId":null, "Iban":"NL91ABNA0417164300", "Bban":null, "Descriptor":null } }, "Nonce":1269251375 } ``` **Example webhook response** ```json { "Nonce": 1269251375 } ``` ### T2 outbound failure error codes The following error codes may appear in the `Errors` field of the T2 failure webhooks listed below, helping you understand why a T2 payment was unsuccessful: - [T2 Customer Credit Transfer Outbound Failed webhook](#t-2-customer-credit-transfer-outbound-failed-webhook) - [T2 Financial Institution Credit Transfer Outbound Failed webhook](#t-2-financial-institution-credit-transfer-outbound-failed-webhook) - [T2 Payment Return Outbound Failed webhook](#t-2-payment-return-outbound-failed-webhook) | Error code | Description | |------------|-------------| | AC01 | Incorrect account number (IBAN or BIC not found on CB platform) | | AC04 | Closed account | | AC06 | Account is suspended | | AGNT | Creditor Agent BIC not found | | AM03 | IBAN doesn’t support Euro | | AM04 | Insufficient Funds | | BE01 | IBAN or BIC not linked to institution ID | | BE06 | FI Agent Client BIC not linked to IBAN | | CB01 | Unknown Error | | CB02 | Return request amount exceeds original amount | | CB03 | Original payment must be settled | | CB04 | Partial returns not supported | | CNOR | Creditor Bank not registered/routable via T2 | | RC05 | Source BIC not found on CB Platform | | RC11 | Intermediary Agent BIC not found | ## Returning a T2 payment To return a T2 payment, use the [/payments/t2-rtgs/v1/payment-returns](#return-a-t2-payment) endpoint. You will receive the [T2 Payment Return Outbound Completed webhook](#t-2-payment-return-outbound-completed-webhook) when the return successfully goes through. ![T2 return a payment message flow diagram](/assets/images/diagrams/eu/t2/t2-return-payment.svg) If the return fails, you will receive the [T2 Payment Return Outbound Failed webhook](#t-2-payment-return-outbound-failed-webhook). Prior to initiating a payment return, it is important to ensure that the original account that was funded has sufficient funds and is in a valid state. This will help in ensuring that the funds are returned. ## Sending a T2 payment to an institution To send a T2 payment to an institution, use the [/payments/t2-rtgs/v1/institution-payments](#send-a-t2-payment-to-an-institution) endpoint. You will receive the [T2 Payment Return Outbound Completed webhook](#t-2-financial-institution-credit-transfer-outbound-completed-webhook) when the payment successfully goes through. ![T2 send an FI payment message flow diagram](/assets/images/diagrams/eu/t2/t2-send-FI-payment.svg) If the payment fails, you will receive the [T2 Payment Return Outbound Completed webhook](#t-2-financial-institution-credit-transfer-outbound-failed-webhook). ## Receiving T2 payments When an inbound T2 payment is received, you'll be notified with one of the below webhooks depending on the payment type. For institution payments (pacs.009), the T2 scheme does not require IBANs to be provided. **We direct any inbound institution payments addressed only to a BIC and not with an IBAN to your** [**Primary Operating Account**](../accounts/account-types) (this is the first Operating Account created). ## T2 simulation endpoints These endpoints can be used to simulate payments. You can also use them for automated testing. - Simulate an inbound T2 payment (pacs.008) through the [POST /payments/t2-rtgs/v1/inbound/customer-payments](#simulate-a-t-2-payment) endpoint. - Simulate a returned T2 payment (pacs.004) through the [POST /payments/t2-rtgs/v1/inbound/payment-returns](#simulate-a-return-t-2-payment) endpoint. - Simulate a T2 bank-to-bank payment (pacs.009) through the [POST /payments/t2-rtgs/v1/inbound/institution-payments](#simulate-a-t-2-bank-to-bank-payment) endpoint. ### Example request payloads These simulation endpoints are comprehensive in the fields they allow you to test, however for simple test scenarios such as funding an account you can use the minimum set of required fields. We've provided an example payload that you can copy and paste. **You may need to edit certain fields.** #### Submit an inbound T2 payment (pacs.008) endpoint example **In this example, you'll need to edit xyz field** ``` { "paymentIdentification": { "instructionId": "75030e66dc7844ed9e4a1266c9e8410f", "endToEndId": "Inbound Payment", "uetr": "3f2504e0-4f89-11d3-9a0c-0305e82c3301" }, "header": { "bizMsgId": "75030e66dc7844ed9e4a1266c9e8410f", "from": "CLRBNL2AXXX", "to": "CLRBNL2AXXX" }, "value": { "settlementAmount": 1000, "settlementCurrency": "EUR" }, "debtor": { "party": { "name": "Debtor Name", "address": { "townName": "Amsterdam", "country": "NL", "postcode": "BN3 1DG" } }, "account": { "identification": { "iban": "NL17CLRB0126793871" } } }, "debtorAgent": { "identification": { "bicFi": "AACSDE33XXX" } }, "creditor": { "party": { "name": "Creditor Name", "address": { "townName": "Amsterdam", "country": "NL", "postcode": "BN3 1DG" } }, "account": { "identification": { "iban": "INSERT CREDITOR IBAN" } } }, "creditorAgent": { "identification": { "bicFi": "INSERT CREDITOR BIC" } }, "instructingAgent": { "bic": "CLRBNL2AXXX" }, "instructedAgent": { "bic": "CLRBNL2AXXX" } } ```