> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yapily.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction to Payment Execution

> Learn how to construct and send payment requests with the Yapily API. Covers required fields, authentication, idempotency keys, and payment execution best practices.

***

## Introduction

In both the payment authorisation and payment request, you will have to generate the `paymentRequest` payload which defines to who, from where, how much and how to execute the payment. As Yapily is a
platform that allows for multiple types of payments to be executed in and across different countries, the following supplementary information will give more guidance on what options are available.

For a conceptual guide to building payment requests, see [Building a Payment Request](/concepts/payment-request-anatomy).

## Payment Types

The following table shows the different payment types that are currently available in Yapily. The associated features column shows the features that will be created in the payment consent after you
execute [Create Payment Authorisation](/api-reference/authorisations/create-payment-authorisation) and specify one of the payment types.

To create bulk payments, there is no bulk payment type. Instead you use [Create Bulk Payment Authorisation](/api-reference/authorisations/create-bulk-payment-authorisation) which will take an array of `paymentRequest` where
the payment type will be defined per payment.

| Payment Type                      | Description                                                                                                                                                                                                                                                                                                                                                                                                                    | Associated Features                                                                                                      |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
| `DOMESTIC_INSTANT_PAYMENT`        | Initiate and create domestic single instant payments.<br /><br />The `DOMESTIC_INSTANT_PAYMENT` payment type is used to indicate that when sending funds to another account from a participating SEPA country and when the payment is in Euros, SEPA Instant in addition to SEPA is also a viable configuration for the payment.<br /><br />See [SEPA Payments](/payments/single-payments#sepa-payments) for more information. | `INITIATE_DOMESTIC_SINGLE_INSTANT_PAYMENT`<br />`CREATE_DOMESTIC_SINGLE_INSTANT_PAYMENT`<br />`EXISTING_PAYMENT_DETAILS` |
| `DOMESTIC_PAYMENT`                | Initiate and create domestic single payments.<br /><br />Particular payments between accounts from SEPA member countries can be considered a `DOMESTIC_PAYMENT` payment when the payment is in Euros. In these scenarios, funds will be transferred via. SEPA. <br /><br />See [Domestic Single Payments](/payments/single-payments#domestic-single-payments) for more information.                                            | `INITIATE_DOMESTIC_SINGLE_PAYMENT`<br />`CREATE_DOMESTIC_SINGLE_PAYMENT`<br />`EXISTING_PAYMENT_DETAILS`                 |
| `DOMESTIC_PERIODIC_PAYMENT`       | Initiate and create domestic periodic payments. They are known as standing orders in UK. <br /><br />See [Domestic Periodic Payments](/payments/periodic-payments#domestic-periodic-payments) for more information.                                                                                                                                                                                                            | `INITIATE_DOMESTIC_PERIODIC_PAYMENT`<br />`CREATE_DOMESTIC_PERIODIC_PAYMENT`<br />`EXISTING_PAYMENT_DETAILS`             |
| `DOMESTIC_SCHEDULED_PAYMENT`      | Initiate and create domestic scheduled payments. <br /><br />See [Domestic Scheduled Payments](/payments/scheduled-payments#domestic-scheduled-payments) for more information.                                                                                                                                                                                                                                                 | `INITIATE_DOMESTIC_SCHEDULED_PAYMENT`<br />`CREATE_DOMESTIC_SCHEDULED_PAYMENT`<br />`EXISTING_PAYMENT_DETAILS`           |
| `INTERNATIONAL_PAYMENT`           | Initiate and create international single payments. <br /><br />See [International Single Payments](/payments/single-payments#international-single-payments) for more information.                                                                                                                                                                                                                                              | `INITIATE_INTERNATIONAL_SINGLE_PAYMENT`<br />`CREATE_INTERNATIONAL_SINGLE_PAYMENT`<br />`EXISTING_PAYMENT_DETAILS`       |
| `INTERNATIONAL_PERIODIC_PAYMENT`  | Initiate and create international periodic payments. <br /><br />See [International Periodic Payments](/payments/periodic-payments#international-periodic-payments) for more information.                                                                                                                                                                                                                                      | `INITIATE_INTERNATIONAL_PERIODIC_PAYMENT`<br />`CREATE_INTERNATIONAL_PERIODIC_PAYMENT`<br />`EXISTING_PAYMENT_DETAILS`   |
| `INTERNATIONAL_SCHEDULED_PAYMENT` | Initiate and create international scheduled payments. <br /><br />See [International Scheduled Payments](/payments/scheduled-payments#international-scheduled-payments) for more information.                                                                                                                                                                                                                                  | `INITIATE_INTERNATIONAL_SCHEDULED_PAYMENT`<br />`CREATE_INTERNATIONAL_SCHEDULED_PAYMENT`<br />`EXISTING_PAYMENT_DETAILS` |

## Account Identifications

When making a Payment, it is necessary to provide details of the `Payee` account (the account that you would like the payment to be sent to) as well as the `Payer` account (the account that you would
like to make the payment from) when sending payments from a European bank account. This is done by using the nested `AccountIdentification` object in the `PaymentRequest`.

| Type             | Description                                                                                       | Format                                                                                                                   |
| ---------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| `SORT_CODE`      | Used only in the UK in conjunction with `ACCOUNT_NUMBER` to uniquely identify account             | 6 numerical characters                                                                                                   |
| `ACCOUNT_NUMBER` | Used only in the UK in conjunction with `SORT_CODE` to uniquely identify account                  | 8 numerical characters                                                                                                   |
| `IBAN`           | National standard for uniquely identifying bank accounts                                          | See [IBAN Formats by countries](https://en.wikipedia.org/wiki/International_Bank_Account_Number#IBAN_formats_by_country) |
| `BBAN`           | The Basic Bank Account Number. This forms the first part of the IBAN after the first 4 characters | See [IBAN Formats by countries](https://en.wikipedia.org/wiki/International_Bank_Account_Number#IBAN_formats_by_country) |
| `BIC`            | Business Identifier Codes otherwise known as SWIFT Code                                           | No specific format                                                                                                       |
| `PAN`            | -                                                                                                 | -                                                                                                                        |
| `MASKED_PAN`     | -                                                                                                 | -                                                                                                                        |
| `MSISDN`         | -                                                                                                 | -                                                                                                                        |
| `BSB`            | -                                                                                                 | -                                                                                                                        |
| `NCC`            | -                                                                                                 | -                                                                                                                        |
| `ABA`            | -                                                                                                 | -                                                                                                                        |
| `ABA_WIRE`       | -                                                                                                 | -                                                                                                                        |
| `ABA_ACH`        | -                                                                                                 | -                                                                                                                        |
| `EMAIL`          | Email address                                                                                     | -                                                                                                                        |

## Account Identifications Combinations

The following tables show which account identifications are required for different scenarios for domestic and international payments.

#### Domestic Payments

| Payer Country | Payee Country | Currency | Payee Account Identification   |
| ------------- | ------------- | -------- | ------------------------------ |
| UK            | UK            | GBP      | `ACCOUNT_NUMBER` + `SORT_CODE` |
| Any SEPA      | Any SEPA      | EUR      | `IBAN`                         |

#### International Payments

| Payer Country | Payee Country                                                                                                                                                                                                                                                                                                                                                                                        | Currency | Payee Account Identification |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ---------------------------- |
| Any           | **All EU and EEA countries:** <br /> Albania, Austria, Belgium, Bosnia and Herzegovina, Bulgaria, Croatia, Cyprus, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Guernsey, Hungary, Iceland, Republic of Ireland, Italy, Jersey, Latvia, Liechtenstein, Lithuania, Luxembourg, Malta, The Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain and Sweden | Any      | `BBAN` / `IBAN` + `BIC`      |
