---
title: "Get payments"
method: GET
path: "/v2/payments"
tags: ["Payments v2"]
---

# Get payments

`GET /v2/payments`

The `GET /v2/payments` endpoint provides you with a list of payments and their details.

## Query parameters

- `limit` integer, required
- `offset` string
- `ids` string[]
- `invertIds` boolean
- `statuses` PaymentStatus[]
- `invertStatuses` boolean
- `createdAfter` string
- `createdBefore` string
- `refIds` string[]
- `onBehalfOfId` string
- `refundStatuses` PaymentRefundStatus[]
- `partial` boolean
- `externalPsuReference` string — An external reference provided by the TPP (Third Party Provider) to uniquely identify the PSU (Payment Service User).
- `type` 'SINGLE_IMMEDIATE_PAYMENT' | 'VARIABLE_RECURRING_PAYMENT'
- `vrpConsentId` string

## Response `200`

Successful response

- PaymentsResponse
  - `payments` Payment[], required
    - `id` string, required — The Token.io generated payment id.
    - `memberId` string, required — The Token.io-assigned member id of the TPP.
    - `initiation` PaymentInitiation, required — The initiation payload for the payment. All standard flow types — amount and remittanceInformationPrimary are required.
      - `bankId` string — The Token.io id of the bank where the consent is created. **This field is required if the customer is not using Token.io's Hosted Pages for bank selection, <i>i.e.</i>, API-only integration when `EMBEDDED_HOSTED_PAGES` is selected in `flowType`, or Hosted Pages embedded (modal) integration.**
      - `refId` string, required — The TPP-generated reference identifier for the token. This is not to be confused with the `requestId`. The `refId` maps to the `tppRefId` in the bank's `consentRequest`. This is needed to match/verify the originating token request with the bank's consent request. <br/>We recommend that the `refId` should not contain special characters (the allowed characters are the 26-letter Latin alphabet, the numerical digits from 0-9 and the hyphen '-'). This field should not exceed 18 characters in length.
      - `remittanceInformationPrimary` string, required — The primary field for remittance information. This should contain a reference, as assigned by the creditor, to unambiguously refer to the payment transactions under this consent. The value of this field should appear on the bank statement and reconciliation file, irrespective of the payment network being used. <br/>We recommend that the `remittanceInformationPrimary` field should not contain special characters (the allowed characters are the 26-letter Latin alphabet, the numerical digits from 0-9 and the hyphen '-') as banks may remove these when sending this field to the beneficiary. This field should not exceed 35 characters in length (18 characters for UK Faster Payments).
      - `remittanceInformationSecondary` string — The secondary field for remittance information. The information supplied should enable the reconciliation of an entry in an unstructured form. Depending on the payment network, information from this field may or may not be included in the bank statement and reconciliation file. <br/>We recommend that the `remittanceInformationSecondary` field should not contain special characters (the allowed characters are the 26-letter Latin alphabet, the numerical digits from 0-9 and the hyphen '-') as banks may remove these when sending this field to the beneficiary. This field should not exceed 140 characters in length.
      - `onBehalfOfId` string — The id of the ultimate client on whose behalf the consent is created. If the consent is created on behalf of a sub-TPP, this field should contain the sub-TPP `referenceId`. This field is mandatory for unregulated TPPs.
      - `vrpConsentId` string — Only for Variable recurring payments (VRP). VRP consent id.
      - `amount` Amount, required — The transaction amount and currency.
        - `value` string, required — The transaction amount with up to four digits after the decimal point.
        - `currency` string, required — The <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank">ISO 4217</a> three letter currency code.
      - `localInstrument` 'SEPA' | 'SEPA_INSTANT' | 'FASTER_PAYMENTS' | 'ELIXIR' | 'EU_DOMESTIC_NON_EURO' | 'EU_DOMESTIC_NON_EURO_INSTANT' | 'BANKGIRO' | 'PLUSGIRO' | 'AUTO_SELECT', required — The bank's payment service used to make the payment.<br/>Depending on which local instrument you select, you will require different account identifiers in the `debtor` and `creditor` objects. The `creditor` object is mandatory, but the `debtor` object is only required if it is mandatory for a specific bank. However, if the TPP decides to provide debtor details, account identifier field(s) within the `debtor` object are mandatory. <br/>The fields within the `creditor` and `debtor` objects are populated as follows:<ul><li><b>FASTER_PAYMENTS</b> require the `sortCode` and `accountNumber` to be populated.<br/></li><li><b>SEPA</b> and <b>SEPA_INSTANT</b> require the `iban`, the `bic` is optional.<br/></li><li><b>ELIXIR</b> requires either the `iban` or the Polish domestic `accountNumber`, the `bic` is optional.<br/></li><li><b>BANKGIRO</b> requires the `bankgiroNumber`, the `bic` is optional.<br/></li><li><b>PLUSGIRO</b> requires the `plusgiroNumber`, the `bic` is optional.<br/></li><li><b>EU_DOMESTIC_NON_EURO</b> and <b>EU_DOMESTIC_NON_EURO_INSTANT</b> require either the `iban` or `bban`, the `bic` is optional, OR the `bban` is required and `clearingNumber` is optional. For an HP flow that doesn't have a preselected `bankId`, a SENoBankId account, where the currency is SEK or NOK, will require an `iban` and `bban` with an optional `bic` and/or `clearingNumber`.<br/></li><li><b>AUTO_SELECT</b> enables smart routing functionality where Token.io automatically selects the most optimal payment rail based on the provided payment value and bank capabilities. This reduces the complexity for TPPs by eliminating the need to specify the exact local instrument.<br/></li></ul>
      - `debtor` union — Debtor information. Provide either an Account on File OR full Debtor Account details. These two modes are mutually exclusive.
        - union
          - object — SEPA account details where the iban is required and the bic is optional.
            - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
            - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs can be either 8 or 11 characters long.
            - `name` string, required — The debtor’s account owner name.
            - `ultimateDebtorName` string — The ultimate debtor’s name.
            - `address` Address — Address
              - …
          - object — SEPA Instant account details where the iban is required and the bic is optional.
            - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
            - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs can be either 8 or 11 characters long.
            - `name` string, required — The debtor’s account owner name.
            - `ultimateDebtorName` string — The ultimate debtor’s name.
            - `address` Address — Address
              - …
          - object — A UK or Irish account where the sort code and account number are required.
            - `accountNumber` string, required — The unique identifier for the bank account in the UK or Ireland.
            - `sortCode` string, required — The number assigned to a branch of a bank, typically containing six digits and most commonly used in the UK and Ireland.
            - `name` string, required — The debtor’s account owner name.
            - `ultimateDebtorName` string — The ultimate debtor’s name.
            - `address` Address — Address
              - …
          - object — Polish account details where the iban is required and the bic is optional.
            - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
            - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
            - `name` string, required — The debtor’s account owner name.
            - `ultimateDebtorName` string — The ultimate debtor’s name.
            - `address` Address — Address
              - …
          - object — Account details where the iban is required and the bic is optional.
            - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
            - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
            - `name` string, required — The debtor’s account owner name.
            - `ultimateDebtorName` string — The ultimate debtor’s name.
            - `address` Address — Address
              - …
          - object — Account details where the bban is required and the bic is optional.
            - `bban` string, required — Represents a country-specific bank account number. The BBAN is the last part of the IBAN when used for international funds transfers. Every country has its own specific BBAN format and length. At present, there is no common EU or other standard unifying the BBAN. This is why IBAN was introduced to standardise international bank transfers.
            - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
            - `name` string, required — The debtor’s account owner name.
            - `ultimateDebtorName` string — The ultimate debtor’s name.
            - `address` Address — Address
              - …
          - object — Account details where the bban is required and the clearing number is optional.
            - `bban` string, required — Represents a country-specific bank account number. The BBAN is the last part of the IBAN when used for international funds transfers. Every country has its own specific BBAN format and length. At present, there is no common EU or other standard unifying the BBAN. This is why IBAN was introduced to standardise international bank transfers.
            - `clearingNumber` string — The bank clearing number or BC number is a number used for the identification of financial institutions in Switzerland and Liechtenstein. Bank clearing numbers are connected to the Swiss Interbank Clearing and the EuroSIC system.
            - `name` string, required — The debtor’s account owner name.
            - `ultimateDebtorName` string — The ultimate debtor’s name.
            - `address` Address — Address
              - …
          - object — Account details where the iban is required and the bic is optional.
            - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
            - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
            - `name` string, required — The debtor’s account owner name.
            - `ultimateDebtorName` string — The ultimate debtor’s name.
            - `address` Address — Address
              - …
          - object — Account details where the bban is required and the bic is optional.
            - `bban` string, required — Represents a country-specific bank account number. The BBAN is the last part of the IBAN when used for international funds transfers. Every country has its own specific BBAN format and length. At present, there is no common EU or other standard unifying the BBAN. This is why IBAN was introduced to standardise international bank transfers.
            - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
            - `name` string, required — The debtor’s account owner name.
            - `ultimateDebtorName` string — The ultimate debtor’s name.
            - `address` Address — Address
              - …
          - object — Account details where the bban is required and the clearing number is optional.
            - `bban` string, required — Represents a country-specific bank account number. The BBAN is the last part of the IBAN when used for international funds transfers. Every country has its own specific BBAN format and length. At present, there is no common EU or other standard unifying the BBAN. This is why IBAN was introduced to standardise international bank transfers.
            - `clearingNumber` string — The bank clearing number or BC number is a number used for the identification of financial institutions in Switzerland and Liechtenstein. Bank clearing numbers are connected to the Swiss Interbank Clearing and the EuroSIC system.
            - `name` string, required — The debtor’s account owner name.
            - `ultimateDebtorName` string — The ultimate debtor’s name.
            - `address` Address — Address
              - …
          - object — Account details where the bankgiroNumber is required and the bic is optional.
            - `bankgiroNumber` string, required — The unique identifier for the bank account in Sweden (known in Swedish as Bankgironummer), it consists of 7 or 8 digits.
            - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs can be either 8 or 11 characters long.
            - `name` string, required — The debtor’s account owner name.
            - `ultimateDebtorName` string — The ultimate debtor’s name.
            - `address` Address — Address
              - …
          - object — Account details where the plusgiroNumber is required and the bic is optional.
            - `plusgiroNumber` string, required — The unique identifier for the Swedish money transaction system owned by <a href="https://www.nordea.com" target="blank">Nordea</a>.
            - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
            - `name` string, required — The debtor’s account owner name.
            - `ultimateDebtorName` string — The ultimate debtor’s name.
            - `address` Address — Address
              - …
        - TokenizedAccountIdentifier
          - `tokenizedAccountId` string, required — Account on File identifier.
      - `creditor` union, required
        - object — SEPA account details where the iban is required and the bic is optional.
          - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs can be either 8 or 11 characters long.
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — SEPA Instant account details where the iban is required and the bic is optional.
          - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs can be either 8 or 11 characters long.
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — A UK or Irish account where the sort code and account number are required.
          - `accountNumber` string, required — The unique identifier for the bank account in the UK or Ireland.
          - `sortCode` string, required — The number assigned to a branch of a bank, typically containing six digits and most commonly used in the UK and Ireland.
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — Polish account details where the account number is required and the bic is optional.
          - `accountNumber` string, required — The payee's Elixir-registered bank account number.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs can be either 8 or 11 characters long.
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — Polish account details where the iban is required and the bic is optional.
          - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — Account details where the iban is required and the bic is optional.
          - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — Account details where the bban is required and the bic is optional.
          - `bban` string, required — Represents a country-specific bank account number. The BBAN is the last part of the IBAN when used for international funds transfers. Every country has its own specific BBAN format and length. At present, there is no common EU or other standard unifying the BBAN. This is why IBAN was introduced to standardise international bank transfers.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — Account details where the bban is required and the clearing number is optional.
          - `bban` string, required — Represents a country-specific bank account number. The BBAN is the last part of the IBAN when used for international funds transfers. Every country has its own specific BBAN format and length. At present, there is no common EU or other standard unifying the BBAN. This is why IBAN was introduced to standardise international bank transfers.
          - `clearingNumber` string — The bank clearing number or BC number is a number used for the identification of financial institutions in Switzerland and Liechtenstein. Bank clearing numbers are connected to the Swiss Interbank Clearing and the EuroSIC system.
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — Account details where the iban and bban are required and the bic and clearing number are optional. This is ONLY allowed for an HP flow if there is no `bankId` provided in the initiation AND the currency is SEK or NOK.
          - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
          - `bban` string, required — Represents a country-specific bank account number. The BBAN is the last part of the IBAN when used for international funds transfers. Every country has its own specific BBAN format and length. At present, there is no common EU or other standard unifying the BBAN. This is why IBAN was introduced to standardise international bank transfers.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
          - `clearingNumber` string — The bank clearing number or BC number is a number used for the identification of financial institutions in Switzerland and Liechtenstein. Bank clearing numbers are connected to the Swiss Interbank Clearing and the EuroSIC system.
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — Account details where the iban is required and the bic is optional.
          - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — Account details where the bban is required and the bic is optional.
          - `bban` string, required — Represents a country-specific bank account number. The BBAN is the last part of the IBAN when used for international funds transfers. Every country has its own specific BBAN format and length. At present, there is no common EU or other standard unifying the BBAN. This is why IBAN was introduced to standardise international bank transfers.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — Account details where the bban is required and the clearing number is optional.
          - `bban` string, required — Represents a country-specific bank account number. The BBAN is the last part of the IBAN when used for international funds transfers. Every country has its own specific BBAN format and length. At present, there is no common EU or other standard unifying the BBAN. This is why IBAN was introduced to standardise international bank transfers.
          - `clearingNumber` string — The bank clearing number or BC number is a number used for the identification of financial institutions in Switzerland and Liechtenstein. Bank clearing numbers are connected to the Swiss Interbank Clearing and the EuroSIC system.
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — Account details where the iban and bban are required and the bic and clearing number are optional. This is ONLY allowed for an HP flow if there is no `bankId` provided in the initiation AND the currency is SEK or NOK.
          - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
          - `bban` string, required — Represents a country-specific bank account number. The BBAN is the last part of the IBAN when used for international funds transfers. Every country has its own specific BBAN format and length. At present, there is no common EU or other standard unifying the BBAN. This is why IBAN was introduced to standardise international bank transfers.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
          - `clearingNumber` string — The bank clearing number or BC number is a number used for the identification of financial institutions in Switzerland and Liechtenstein. Bank clearing numbers are connected to the Swiss Interbank Clearing and the EuroSIC system.
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — Account details where the bankgiroNumber is required and the bic is optional.
          - `bankgiroNumber` string, required — The unique identifier for the bank account in Sweden (known in Swedish as Bankgironummer), it consists of 7 or 8 digits.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs can be either 8 or 11 characters long.
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — Account details where the plusgiroNumber is required and the bic is optional.
          - `plusgiroNumber` string, required — The unique identifier for the Swedish money transaction system owned by <a href="https://www.nordea.com" target="blank">Nordea</a>.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the SWIFT Address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs are often called SWIFT Codes and can be either 8 or 11 characters long."
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
        - object — The creditor settlement account details.
          - `virtualAccountId` string, required — The unique identifier for the settlement account. This field is mandatory for unregulated TPPs.
          - `name` string, required — The owner's name for the creditor account. This parameter is not required for settlement accounts.
          - `ultimateCreditorName` string — The ultimate creditor's name.
          - `address` Address — Address
            - `addressLine` string[]
            - `streetName` string — Street number
            - `buildingNumber` string — Building number
            - `postCode` string — Post Code
            - `townName` string — Town name
            - `state` string — State
            - `district` string — The district.
            - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `bankName` string — The creditor's bank name.
      - `executionDate` string — This field specifies the future date for executing the payment in <a href="https://www.iso.org/iso-8601-date-and-time-format.html" target="_blank">ISO 8601</a> format.". ***This field is optional and can only be used if the bank supports scheduled payments and the customer has permission to initiate future dated payments.***
      - `confirmFunds` boolean — This field determines whether the bank will carry out a funds confirmation check before accepting the payment. Default = false.
      - `returnRefundAccount` boolean — Supported banks will provide the debtor account details selected by the user during authorization. Default = false.
      - `disableFutureDatedPaymentConversion` boolean — This field determines whether an auto-conversion of a single immediate payment to a future dated payment can be disabled. This may be required if the payment was initiated outside bank working hours. Default = false.
      - `returnTokenizedAccount` boolean — This field generates tokenized account ID for given debtor account details.
      - `callbackUrl` string, required — The TPP's url that Token.io calls back to. This url should not be under the token.io domain and must be https/SSL secure.
      - `callbackState` string — The uniquely-generated string included as part of the URL when communicating with the bank. It is sent to the bank during payment initiation and is also returned in the callback from the bank. You can use it to identify which payment the callback refers to, ensuring that the callback can be reliably matched to the original payment request.
      - `chargeBearer` 'INVALID_CHARGE_BEARER' | 'CRED' | 'DEBT' | 'SHAR' | 'SLEV' — The bearer of the charge, if any, for international transfers. <ul><li><b>CRED</b> - all charges are borne by the creditor.</li> <li><b>DEBT</b> - all charges are borne by the debtor.</li> <li><b>SHAR</b> - the parties share the charges.</li> <li><b>SLEV</b> - each party bears its own charges, recommended on SEPA payments.</li></ul>
      - `risk` Risk — This field is used to specify additional details for the risk scoring of payments.
        - `psuId` string — The merchant's unique customer identifier for the user.
        - `paymentContextCode` 'INVALID_PAYMENT_CONTEXT_CODE' | 'BILLING_GOODS_AND_SERVICES_IN_ADVANCE' | 'BILLING_GOODS_AND_SERVICES_IN_ARREARS' | 'PISP_PAYEE' | 'ECOMMERCE_MERCHANT_INITIATED_PAYMENT' | 'FACE_TO_FACE_POINT_OF_SALE' | 'TRANSFER_TO_SELF' | 'TRANSFER_TO_THIRD_PARTY' — This field describes the context of the payment context. This field is an <a href="https://www.openbanking.org.uk" target="_blank">OBIE</a> standard and also maps to <a href="https://bankio.at/openbanking/knowledge-base/NextGenPSD2" target="_blank">NextGenPsd2</a>'s `purposeCode` and `categoryPurposeCode` fields. We recommend that the TPP populates this field.
        - `paymentPurposeCode` 'CASH' | 'CORT' | 'DVPM' | 'INTC' | 'TREA' | 'SUPP' — The category code conforming to the Recommended UK Purpose Code in the <a href="https://www.iso.org/standard/55005.html" target="_blank">ISO 20022</a> Payment Messaging List, related to the type of services or goods corresponding to the underlying purpose of the payment. This list applies to all banks that follow ISO 20022. <ul><li><b>CASH</b> - CashManagementTransfer</li><li><b>CORT</b> - TradeSettlementPayment</li><li><b>DVPM</b> - DeliveryAgainstPayment</li><li><b>INTC</b> - IntraCompanyPayment</li><li><b>TREA</b> - TreasuryPayment</li><li><b>SUPP</b> - SupplierPayment</li></ul>
        - `merchantCategoryCode` string — The category code conforming to <a href="https://www.iso.org/standard/33365.html" target="_blank">ISO 18245</a>, relating to the type of services or goods provided by the merchant. A list of codes can be purchased <a href="https://www.iso.org/standard/79450.html" target="_blank">here</a>."
        - `beneficiaryAccountType` 'PERSONAL' | 'JOINT_PERSONAL' | 'PERSONAL_SAVINGS_ACCOUNT' | 'BUSINESS' | 'BUSINESS_SAVINGS_ACCOUNT' | 'CHARITY' | 'COLLECTION' | 'CORPORATE' | 'GOVERNMENT' | 'EWALLET' | 'INVESTMENT' | 'ISA' | 'PREMIER' | 'WEALTH' | 'PENSION' — This information should be provided if the `AccountType` is known.
        - `contractPresentIndicator` boolean — This field indicates whether a Payee has a contractual relationship with the Payment Initiation Service Provider (PISP).
        - `beneficiaryPrepopulatedIndicator` boolean — This field indicates whether the Payment Initiation Service Provider (PISP) has immutably prepopulated payment details for the user.
        - `deliveryAddress` DeliveryAddress — Specifies the recipient's delivery address details.
          - `addressLine` string[] — Specifies the delivery address using multiple lines, as necessary.
          - `addressType` 'INVALID_ADDRESS_TYPE' | 'BUSINESS' | 'CORRESPONDENCE' | 'DELIVERYTO' | 'MAILTO' | 'POBOX' | 'POSTAL' | 'RESIDENTIAL' | 'STATEMENT' — Specifies the type of address.
          - `buildingNumber` string — The building number within the delivery address.
          - `country` string — Two-letter country code in upper case (ISO 3166-1 alpha-2).
          - `countrySubDivision` string[] — Identifies a subdivision of a country; for instance, a state, region, or county.
          - `department` string — This <a href="https://openbankinguk.github.io/read-write-api-site3/v3.1.6/resources-and-data-models/pisp/international-payment-consents.html" target="_blank">OBIE specification</a> maps to house number.
          - `postCode` string — An identifier consisting of a group of letters and/or numbers that is added to a postal address to assist the sorting of mail.
          - `streetName` string — The name of the respective street or thoroughfare in which the dwelling or business is located or where mail is received.
          - `subDepartment` string — This <a href="https://openbankinguk.github.io/read-write-api-site3/v3.1.6/resources-and-data-models/pisp/international-payment-consents.html" target="_blank">OBIE specification</a> maps to flats.
          - `townName` string — The name of a built-up area with defined boundaries and a local government.
      - `flowType` 'API_ONLY' | 'FULL_HOSTED_PAGES' | 'EMBEDDED_HOSTED_PAGES', required — The integration option requested by the TPP. <ul><li><b>API_ONLY</b> - This is the default. The TPP owns the user experience including bank selection logic, collection of mandatory fields, and embedded and decoupled authentication methods. This option is only used for API-only integrations.</li><li><b>FULL_HOSTED_PAGES</b> - The TPP uses Token.io’s hosted pages to manage the full bank selection and credential collection (if relevant) of the payment initiation experience. This option is only used for Hosted Pages integrations.</li><li><b>EMBEDDED_HOSTED_PAGES</b> - The TPP uses Token.io’s hosted pages to manage the credential collection (if relevant) of the payment initiation experience. bankId is required when EMBEDDED_HOSTED_PAGES is selected as the `flowType`. This option is only used for API-only integrations.</li></ul>
      - `externalPsuReference` string — An external reference provided by the TPP (Third Party Provider) to uniquely identify the PSU (Payment Service User).
    - `convertedToFutureDatedPayment` boolean — This field indicates whether a payment has been converted from a single immediate payment to a future dated payment. This can happen if the payment is initiatied outside bank working hours and `paymentInitiation.disableFutureDatedPaymentConversion` = false.
    - `refundDetails` RefundDetails — The refund-related information for this payment. This field requires specific permission and is only available if `paymentInitiation.returnRefundAccount` is set to `true`.
      - `refundAccount` union, required
        - object — SEPA Instant account details where the iban is required and the bic is optional.
          - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs can be either 8 or 11 characters long.
          - `name` string — The name of the account owner.
        - object — SEPA account details where the iban is required and the bic is optional.
          - `iban` string, required — The International Bank Account Number, used when sending interbank transfers or wiring money from one bank to another, especially across international borders. It consists of a two-letter country code followed by two check digits and up to thirty-five alphanumeric characters.
          - `bic` string — The Business Identifier Code (BIC), <a href="https://www.iso.org/standard/84108.html" target="_blank">ISO 9362</a>, is the address assigned to a bank in order to send automated payments quickly and accurately to the banks concerned. It uniquely identifies the name and country, (and sometimes the branch) of the bank involved. BICs can be either 8 or 11 characters long.
          - `name` string — The name of the account owner.
        - object — A UK or Irish account where the sort code and account number are required.
          - `accountNumber` string, required — The unique identifier for the bank account in the UK or Ireland.
          - `sortCode` string, required — The number assigned to a branch of a bank, typically containing six digits and most commonly used in the UK and Ireland.
          - `name` string — The name of the account owner.
      - `paymentRefundStatus` 'NONE' | 'PARTIAL' | 'FULL' — The refund status for this payment.
      - `settledRefundAmount` object — The transaction amount and currency.
        - `value` string, required — The transaction amount with up to four digits after the decimal point.
        - `currency` string, required — The <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank">ISO 4217</a> three letter currency code.
      - `remainingRefundAmount` object — The transaction amount and currency.
        - `value` string, required — The transaction amount with up to four digits after the decimal point.
        - `currency` string, required — The <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank">ISO 4217</a> three letter currency code.
    - `status` 'INITIATION_PENDING' | 'INITIATION_PENDING_REDIRECT_AUTH' | 'INITIATION_PENDING_REDIRECT_AUTH_VERIFICATION' | 'INITIATION_PENDING_REDIRECT_HP' | 'INITIATION_PENDING_REDIRECT_PBL' | 'INITIATION_PENDING_EMBEDDED_AUTH' | 'INITIATION_PENDING_EMBEDDED_AUTH_VERIFICATION' | 'INITIATION_PENDING_DECOUPLED_AUTH' | 'INITIATION_PENDING_REDEMPTION' | 'INITIATION_PENDING_REDEMPTION_VERIFICATION' | 'INITIATION_PROCESSING' | 'INITIATION_COMPLETED' | 'INITIATION_REJECTED' | 'INITIATION_REJECTED_INSUFFICIENT_FUNDS' | 'INITIATION_FAILED' | 'INITIATION_DECLINED' | 'INITIATION_EXPIRED' | 'INITIATION_NO_FINAL_STATUS_AVAILABLE' | 'SETTLEMENT_IN_PROGRESS' | 'SETTLEMENT_COMPLETED' | 'SETTLEMENT_INCOMPLETE' | 'CANCELED', required — The Token.io Payment Status: <ul><li><b>INITIATION_PENDING</b> - Token.io has received the payment initiation and the initiation has passed Token.io's validation. No action is required; await the bank's response for the next step, <i>e.g.</i>, a webhook with the status update, or poll the payment.</li><li><b>INITIATION_PENDING_REDIRECT_AUTH</b> - The payment request has been acknowledged by the bank and Token.io is awaiting user confirmation on the bank's page. If Token.io's Hosted Pages is not in use, you'll need to redirect the user to the url found in the authentication field and await a callback from the bank (if you're handling callbacks) or from Token.io (if Token.io handles the callbacks for you).</li><li><b>INITIATION_PENDING_REDIRECT_PBL</b> – The payment session has been initialized and the PSU has opened the Pay by Link URL. At this stage, Token.io’s Hosted Pages will collect any missing mandatory information (such as amount or reference) from the user before continuing with the payment initiation process.</li> <li><b>INITIATION_PENDING_REDIRECT_AUTH_VERIFICATION</b> - Token.io has received the callback information from the bank and is currently verifying it with the bank. No action is required; await the bank's response for the next step, <i>e.g.</i>, a webhook with the status update, or poll the payment.</li><li><b>INITIATION_PENDING_REDIRECT_HP</b> - This status can only be observed if you're using Token.io's Hosted Pages. You'll need to redirect the user to the url found in the authentication field and await a callback from Token.io's Hosted Pages after Token.io handles the entire flow for you.</li><li><b>INITIATION_PENDING_EMBEDDED_AUTH</b> - Token.io is waiting for the requested input from the user. If Token.io's Hosted Pages is not in use, you must provide the requested information to process the payment. Required information can be found in the authentication object of the payment.</li><li><b>INITIATION_PENDING_EMBEDDED_AUTH_VERIFICATION</b> - Token.io is waiting for the bank to process the provided information. No action is required; await the bank's response for the next step, <i>e.g.</i>, a webhook with the status update, or poll the payment.</li><li><b>INITIATION_PENDING_DECOUPLED_AUTH</b> - Token.io is polling status from the bank while the user authenticates in a decoupled way. No action is required; await the bank's response for the next step, <i>e.g.</i>, a webhook with the status update, or poll the payment.</li><li><b>INITIATION_PENDING_REDEMPTION</b> - The payment is ready for a redemption. No action is required; await the bank's response for the next step, <i>e.g.</i>, a webhook with the status update, or poll the payment.</li><li><b>INITIATION_PENDING_REDEMPTION_VERIFICATION</b> - Token.io is waiting for the bank to redeem the payment. No action is required; await the bank's response for the next step, <i>e.g.</i>, a webhook with the status update, or poll the payment.</li><li><b>INITIATION_PROCESSING</b> - The payment initiation request has been acknowledged by the bank and is now being processed. No action is required; await the bank's response for the next step, <i>e.g.</i>, a webhook with the status update, or a polling call. If necessary wait for additional webhooks to be sent. If a webhook is not received, then use a polling call every 120 min. The status can be updated to one of `INITIATION_COMPLETED`, `INITIATION_REJECTED`, `INITIATION_NO_FINAL_STATUS_AVAILABLE` or `INITIATION_EXPIRED` (if the status polling period is exhausted).</li><li><b>INITIATION_COMPLETED</b> - The final status (usually) indicating that the payment initiation request has been successfully completed. This doesn't guarantee that the payment is settled.</li><li><b>INITIATION_REJECTED</b> - The final status indicating that the payment initiation request has been rejected by the bank. More details are shared in the corresponding `statusReasonInformation` field.</li><li><b>INITIATION_REJECTED_INSUFFICIENT_FUNDS</b> - The final status indicating that the payment initiation request has been rejected due to insufficient funds.</li><li><b>INITIATION_FAILED</b> - The final status indicating that Token.io failed to proceed with the initiation due to problems with reaching the bank, or because payment authentication has not been completed within the allowed time period. More details are shared in the corresponding `statusReasonInformation` field.</li><li><b>INITIATION_DECLINED</b> - The final status indicating that the payment initiation request has been declined, in most cases actively by the user.</li><li><b>INITIATION_EXPIRED</b> - The final status, indicating that the bank has not responded to the payment initiation request within the allowed time period.</li><li><b>INITIATION_NO_FINAL_STATUS_AVAILABLE</b> - Payment status has not been updated for some time and Token.io has given up polling it. This is a final status, but it does not indicate success or failure. Please contact the bank to check the actual status of the payment.</li><li><b>SETTLEMENT_IN_PROGRESS</b> - This status is provided when a Token.io settlement account is used as the beneficiary for the payment, and replaces the payment initiation status. Token.io is waiting for the payment to reach the payee bank. No action is required; await the next step, <i>e.g.</i>, Token.io sends a webhook with the status update, or a polling call. The status will change to `SETTLEMENT_IN_PROGRESS` soon after receives the final status from the debtor bank.</li><li><b>SETTLEMENT_COMPLETED</b> - This status is provided when a Token.io settlement account is used as the beneficiary for the payment, and replaces the payment initiation status. The payment has reached the payee bank and Token.io has matched the transaction in the TPP’s settlement account to the initiated payment. For instant payments, `SETTLEMENT_COMPLETED` will be achieved within 30-45 minutes from payment initiation, at the latest. For non-instant payments, the time to reach `SETTLEMENT_COMPLETED` will depend on the clearing period for the payment.</li><li><b>SETTLEMENT_INCOMPLETE</b> – This status is provided when a Token.io settlement account is used as the beneficiary for the payment, and replaces the payment initiation status. Reconciliation has failed. This happens when Token.io doesn't find the corresponding transaction in the TPP’s settlement account automatically.</li><li><b>CANCELED</b> – The final status indicating that the payment has been canceled.</li></ul><br/>During settlement of a settlement accounts payment, the status update job will run first for up to 30 days. Payment will then enter into a 'final' status, normally `INITIATION_COMPLETED`.<br/>Once the status update job has run, the reconciliation job looks for matching inbound payments.<br/>For SEPA payments:<ul><li>if a matching inbound payment is found within 15 days of the final payment status update -> `SETTLEMENT_COMPLETED`</li><li>if no matching inbound payment is found within 15 days of the final payment status update -> `SETTLEMENT_INCOMPLETE`</li></ul>For SEPA Instant payments:<ul><li>if a matching inbound payment is found within 1 day of the final payment status update -> `SETTLEMENT_COMPLETED`</li><li>if no matching inbound payment is found within 1 day of the final payment status update -> `SETTLEMENT_INCOMPLETE`</li></ul>
    - `statusReasonInformation` string — A human-readable description of the reason for the reported status, which may include a message from the bank. This value should not exceed 256 characters in length.
    - `bankPaymentStatus` string — The raw bank status. This can be the <a href="https://www.iso20022.org/" target="_blank">ISO 20022</a> payment status code. See <a href="https://developer.token.io/token_rest_api_doc/content/e-rest/iso-20022-statuses.htm" target="_blank">ISO 20022 payment status codes</a> for more information. This field can be empty if no payment status is available on bank side.
    - `bankPaymentId` string — The payment id from the bank. Not all banks provide this. This field can be left empty if information is not available from the bank side.
    - `bankTransactionId` string — The transaction id from the bank when the transaction is settled. Not all banks provide this. This field can be left empty if information is not available from the bank.
    - `bankVrpId` string — Present only if payment is VRP. The VRP id from the bank. This field can be empty if the VRP id isn't available on the bank's side.
    - `bankVrpStatus` string — Present only if payment is VRP. The raw bank status. This field can be empty if payment status isn't available on the bank's side.
    - `authentication` union — The authentication operation required to proceed with payment creation. This is present when additional steps are required to authorize the payment.
      - object
        - `redirectUrl` string, required — The url used to redirect the user to in order to authorize the consent creation. This should be populated if the payment status is `INITIATION_PENDING_REDIRECT_AUTH`.<br/> If the status is: `INITIATION_PENDING_REDIRECT_AUTH`, the authentication object should have the `redirectUrl`. Redirect the user to this url in order to proceed with the flow.<br/>If the status is: `INITIATION_PENDING_REDIRECT_PBL`, the authentication object will contain the payment link (redirect url). Redirect the user to this url to initiate the Pay by Link Hosted Pages flow, where any missing information (such as amount or reference) can be collected before proceeding with payment authentication.<br/> If the TPP is responsible for handling the callbacks, the bank will callback to the TPP's callbackUrl provided in the payment initiation, after the user finishes authentication at the bank. Send the query of the bank's callback url to Token.io via the `POST /callback/initiation` endpoint to proceed with the flow.<br/> Otherwise Token.io will receive the callback from the bank and callback the TPP when the bank callback is processed. Fetch the payment object and check its status for further steps, if any.
      - object — Information and fields presented to the user in order to collect the requested data. This should be populated if the payment status is `INITIATION_PENDING_EMBEDDED_AUTH`.<br/> If the status is: INITIATION_PENDING_EMBEDDED_AUTH, the authentication object should list the required embedded fields. Collect the data from the user and provide it using POST /v2/payments/{paymentId}/embedded-auth to proceed with the flow.
        - `description` string — The text displayed to a user. This should contain the instructions the user needs to proceed with the authentication.
        - `image` string — A Base64 representation of an image displayed to the user.
        - `flickerCode` string — The Flicker code displayed to the user.
        - `fields` RequiredField[], required — The required fields. The values for these are collected from the user.
          - `type` 'FIELD' | 'PASSWORD' | 'CHOICE_FIELD', required — The `type` determines how the field is presented to the user. <ul><li><b>FIELD</b> - displays a form with a text input field; use `displayName` value to add a label.</li><li><b>PASSWORD</b> - displays a form with a password input field; use `displayName` value to add a label.</li><li><b>CHOICE_FIELD</b> - displays a form that allows the user to choose one of the provided options; use `displayName` value to add a label.</li></ul>
          - `id` string, required — The ID used when passing the value of this field to Token.io.
          - `displayName` string, required — The name of the requested field displayed to the user.
          - `additionalInformation` string — Additional information about this field.
          - `options` string[] — A list of options for the user to select from. For example, it can be an SCA method choice (SMS message, phone call <i>etc</i>.), or confirm/decline options for a confirmation page. The customer sends one of the values back to Token.io with the corresponding id.
        - `isRetry` boolean — This field indicates whether the previously submitted values are incorrect and whether the user needs to retry. If `isRetry` = true, the values are resubmitted. Default = false.
    - `createdDateTime` string, required — The date and time this payment object was created (in <a href="https://www.iso.org/iso-8601-date-and-time-format.html" target="_blank">ISO 8601</a> format).
    - `updatedDateTime` string, required — The date and time this payment object was last updated (in <a href="https://www.iso.org/iso-8601-date-and-time-format.html" target="_blank">ISO 8601</a> format).
    - `errorInfo` ErrorInfo — This field will be populated if the status is final and the payment is not successful, or there has been an error that caused payment rejection, or the bank could not be reached to get a status update.
      - `httpErrorCode` integer, required — The HTTP error code.
      - `message` string — The message accompanying the HTTP error code.
      - `tokenExternalError` boolean — Is set to `true` the error is external, <i>e.g.</i>, a 5xx error resulting from the bank. This field can be populated as a result of both 4xx and 5xx errors. We recommend that you only rely on it for 5xx errors.
      - `tokenTraceId` string — The unique trace identifier, captured from the originating request and sent to the bank to be stored with the request throughout its lifecycle. It serves primarily as an audit-trail aid, for debugging the message exchange flow during sandbox testing, and for issue resolution in production.
    - `paymentLinkStatus` 'LINK_ACTIVE' | 'LINK_EXPIRED' | 'LINK_CANCELED' | 'LINK_REDEEMED' — If the payment was initiated using a Pay by Link flow type, this shows the status of the payment link. For all other flows, this field is empty. <ul><li><b>LINK_ACTIVE</b> – The payment link is active and can be used to initiate a payment.</li><li><b>LINK_EXPIRED</b> – The payment link has expired and can no longer be used.</li><li><b>LINK_CANCELED</b> – The payment link has been canceled by the TPP or system and cannot be used.</li><li><b>LINK_REDEEMED</b> – The payment link has been redeemed and the payment has been initiated.</li></ul>
  - `pageInfo` PageInfo, required — The information about the current page, which also indicates whether the next page exists.
    - `limit` integer, required — The limit (maximum number of objects to return) applied to this page. <br/>The default and maximum allowed limit is 200. If this limit is exceeded, was not set or was set to 0, it will be set to 200.
    - `offset` string — The offset for the current page. If the offset has been provided in the request, this offset will be equal to the provided one. But if no offset is provided in the request (<i>i.e.</i> this is the first page) and the page is not empty, this field will be populated with a non-empty string. This may be helpful for loading the same page again, which might not always be possible with an empty offset due to the dynamic nature of the data. <br/>The offset is opaque to a user and should not be parsed and/or understood in any way.
    - `nextOffset` string — The offset for the next page. If the page is empty, it is equal to this page offset. If the page is not empty, but there are no more objects to load (haveMore = false), it will be empty.<br/>The offset is opaque to a user and should not be parsed and/or understood in any way.
    - `haveMore` boolean — This field indicates whether there are more objects to load, <i>i.e.</i> whether the next page exists.

## Other responses

- `400` — The client specified an invalid argument.
- `401` — The authorization information is missing or invalid
- `500` — An unexpected or internal server error

---

[API](https://skmtc.net/token/apis/token-io-s-open-banking-api-for-tpps.md) · [All operations](https://skmtc.net/token/apis/token-io-s-open-banking-api-for-tpps/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/token/token-io-s-open-banking-api-for-tpps/versions/5e8d6d2c24a1/schema)
