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

> ## Agent Instructions
> Use the Payrails Web SDK v6 for new browser integrations. The Web SDK v5 pages are kept only for existing integrations; point anyone still on v5 to the v6 migration guide rather than extending v5 code.
> Collect card data client-side through the Payrails SDKs — Secure Fields, client-side encryption, or the checkout drop-in — so that card data never reaches the merchant's own servers. Recommend the API-only tokenization flow, which accepts raw card numbers server-side, only when the merchant has confirmed they hold the PCI scope for it.
> Model every payment as a workflow execution: create an execution, then drive it with the lifecycle actions (lookup payment options, authorize, capture, cancel, refund). Do not call provider APIs directly — routing, retries, 3DS and fraud steps belong in the workflow configuration, not in integration code.
> Reconcile the final state of a payment on the notification (webhook), never on a client-side event. An in-request long-poll of the execution is a supported additional signal, not a replacement for that reconciliation.
> Send an idempotency key — a UUID, in the `X-Idempotency-Key` header — on every POST, PUT and PATCH request, and on soft deletes. GET requests need none, and hard deletes cannot be idempotent.
> Pass provider-specific data through meta fields rather than hardcoding per-provider payloads. Payrails translates meta fields into each provider's own format.
> Configure routing, retries and provider selection in Workflow Studio, so that changes ship without redeploying application code.

# Create an instrument

> Create a payment instrument.



## OpenAPI

````yaml https://cdn.payrails.io/docs/api/openapi.min.json post /payment/instruments
openapi: 3.1.0
info:
  version: 1.3.15
  title: Payrails API Reference
  contact:
    name: Payrails
    url: https://www.payrails.com
    email: tech@payrails.com
  license:
    name: Payrails GmbH
    url: https://www.payrails.com/
  description: >
    ---

    Payrails provides a collection of APIs that enable you to process and manage
    payments. Our APIs accept and return JSON in the HTTP body, and return
    standard HTTP response codes. You can consume the APIs directly using your
    favorite HTTP/REST library.
servers:
  - url: https://api.staging.payrails.io
    description: Payrails environment.
security:
  - ApiKey: []
tags:
  - name: 3D Secure
    description: Operations to monitor 3DS operations.
  - name: Actions
    description: >-
      A workflow execution action is a predefined interaction that can be
      triggered to change the state of the workflow execution. For example
      authorizing or refunding a payment.
  - name: API Logs
    description: API Logs.
  - name: Authentication
    description: >-
      Payrails API is secured via [OAuth
      2.0](https://datatracker.ietf.org/doc/html/rfc6749) industry-standard
      protocol for authorization. Server-side requests are authenticated using a
      [Bearer Token](https://datatracker.ietf.org/doc/html/rfc6750) in the
      request `Authorization` header.
  - name: BIN Lookup
    description: >-
      Operations related to getting information about a card by its BIN (or
      IIN).
  - name: Client
    description: Endpoints used by our client-side SDK.
  - name: Disputes
    description: Operations to managing disputes.
  - name: Drop-in Links
    description: >-
      Create and manage drop-in payment links that can be shared with payers.
      Drop-in links support full or partial payments, define the total amount
      and expiration, and return a public URL that merchants can send to
      customers.
  - name: Executions
    description: >-
      A workflow execution is an act of performing a set of tasks that are
      defined in the
      [Workflow](/api-reference/reference/#operation/listDefaultWorkflows) such
      as accepting payments.
  - name: Files
    description: Operations related to files processing
  - name: Fraud Checks
    description: >-
      A Fraud check Payrails is a collection of operations over time, that is
      created by a workflow execution and followed by the workflow actions. In
      this section, you can list all the fraud entities or a single one to learn
      about the details of involved instruments, providers, statuses, decisions
      and more.
  - name: Holders
    description: >-
      A Holder is a group of accounts that belong together with specific
      criteria, linked to their payment instruments and identities. For example,
      it can represent a digital wallet for a person, where they store balance
      that they top up, refunded orders, referral bonuses, etc.
  - name: Instrument Tokens
    description: >-
      Tokens are representations of our payment instruments in external
      providers. One payment instrument can have many tokens, because we keep
      the mapping in each external provider that knows about it. For example,
      the same real life card can have a token in our Vault, but also in Adyen
      and Checkout PSPs.
  - name: Instruments
    description: >-
      Payment instruments are specific instances of a payment method that belong
      to the holder executing the workflow. They can be a previously stored
      card, a new card that was typed in a form, a phone number, an IBAN, or
      some way to fetch an account in a provider (like PayPal or AliPay).
  - name: Payments
    description: >-
      A [Payment](/guides/whats-payrails/payments/) in Payrails is a collection
      of operations over time, that is created by a workflow execution and
      followed by the workflow actions. In this section, you can list all the
      payments or a single one to learn about the details of involved payment
      methods, instruments, providers, statuses and more.
  - name: Payouts
    description: Payouts are money movements paid to an external party.
  - name: Provider Configs
    description: Operations related to managing configurations for Providers.
  - name: Providers
    description: Operations related to managing Providers.
  - name: Reconciliation Records
    description: >-
      Operations to retrieve reconciliation record aggregates, transactions, and
      reconciliation metadata.
  - name: Report Runs
    description: Operations to generate and retrieve report runs.
  - name: Reports
    description: Operations to see available reports.
  - name: Rulesets
    description: Operations related to managing Rulesets.
  - name: SSO Connections
    description: Operations related to managing SSO identity provider connections.
  - name: Vault Display SDK
    description: Operations related to DisplaySDK.
  - name: Vault Instant Proxy
    description: Operations related to Instant Proxy API requests.
  - name: Vault Proxy Connections
    description: Operations related to managing token connections.
  - name: Vault Public Encryption
    description: Public endpoints related to encryption.
  - name: Vault Records and Aliases
    description: Operations related to managing records and aliases.
  - name: Workflows
    description: >-
      Any operation in Payrails is defined and executed with a
      [Workflow](/guides/whats-payrails/workflow/) that is configured for a
      particular use-case of the merchant. The workflow configurations support
      versioning.
  - name: Workspaces
    description: Operations related to managing workspaces.
paths:
  /payment/instruments:
    post:
      tags:
        - Instruments
      summary: Create an instrument
      description: Create a payment instrument.
      operationId: createInstrument
      parameters:
        - name: x-idempotency-key
          in: header
          description: >
            Idempotency key to be used.

            Sending again the same key would return the same result without
            re-executing the update.
          required: true
          schema:
            type: string
            format: uuid
          example: 91874e4d-81e9-4486-aee4-ee1de84da890
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - paymentMethod
              properties:
                holderId:
                  type: string
                  format: uuid
                  description: >-
                    Unique identifier of the Holder in Payrails. At least one of
                    `holderId` or `holderReference` values have to be provided
                    in the request.
                holderReference:
                  type: string
                  description: >-
                    Merchant-provided reference for the transaction
                    counterparty, i.e. the paying consumer. At least one of
                    `holderReference` or `holderId` values have to be provided
                    in the request.
                paymentMethod:
                  type: string
                  description: Represents the payment method type.
                  enum:
                    - googlePay
                    - applePay
                    - card
                    - payPal
                    - bankAccount
                    - iDeal
                    - bancontact
                    - mbWay
                    - klarnaPayLater
                    - klarnaPayNow
                    - klarnaPayOverTime
                futureUsage:
                  type: string
                  description: >-
                    Represents the future usage to define the payment flows that
                    the stored instrument will be used for.
                  enum:
                    - Subscription
                    - CardOnFile
                    - UnscheduledCardOnFile
                description:
                  type: string
                  description: Human-friendly description of the Instrument.
                  example: Main card, mom's card, company card
                merchantReference:
                  type: string
                  description: Merchant-provided reference for the instrument.
                networkTransactionReference:
                  type: string
                  description: >-
                    Identifier of the initial payment made with this instrument
                    on the Networks, e.g. Mastercard Trace ID or Visa
                    Transaction ID.
                transactionLinkId:
                  type: string
                  description: >-
                    Mastercard Transaction Link Identifier (TLID) of the
                    transaction series this instrument belongs to. Returned by
                    the card network on the initial cardholder-initiated
                    transaction and required on economically related
                    merchant-initiated transactions, such as recurring payments
                    and installments, when the series spans payment providers.
                storeInstrument:
                  type: boolean
                  description: >-
                    True if the holder wants to store the instrument for future
                    use when payment is completed.
                default:
                  type: boolean
                  description: True if the holder wants to make this instrument as default.
                  nullable: true
                workspaceId:
                  type: string
                  format: uuid
                  description: >-
                    Workspace identifier. When a merchant has multiple network
                    token provider configs, this determines which
                    workspace-scoped config is used for network token
                    provisioning.
                provisionNetworkToken:
                  type: boolean
                  description: >-
                    True if the merchant wants to provision a network token for
                    this instrument.
                data:
                  description: Type-specific information about the instrument.
                  anyOf:
                    - title: Card
                      type: object
                      description: Data specific to a Card instrument.
                      required:
                        - network
                        - bin
                        - suffix
                      properties:
                        network:
                          type: string
                          description: Network of the instrument.
                          enum:
                            - unspecified
                            - visa
                            - visadankort
                            - mastercard
                            - amex
                            - diners
                            - discover
                            - unionpay
                            - unionpayuzcard
                            - maestro
                            - maestrobancontact
                            - hipercard
                            - jcb
                            - jcblankapay
                            - argencard
                            - aura
                            - belkart
                            - bpfuelcard
                            - cabal
                            - carnet
                            - cirrus
                            - chjonesfuelcard
                            - uzcard
                            - codensa
                            - dankort
                            - dinacard
                            - duet
                            - ebt
                            - eftpos
                            - elo
                            - euroshellfuelcard
                            - gecapital
                            - bc
                            - hrgstore
                            - humo
                            - lankapay
                            - lukoilfuelcard
                            - bancontact
                            - meeza
                            - newday
                            - mir
                            - ourocard
                            - pagobancomat
                            - paypak
                            - paypal
                            - phhfuelcard
                            - prostir
                            - rupay
                            - sbercard
                            - sodexo
                            - starrewards
                            - cencosud
                            - naranja
                            - troy
                            - uatp
                            - ukfuelcard
                            - verve
                            - voyager
                            - vpay
                            - wex
                            - cmi
                            - atm
                            - bankcard
                            - localbrand
                            - loyalty
                            - privatelabel
                            - fuelcard
                            - redfuelcard
                            - redliquidfuelcard
                        preferredScheme:
                          type: string
                          description: Network of the instrument.
                          enum:
                            - unspecified
                            - visa
                            - visadankort
                            - mastercard
                            - amex
                            - diners
                            - discover
                            - unionpay
                            - unionpayuzcard
                            - maestro
                            - maestrobancontact
                            - hipercard
                            - jcb
                            - jcblankapay
                            - argencard
                            - aura
                            - belkart
                            - bpfuelcard
                            - cabal
                            - carnet
                            - cirrus
                            - chjonesfuelcard
                            - uzcard
                            - codensa
                            - dankort
                            - dinacard
                            - duet
                            - ebt
                            - eftpos
                            - elo
                            - euroshellfuelcard
                            - gecapital
                            - bc
                            - hrgstore
                            - humo
                            - lankapay
                            - lukoilfuelcard
                            - bancontact
                            - meeza
                            - newday
                            - mir
                            - ourocard
                            - pagobancomat
                            - paypak
                            - paypal
                            - phhfuelcard
                            - prostir
                            - rupay
                            - sbercard
                            - sodexo
                            - starrewards
                            - cencosud
                            - naranja
                            - troy
                            - uatp
                            - ukfuelcard
                            - verve
                            - voyager
                            - vpay
                            - wex
                            - cmi
                            - atm
                            - bankcard
                            - localbrand
                            - loyalty
                            - privatelabel
                            - fuelcard
                            - redfuelcard
                            - redliquidfuelcard
                        bin:
                          type: string
                          minLength: 6
                          maxLength: 8
                          description: >-
                            First 6-8 digits of the Card number. Also known as
                            IIN (Issuer Identification Number).
                          example: '416598'
                        binLookup:
                          description: >-
                            Information about an issuer by the given BIN (or
                            IIN).
                          type: object
                          required:
                            - bin
                          properties:
                            bin:
                              type: string
                              minLength: 6
                              maxLength: 8
                              description: >-
                                First 6-8 digits of the Card number. Also known
                                as IIN (Issuer Identification Number).
                              example: '416598'
                            network:
                              type: string
                              description: Network of the instrument.
                              enum:
                                - unspecified
                                - visa
                                - visadankort
                                - mastercard
                                - amex
                                - diners
                                - discover
                                - unionpay
                                - unionpayuzcard
                                - maestro
                                - maestrobancontact
                                - hipercard
                                - jcb
                                - jcblankapay
                                - argencard
                                - aura
                                - belkart
                                - bpfuelcard
                                - cabal
                                - carnet
                                - cirrus
                                - chjonesfuelcard
                                - uzcard
                                - codensa
                                - dankort
                                - dinacard
                                - duet
                                - ebt
                                - eftpos
                                - elo
                                - euroshellfuelcard
                                - gecapital
                                - bc
                                - hrgstore
                                - humo
                                - lankapay
                                - lukoilfuelcard
                                - bancontact
                                - meeza
                                - newday
                                - mir
                                - ourocard
                                - pagobancomat
                                - paypak
                                - paypal
                                - phhfuelcard
                                - prostir
                                - rupay
                                - sbercard
                                - sodexo
                                - starrewards
                                - cencosud
                                - naranja
                                - troy
                                - uatp
                                - ukfuelcard
                                - verve
                                - voyager
                                - vpay
                                - wex
                                - cmi
                                - atm
                                - bankcard
                                - localbrand
                                - loyalty
                                - privatelabel
                                - fuelcard
                                - redfuelcard
                                - redliquidfuelcard
                            localNetwork:
                              description: >-
                                Card local network that supports the card, e.g.
                                CartesBancaires, Dankort, Mada, Bancontact.
                              type: string
                              enum:
                                - bancontact
                                - cartesbancaires
                                - dankort
                                - mada
                            issuer:
                              type: string
                              description: >-
                                Name of the bank or institution that issued the
                                card.
                            issuerCountry:
                              description: >-
                                Country of the bank or institution that issued
                                the card.
                              type: object
                              required:
                                - code
                              properties:
                                code:
                                  type: string
                                  description: ISO 3166-1 alpha-2 country code.
                                  pattern: ^[A-Z]{2}$
                                iso3:
                                  type: string
                                  description: >-
                                    ISO 3-letter country code. Returned by
                                    Payrails, but not interpreted in requests.
                                  pattern: ^[A-Z]{3}$
                                name:
                                  type: string
                                  description: >-
                                    The English name of the country. Returned by
                                    Payrails, but not interpreted in requests.
                            segment:
                              type: string
                              description: Segment of the card, e.g. gold, black, business.
                            type:
                              type: string
                              description: >-
                                Type of the card, e.g. credit, debit, prepaid,
                                gift.
                            typeDetails:
                              type: string
                              description: >-
                                More information about the card type, e.g.
                                personal, commercial.
                            isNetworkToken:
                              type: boolean
                              description: >
                                Indicates whether the card credential represents
                                a network token rather than a primary account
                                number (PAN).
                            isFlexCard:
                              type: boolean
                              description: >
                                Indicates whether the card is enrolled in a
                                Flexible Credential or Flex Card program
                                supported by the network - e.g. Visa Flexible
                                Credential, Mastercard FlexCard.
                        billingAddress:
                          description: Billing Address of the instrument.
                          type: object
                          properties:
                            street:
                              type: string
                              description: The name of the street of a postal address.
                            doorNumber:
                              type: string
                              description: The number on the door, building, or room.
                            complement:
                              type: string
                              description: >-
                                Additional addressing information, 2nd line of
                                postal address.
                            area:
                              type: string
                              description: The name of the suburb or area within a city.
                            city:
                              type: string
                              description: The name of the city of a postal address.
                            postalCode:
                              type: string
                              description: The postal code.
                            state:
                              type: string
                              description: The name of the state a postal address is in.
                            country:
                              description: The country where the address is in.
                              type: object
                              required:
                                - code
                              properties:
                                code:
                                  type: string
                                  description: ISO 3166-1 alpha-2 country code.
                                  pattern: ^[A-Z]{2}$
                                iso3:
                                  type: string
                                  description: >-
                                    ISO 3-letter country code. Returned by
                                    Payrails, but not interpreted in requests.
                                  pattern: ^[A-Z]{3}$
                                name:
                                  type: string
                                  description: >-
                                    The English name of the country. Returned by
                                    Payrails, but not interpreted in requests.
                            latitude:
                              type: number
                              format: float
                              description: >-
                                Latitude of the address in the GPS coordinate
                                system.
                            longitude:
                              type: number
                              format: float
                              description: >-
                                Longitude of the address in the GPS coordinate
                                system.
                            phone:
                              description: >-
                                The phone to contact in the address (can be
                                different that the customer's).
                              type: object
                              required:
                                - number
                              properties:
                                countryCode:
                                  type: string
                                  pattern: ^\+?[0-9]+$
                                  description: >-
                                    International prefix of the phone, if known
                                    separately.
                                number:
                                  type: string
                                  pattern: ^[0-9]+$
                                  description: >-
                                    The local number of the phone, such that
                                    `countryCode` + `number` can be dialed.
                            alias:
                              type: string
                              description: Name of the address, e.g. home, work.
                            name:
                              type: string
                              description: >-
                                Name of the person to whom the address belongs
                                to.
                            lastName:
                              type: string
                              description: >-
                                Last name of the person to whom the address
                                belongs to.
                            email:
                              type: string
                              description: >-
                                Email of the person to whom the address belongs
                                to.
                        suffix:
                          type: string
                          minLength: 4
                          maxLength: 4
                          description: Last digits of the Card number.
                        expiryMonth:
                          type: string
                          minLength: 2
                          maxLength: 2
                          description: Expiry month of the Card.
                        expiryYear:
                          type: string
                          minLength: 4
                          maxLength: 4
                          description: Expiry year of the Card.
                        holderName:
                          type: string
                          description: Name of the owner of the Card.
                        taxId:
                          type: string
                          description: >-
                            Payer-provided tax identification number (e.g. CPF
                            in Brazil) collected on the instrument.
                    - title: EncryptedCard
                      type: object
                      description: Encrypted card details.
                      required:
                        - encryptedData
                      properties:
                        encryptedData:
                          type: string
                          description: >
                            Encrypted sensitive payment details for the
                            instrument tokenization.

                            The instrument details should be encrypted with the
                            RSA public key provided by Payrails SDK using JWE
                            with encryption algorithm RSA-OAEP-256 and content
                            encryption A256CBC-HS512.
                        encryptedDataType:
                          type: string
                          enum:
                            - card
                            - networkToken
                          description: >-
                            Type of token provided in the encyrptedData. e.g.
                            'card' when tokenizing fpan, 'network token' when
                            tokenizing dpan or network token.
                          nullable: true
                        billingAddress:
                          type: object
                          description: Information about a physical address.
                          properties:
                            street:
                              type: string
                              description: The name of the street of a postal address.
                            doorNumber:
                              type: string
                              description: The number on the door, building, or room.
                            complement:
                              type: string
                              description: >-
                                Additional addressing information, 2nd line of
                                postal address.
                            area:
                              type: string
                              description: The name of the suburb or area within a city.
                            city:
                              type: string
                              description: The name of the city of a postal address.
                            postalCode:
                              type: string
                              description: The postal code.
                            state:
                              type: string
                              description: The name of the state a postal address is in.
                            country:
                              description: The country where the address is in.
                              type: object
                              required:
                                - code
                              properties:
                                code:
                                  type: string
                                  description: ISO 3166-1 alpha-2 country code.
                                  pattern: ^[A-Z]{2}$
                                iso3:
                                  type: string
                                  description: >-
                                    ISO 3-letter country code. Returned by
                                    Payrails, but not interpreted in requests.
                                  pattern: ^[A-Z]{3}$
                                name:
                                  type: string
                                  description: >-
                                    The English name of the country. Returned by
                                    Payrails, but not interpreted in requests.
                            latitude:
                              type: number
                              format: float
                              description: >-
                                Latitude of the address in the GPS coordinate
                                system.
                            longitude:
                              type: number
                              format: float
                              description: >-
                                Longitude of the address in the GPS coordinate
                                system.
                            phone:
                              description: >-
                                The phone to contact in the address (can be
                                different that the customer's).
                              type: object
                              required:
                                - number
                              properties:
                                countryCode:
                                  type: string
                                  pattern: ^\+?[0-9]+$
                                  description: >-
                                    International prefix of the phone, if known
                                    separately.
                                number:
                                  type: string
                                  pattern: ^[0-9]+$
                                  description: >-
                                    The local number of the phone, such that
                                    `countryCode` + `number` can be dialed.
                            alias:
                              type: string
                              description: Name of the address, e.g. home, work.
                            name:
                              type: string
                              description: >-
                                Name of the person to whom the address belongs
                                to.
                            lastName:
                              type: string
                              description: >-
                                Last name of the person to whom the address
                                belongs to.
                            email:
                              type: string
                              description: >-
                                Email of the person to whom the address belongs
                                to.
                        eci:
                          type: string
                          description: >-
                            The code indicating the result of the attempt to
                            authenticate the cardholder.
                        network:
                          type: string
                          description: Network of the instrument.
                          enum:
                            - unspecified
                            - visa
                            - visadankort
                            - mastercard
                            - amex
                            - diners
                            - discover
                            - unionpay
                            - unionpayuzcard
                            - maestro
                            - maestrobancontact
                            - hipercard
                            - jcb
                            - jcblankapay
                            - argencard
                            - aura
                            - belkart
                            - bpfuelcard
                            - cabal
                            - carnet
                            - cirrus
                            - chjonesfuelcard
                            - uzcard
                            - codensa
                            - dankort
                            - dinacard
                            - duet
                            - ebt
                            - eftpos
                            - elo
                            - euroshellfuelcard
                            - gecapital
                            - bc
                            - hrgstore
                            - humo
                            - lankapay
                            - lukoilfuelcard
                            - bancontact
                            - meeza
                            - newday
                            - mir
                            - ourocard
                            - pagobancomat
                            - paypak
                            - paypal
                            - phhfuelcard
                            - prostir
                            - rupay
                            - sbercard
                            - sodexo
                            - starrewards
                            - cencosud
                            - naranja
                            - troy
                            - uatp
                            - ukfuelcard
                            - verve
                            - voyager
                            - vpay
                            - wex
                            - cmi
                            - atm
                            - bankcard
                            - localbrand
                            - loyalty
                            - privatelabel
                            - fuelcard
                            - redfuelcard
                            - redliquidfuelcard
                        displayName:
                          type: string
                          description: Instrument name suitable for display.
                        vaultProviderConfigId:
                          type: string
                          format: uuid
                          nullable: true
                          description: >-
                            Vault provider configuration ID of the vault that
                            the encryptedData is meant for.
                    - title: BankAccount
                      type: object
                      description: Data specific to a BankAccount instrument.
                      properties:
                        holder:
                          type: object
                          description: >-
                            The data structure for a holder's personal
                            information.
                          properties:
                            firstName:
                              type: string
                              description: The first name of the account holder.
                            lastName:
                              type: string
                              description: The last name of the account holder.
                            companyName:
                              type: string
                              description: The company name for business holders.
                            address:
                              description: The address of the account holder.
                              type: object
                              properties:
                                street:
                                  type: string
                                  description: The name of the street of a postal address.
                                doorNumber:
                                  type: string
                                  description: The number on the door, building, or room.
                                complement:
                                  type: string
                                  description: >-
                                    Additional addressing information, 2nd line
                                    of postal address.
                                area:
                                  type: string
                                  description: >-
                                    The name of the suburb or area within a
                                    city.
                                city:
                                  type: string
                                  description: The name of the city of a postal address.
                                postalCode:
                                  type: string
                                  description: The postal code.
                                state:
                                  type: string
                                  description: >-
                                    The name of the state a postal address is
                                    in.
                                country:
                                  description: The country where the address is in.
                                  type: object
                                  required:
                                    - code
                                  properties:
                                    code:
                                      type: string
                                      description: ISO 3166-1 alpha-2 country code.
                                      pattern: ^[A-Z]{2}$
                                    iso3:
                                      type: string
                                      description: >-
                                        ISO 3-letter country code. Returned by
                                        Payrails, but not interpreted in
                                        requests.
                                      pattern: ^[A-Z]{3}$
                                    name:
                                      type: string
                                      description: >-
                                        The English name of the country.
                                        Returned by Payrails, but not
                                        interpreted in requests.
                                latitude:
                                  type: number
                                  format: float
                                  description: >-
                                    Latitude of the address in the GPS
                                    coordinate system.
                                longitude:
                                  type: number
                                  format: float
                                  description: >-
                                    Longitude of the address in the GPS
                                    coordinate system.
                                phone:
                                  description: >-
                                    The phone to contact in the address (can be
                                    different that the customer's).
                                  type: object
                                  required:
                                    - number
                                  properties:
                                    countryCode:
                                      type: string
                                      pattern: ^\+?[0-9]+$
                                      description: >-
                                        International prefix of the phone, if
                                        known separately.
                                    number:
                                      type: string
                                      pattern: ^[0-9]+$
                                      description: >-
                                        The local number of the phone, such that
                                        `countryCode` + `number` can be dialed.
                                alias:
                                  type: string
                                  description: Name of the address, e.g. home, work.
                                name:
                                  type: string
                                  description: >-
                                    Name of the person to whom the address
                                    belongs to.
                                lastName:
                                  type: string
                                  description: >-
                                    Last name of the person to whom the address
                                    belongs to.
                                email:
                                  type: string
                                  description: >-
                                    Email of the person to whom the address
                                    belongs to.
                            email:
                              type: string
                              format: email
                              description: The email address of the account holder.
                            dob:
                              type: string
                              format: date
                              description: >-
                                The date of birth of the account holder
                                (YYYY-MM-DD).
                            country:
                              description: The country of the account holder.
                              type: object
                              required:
                                - code
                              properties:
                                code:
                                  type: string
                                  description: ISO 3166-1 alpha-2 country code.
                                  pattern: ^[A-Z]{2}$
                                iso3:
                                  type: string
                                  description: >-
                                    ISO 3-letter country code. Returned by
                                    Payrails, but not interpreted in requests.
                                  pattern: ^[A-Z]{3}$
                                name:
                                  type: string
                                  description: >-
                                    The English name of the country. Returned by
                                    Payrails, but not interpreted in requests.
                            city:
                              type: string
                              description: The city of the account holder.
                            type:
                              type: string
                              enum:
                                - individual
                                - corporate
                              description: The type of account holder.
                        bank:
                          type: object
                          description: The data structure for a bank's information.
                          properties:
                            name:
                              type: string
                              description: The name of the bank.
                            branchCode:
                              type: string
                              description: The branch code of the bank.
                            code:
                              type: string
                              description: The bank code.
                            address:
                              description: The address of the bank.
                              type: object
                              properties:
                                street:
                                  type: string
                                  description: The name of the street of a postal address.
                                doorNumber:
                                  type: string
                                  description: The number on the door, building, or room.
                                complement:
                                  type: string
                                  description: >-
                                    Additional addressing information, 2nd line
                                    of postal address.
                                area:
                                  type: string
                                  description: >-
                                    The name of the suburb or area within a
                                    city.
                                city:
                                  type: string
                                  description: The name of the city of a postal address.
                                postalCode:
                                  type: string
                                  description: The postal code.
                                state:
                                  type: string
                                  description: >-
                                    The name of the state a postal address is
                                    in.
                                country:
                                  description: The country where the address is in.
                                  type: object
                                  required:
                                    - code
                                  properties:
                                    code:
                                      type: string
                                      description: ISO 3166-1 alpha-2 country code.
                                      pattern: ^[A-Z]{2}$
                                    iso3:
                                      type: string
                                      description: >-
                                        ISO 3-letter country code. Returned by
                                        Payrails, but not interpreted in
                                        requests.
                                      pattern: ^[A-Z]{3}$
                                    name:
                                      type: string
                                      description: >-
                                        The English name of the country.
                                        Returned by Payrails, but not
                                        interpreted in requests.
                                latitude:
                                  type: number
                                  format: float
                                  description: >-
                                    Latitude of the address in the GPS
                                    coordinate system.
                                longitude:
                                  type: number
                                  format: float
                                  description: >-
                                    Longitude of the address in the GPS
                                    coordinate system.
                                phone:
                                  description: >-
                                    The phone to contact in the address (can be
                                    different that the customer's).
                                  type: object
                                  required:
                                    - number
                                  properties:
                                    countryCode:
                                      type: string
                                      pattern: ^\+?[0-9]+$
                                      description: >-
                                        International prefix of the phone, if
                                        known separately.
                                    number:
                                      type: string
                                      pattern: ^[0-9]+$
                                      description: >-
                                        The local number of the phone, such that
                                        `countryCode` + `number` can be dialed.
                                alias:
                                  type: string
                                  description: Name of the address, e.g. home, work.
                                name:
                                  type: string
                                  description: >-
                                    Name of the person to whom the address
                                    belongs to.
                                lastName:
                                  type: string
                                  description: >-
                                    Last name of the person to whom the address
                                    belongs to.
                                email:
                                  type: string
                                  description: >-
                                    Email of the person to whom the address
                                    belongs to.
                            swiftCode:
                              type: string
                              description: The SWIFT/BIC code of the bank.
                        account:
                          type: object
                          description: The data structure for an account's information.
                          properties:
                            number:
                              type: string
                              description: The bank account number.
                            iban:
                              type: string
                              description: The International Bank Account Number (IBAN).
                            currency:
                              type: string
                              pattern: ^[A-Z]{3}$
                              example: USD
                              description: ISO 3-letter currency code.
                            country:
                              description: The country of the account.
                              type: object
                              required:
                                - code
                              properties:
                                code:
                                  type: string
                                  description: ISO 3166-1 alpha-2 country code.
                                  pattern: ^[A-Z]{2}$
                                iso3:
                                  type: string
                                  description: >-
                                    ISO 3-letter country code. Returned by
                                    Payrails, but not interpreted in requests.
                                  pattern: ^[A-Z]{3}$
                                name:
                                  type: string
                                  description: >-
                                    The English name of the country. Returned by
                                    Payrails, but not interpreted in requests.
                            type:
                              type: string
                              enum:
                                - savings
                                - current
                              description: The type of bank account.
                    - title: PayPal
                      type: object
                      description: Data specific to a PayPal instrument.
                      properties:
                        email:
                          type: string
                          description: Email of the PayPal account.
                        payerId:
                          type: string
                          description: ID of the PayPal payer account.
                        billingAddress:
                          description: Billing Address of the instrument.
                          type: object
                          properties:
                            street:
                              type: string
                              description: The name of the street of a postal address.
                            doorNumber:
                              type: string
                              description: The number on the door, building, or room.
                            complement:
                              type: string
                              description: >-
                                Additional addressing information, 2nd line of
                                postal address.
                            area:
                              type: string
                              description: The name of the suburb or area within a city.
                            city:
                              type: string
                              description: The name of the city of a postal address.
                            postalCode:
                              type: string
                              description: The postal code.
                            state:
                              type: string
                              description: The name of the state a postal address is in.
                            country:
                              description: The country where the address is in.
                              type: object
                              required:
                                - code
                              properties:
                                code:
                                  type: string
                                  description: ISO 3166-1 alpha-2 country code.
                                  pattern: ^[A-Z]{2}$
                                iso3:
                                  type: string
                                  description: >-
                                    ISO 3-letter country code. Returned by
                                    Payrails, but not interpreted in requests.
                                  pattern: ^[A-Z]{3}$
                                name:
                                  type: string
                                  description: >-
                                    The English name of the country. Returned by
                                    Payrails, but not interpreted in requests.
                            latitude:
                              type: number
                              format: float
                              description: >-
                                Latitude of the address in the GPS coordinate
                                system.
                            longitude:
                              type: number
                              format: float
                              description: >-
                                Longitude of the address in the GPS coordinate
                                system.
                            phone:
                              description: >-
                                The phone to contact in the address (can be
                                different that the customer's).
                              type: object
                              required:
                                - number
                              properties:
                                countryCode:
                                  type: string
                                  pattern: ^\+?[0-9]+$
                                  description: >-
                                    International prefix of the phone, if known
                                    separately.
                                number:
                                  type: string
                                  pattern: ^[0-9]+$
                                  description: >-
                                    The local number of the phone, such that
                                    `countryCode` + `number` can be dialed.
                            alias:
                              type: string
                              description: Name of the address, e.g. home, work.
                            name:
                              type: string
                              description: >-
                                Name of the person to whom the address belongs
                                to.
                            lastName:
                              type: string
                              description: >-
                                Last name of the person to whom the address
                                belongs to.
                            email:
                              type: string
                              description: >-
                                Email of the person to whom the address belongs
                                to.
                    - title: DCB
                      type: object
                      description: Data specific to a DCB instrument.
                      properties:
                        msisdn:
                          type: string
                          description: >-
                            Mobile number of the holder MSISDN Stands for Mobile
                            Station International Subscriber Directory Number.
                        msisdnTail:
                          type: string
                          description: Last 4 digits of the mobile number of the holder.
                        country:
                          description: Country of the holder.
                          type: object
                          required:
                            - code
                          properties:
                            code:
                              type: string
                              description: ISO 3166-1 alpha-2 country code.
                              pattern: ^[A-Z]{2}$
                            iso3:
                              type: string
                              description: >-
                                ISO 3-letter country code. Returned by Payrails,
                                but not interpreted in requests.
                              pattern: ^[A-Z]{3}$
                            name:
                              type: string
                              description: >-
                                The English name of the country. Returned by
                                Payrails, but not interpreted in requests.
                        carrierNetwork:
                          type: string
                          description: Carrier network of the msisdn.
                    - title: MBWay
                      type: object
                      description: Data specific to an MB WAY instrument.
                      properties:
                        phone:
                          type: object
                          description: >-
                            Mobile number the payer confirms MB WAY payments
                            with.
                          properties:
                            countryCode:
                              type: string
                              description: International dialling code, digits only.
                              example: '351'
                            number:
                              type: string
                              description: National number, digits only.
                              example: '912345678'
                    - title: ApplePay
                      type: object
                      description: Payment token data obtained from Apple or Google.
                      required:
                        - paymentToken
                      properties:
                        paymentToken:
                          type: string
                          description: >-
                            Encrypted payment token object obtained on
                            merchant's client-side with ApplePay/GooglePay SDK,
                            and needed for creating an instrument on Payrails
                            Vault.
                    - title: GooglePay
                      type: object
                      description: Payment token data obtained from Apple or Google.
                      required:
                        - paymentToken
                      properties:
                        paymentToken:
                          type: string
                          description: >-
                            Encrypted payment token object obtained on
                            merchant's client-side with ApplePay/GooglePay SDK,
                            and needed for creating an instrument on Payrails
                            Vault.
                token:
                  description: >-
                    Token-specific information about the instrument. Required
                    when creating an instrument from a tokenization tool like
                    the Payrails SDK.
                  type: object
                  nullable: true
                  required:
                    - providerId
                    - providerConfigId
                    - reference
                  properties:
                    providerId:
                      type: string
                      format: uuid
                      description: Provider of the instrument token.
                    providerConfigId:
                      type: string
                      format: uuid
                      description: Provider config of the instrument token.
                    reference:
                      type: string
                      description: Id of the instrument token on the provider.
                    type:
                      type: string
                      description: Type of the token.
                      enum:
                        - network
                        - vault
                        - psp
                        - networkOffers
                        - networkGateway
                    requestNetworkToken:
                      type: boolean
                      description: >-
                        Flag indicating if the network token should be requested
                        in the provider.
                    meta:
                      description: >-
                        Any merchant or provider-specific data that should be
                        stored for context in the token.
                      type: object
                      additionalProperties: true
                encryptedDataAttributes:
                  type: object
                  description: Additional attributes for the instrument tokenization.
                  properties:
                    tokenMigrationId:
                      type: string
                      description: >-
                        Token migration ID for the instrument tokenization in
                        case the instrument is tokenized as part of a token
                        migration.
                    tokenMigrationRunId:
                      type: string
                      format: uuid
                      description: >-
                        Token migration run ID for the instrument tokenization
                        in case the instrument is tokenized as part of a token
                        migration.
                    tokenMigrationReference:
                      type: string
                      description: >-
                        Token migration reference for the instrument
                        tokenization in case the instrument is tokenized as part
                        of a token migration.
            examples:
              card:
                description: Card.
                value:
                  holderId: 788c7c09-a490-4603-915a-e2a957a6cca1
                  storeInstrument: true
                  paymentMethod: card
                  description: personal card
                  merchantReference: ref_C47C47
                  futureUsage: CardOnFile
                  networkTransactionReference: '987654321234567'
                  data:
                    network: visa
                    bin: '411111'
                    suffix: '1111'
                    expiryMonth: '10'
                    expiryYear: '2026'
                    holderName: John Doe
                    issuer: SomeBank
                    issuerCountry:
                      code: DE
                  token:
                    providerId: 739b37e1-a387-4bf2-b235-0d627ad09b00
                    providerConfigId: 739b37e1-a387-4bf2-b235-0d627ad09b00
                    reference: d9ad511d-fb7d-4508-a958-ce7da0af9d68
                  meta:
                    communityCode: GAP
                    userKey: '9890124569'
              cardWithToken:
                description: Card with token.
                value:
                  holderId: 788c7c09-a490-4603-915a-e2a957a6cca1
                  storeInstrument: true
                  paymentMethod: card
                  description: personal card
                  merchantReference: ref_C47C47
                  futureUsage: CardOnFile
                  networkTransactionReference: '987654321234567'
                  data:
                    network: visa
                    bin: '411111'
                    suffix: '1111'
                    expiryMonth: '10'
                    expiryYear: '2026'
                    holderName: John Doe
                    issuer: SomeBank
                    issuerCountry:
                      code: DE
                  meta:
                    communityCode: GAP
                    userKey: '9890124569'
                  token:
                    providerId: e0ba44eb-1d54-4317-823b-d2f9419d3b9d
                    providerConfigId: 739b37e1-a387-4bf2-b235-0d627ad09b00
                    reference: token-in-the-provider
                    type: network
              bankAccount:
                description: Bank Account
                value:
                  holderId: 788c7c09-a490-4603-915a-e2a957a6cca1
                  storeInstrument: true
                  paymentMethod: bankAccount
                  description: Personal Bank Account
                  merchantReference: ref-fe5b9432-9680-4140-b68d-71ba66b043ca
                  futureUsage: CardOnFile
                  data:
                    holder:
                      firstName: John
                      lastName: Doe
                      companyName: ABC Corp
                      address:
                        streetName: Example St
                        streetNumber: '123'
                        postalCode: '12345'
                        city: Anytown
                        stateOrProvince: CA
                        country: US
                      email: john.doe@example.com
                      dob: '1990-01-15'
                      country:
                        code: US
                        name: United States
                      city: New York
                      type: personal
                    bank:
                      name: Example Bank
                      branchCode: '1234'
                      code: '56789'
                      address:
                        streetName: Bank St
                        streetNumber: '5'
                        postalCode: '98765'
                        city: Banktown
                        stateOrProvince: NY
                        country: US
                      swiftCode: EXABUS33XXX
                      country:
                        code: DE
                        name: Germany
                    account:
                      number: '1234567890'
                      iban: US123456789012345678901234567890
                      currency: USD
                      type: saving
              applePay:
                description: ApplePay.
                value:
                  holderId: 788c7c09-a490-4603-915a-e2a957a6cca1
                  storeInstrument: true
                  paymentMethod: applePay
                  description: ApplePay
                  merchantReference: ref-fe5b9432-9680-4140-b68d-71ba66b043ca
                  data:
                    paymentToken: >-
                      {"billingContact":{"addressLines":["Musterstraße
                      12"],"administrativeArea":"","country":"Germany","countryCode":"DE","familyName":"Doe","givenName":"Jane","locality":"Berlin","phoneticFamilyName":"","phoneticGivenName":"","postalCode":"10115","subAdministrativeArea":"","subLocality":""},"shippingContact":{"emailAddress":"sk.payrails.apple@gmail.com","familyName":"","givenName":"","phoneticFamilyName":"","phoneticGivenName":""},"token":{"paymentData":{"data":"omRepq5Fl4e5I5Awwo5HzR60V06o/axlnxvu7Hlfqrae10chpwLSnpuJV7vm44weby0UCRhOGvWsSmqBG8yl2OZju0+8j8jEpgm+tkA8l4zXIbB7tFl73oZIar4/Lpkvo6kNZxeRNK6+3tYi6GFbACMoMbFv5RVNppPD7jw3Srn6azPZrRww991/jJ4iNQljOUx/8CycILCxulDNwF8W8BWxv7dWcTyLrcxtGF1HposIdnlCWxZFe8zHkkNMnTO+BAEPtMTDfu7klAk50wyGh/gKk598tyY17Xmna8nW/42TpzULxQuUIAI6mfLbnxNLhnGFwfgM4Rr+0gWUuf4BFf0uduxriklJTgYea1vkw0T5mce8W1dS/taDFgcIPGFsrbYo3pGx2NlS76IRRRQLtdWuOjQF/AAARG743A38WBhw","signature":"MIAGCSqGSIb3DQEHAqCAMIACAQExDTALBglghkgBZQMEAgEwgAYJKoZIhvcNAQcBAACggDCCA+QwggOLoAMCAQICCFnYobyq9OPNMAoGCCqGSM49BAMCMHoxLjAsBgNVBAMMJUFwcGxlIEFwcGxpY2F0aW9uIEludGVncmF0aW9uIENBIC0gRzMxJjAkBgNVBAsMHUFwcGxlIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRMwEQYDVQQKDApBcHBsZSBJbmMuMQswCQYDVQQGEwJVUzAeFw0yMTA0MjAxOTM3MDBaFw0yNjA0MTkxOTM2NTlaMGIxKDAmBgNVBAMMH2VjYy1zbXAtYnJva2VyLXNpZ25fVUM0LVNBTkRCT1gxFDASBgNVBAsMC2lPUyBTeXN0ZW1zMRMwEQYDVQQKDApBcHBsZSBJbmMuMQswCQYDVQQGEwJVUzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABIIw/avDnPdeICxQ2ZtFEuY34qkB3Wyz4LHNS1JnmPjPTr3oGiWowh5MM93OjiqWwvavoZMDRcToekQmzpUbEpWjggIRMIICDTAMBgNVHRMBAf8EAjAAMB8GA1UdIwQYMBaAFCPyScRPk+TvJ+bE9ihsP6K7/S5LMEUGCCsGAQUFBwEBBDkwNzA1BggrBgEFBQcwAYYpaHR0cDovL29jc3AuYXBwbGUuY29tL29jc3AwNC1hcHBsZWFpY2EzMDIwggEdBgNVHSAEggEUMIIBEDCCAQwGCSqGSIb3Y2QFATCB/jCBwwYIKwYBBQUHAgIwgbYMgbNSZWxpYW5jZSBvbiB0aGlzIGNlcnRpZmljYXRlIGJ5IGFueSBwYXJ0eSBhc3N1bWVzIGFjY2VwdGFuY2Ugb2YgdGhlIHRoZW4gYXBwbGljYWJsZSBzdGFuZGFyZCB0ZXJtcyBhbmQgY29uZGl0aW9ucyBvZiB1c2UsIGNlcnRpZmljYXRlIHBvbGljeSBhbmQgY2VydGlmaWNhdGlvbiBwcmFjdGljZSBzdGF0ZW1lbnRzLjA2BggrBgEFBQcCARYqaHR0cDovL3d3dy5hcHBsZS5jb20vY2VydGlmaWNhdGVhdXRob3JpdHkvMDQGA1UdHwQtMCswKaAnoCWGI2h0dHA6Ly9jcmwuYXBwbGUuY29tL2FwcGxlYWljYTMuY3JsMB0GA1UdDgQWBBQCJDALmu7tRjGXpKZaKZ5CcYIcRTAOBgNVHQ8BAf8EBAMCB4AwDwYJKoZIhvdjZAYdBAIFADAKBggqhkjOPQQDAgNHADBEAiB0obMk20JJQw3TJ0xQdMSAjZofSA46hcXBNiVmMl+8owIgaTaQU6v1C1pS+fYATcWKrWxQp9YIaDeQ4Kc60B5K2YEwggLuMIICdaADAgECAghJbS+/OpjalzAKBggqhkjOPQQDAjBnMRswGQYDVQQDDBJBcHBsZSBSb290IENBIC0gRzMxJjAkBgNVBAsMHUFwcGxlIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRMwEQYDVQQKDApBcHBsZSBJbmMuMQswCQYDVQQGEwJVUzAeFw0xNDA1MDYyMzQ2MzBaFw0yOTA1MDYyMzQ2MzBaMHoxLjAsBgNVBAMMJUFwcGxlIEFwcGxpY2F0aW9uIEludGVncmF0aW9uIENBIC0gRzMxJjAkBgNVBAsMHUFwcGxlIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MRMwEQYDVQQKDApBcHBsZSBJbmMuMQswCQYDVQQGEwJVUzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABPAXEYQZ12SF1RpeJYEHduiAou/ee65N4I38S5PhM1bVZls1riLQl3YNIk57ugj9dhfOiMt2u2ZwvsjoKYT/VEWjgfcwgfQwRgYIKwYBBQUHAQEEOjA4MDYGCCsGAQUFBzABhipodHRwOi8vb2NzcC5hcHBsZS5jb20vb2NzcDA0LWFwcGxlcm9vdGNhZzMwHQYDVR0OBBYEFCPyScRPk+TvJ+bE9ihsP6K7/S5LMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAUu7DeoVgziJqkipnevr3rr9rLJKswNwYDVR0fBDAwLjAsoCqgKIYmaHR0cDovL2NybC5hcHBsZS5jb20vYXBwbGVyb290Y2FnMy5jcmwwDgYDVR0PAQH/BAQDAgEGMBAGCiqGSIb3Y2QGAg4EAgUAMAoGCCqGSM49BAMCA2cAMGQCMDrPcoNRFpmxhvs1w1bKYr/0F+3ZD3VNoo6+8ZyBXkK3ifiY95tZn5jVQQ2PnenC/gIwMi3VRCGwowV3bF3zODuQZ/0XfCwhbZZPxnJpghJvVPh6fRuZy5sJiSFhBpkPCZIdAAAxggGHMIIBgwIBATCBhjB6MS4wLAYDVQQDDCVBcHBsZSBBcHBsaWNhdGlvbiBJbnRlZ3JhdGlvbiBDQSAtIEczMSYwJAYDVQQLDB1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTETMBEGA1UECgwKQXBwbGUgSW5jLjELMAkGA1UEBhMCVVMCCFnYobyq9OPNMAsGCWCGSAFlAwQCAaCBkzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0yNTEwMzEwODQ4MTJaMCgGCSqGSIb3DQEJNDEbMBkwCwYJYIZIAWUDBAIBoQoGCCqGSM49BAMCMC8GCSqGSIb3DQEJBDEiBCCSORXkLByAhIPc5sggB97BKTCUczBxnr454w9v48LbAjAKBggqhkjOPQQDAgRGMEQCIHJbbfGog5eT3v0ZYSsUMEAi7KyEdLRCsjkV/iqGbpP5AiBgrksN+zQHed+0BS1wIPAjnRYD7TpdCQWnaARoGqPiAAAAAAAAAA==","header":{"publicKeyHash":"ZJSKMBJDW9HqdVlxZeNWBooGagS9Ef2+yyPZwV17HmY=","ephemeralPublicKey":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE0BLR9O7Z+Iz2vp+ubWNhZF0qOt4oQLoe0tVjHcFrXX4mJsUIIND1zJKsEnBL2W1uQy+IkawX0E59ZTwVcwoIyg==","transactionId":"9afd5bc13532d06dad4f6a54f27e89b33afae83fc95f2a9486a18c2833468200"},"version":"EC_v1"},"paymentMethod":{"displayName":"Visa
                      1439","network":"Visa","type":"credit"},"transactionIdentifier":"9afd5bc13532d06dad4f6a54f27e89b33afae83fc95f2a9486a18c2833468200"}}
              googlePay:
                description: GooglePay.
                value:
                  holderId: 788c7c09-a490-4603-915a-e2a957a6cca1
                  storeInstrument: true
                  paymentMethod: googlePay
                  description: GooglePay
                  merchantReference: ref-fe5b9432-9680-4140-b68d-71ba66b043ca
                  data:
                    paymentToken: >-
                      {"apiVersion":2,"apiVersionMinor":0,"email":"jane.doe@email.com","paymentMethodData":{"description":"Visa •••• 8991","info":{"assuranceDetails":{"accountVerified":true,"cardHolderAuthenticated":false},"billingAddress":{"countryCode":"DE","name":"Jane
                      Doe","postalCode":"10317"},"cardDetails":"8991","cardFundingSource":"PREPAID","cardNetwork":"VISA"},"tokenizationData":{"token":"{\"signature\":\"MEQCIH2szzzvf0f+YgcHsSqlAGYSW2Hj548QnzTpryivfyQeAiANj6T3weEV6VK9nEpIeX0epNnvw8PfA0bXko3wDp1y5Q\\u003d\\u003d\",\"intermediateSigningKey\":{\"signedKey\":\"{\\\"keyValue\\\":\\\"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEDfqBP1uJwURZvYRl2Q3TenOkL51cyhF1Xy999HphvLuZVDOQAVMYqNS63CKGM7hnodznJ7tW2YWKxccVTnZlRQ\\\\u003d\\\\u003d\\\",\\\"keyExpiration\\\":\\\"1762556816787\\\"}\",\"signatures\":[\"MEUCIQCyXt15dppYiAelicfWQmZnUvW47/l2FJCEiU+kCSwL9wIgHlXR9PKA0OWtwmIZE87lQbcJAt3xZHCdELA+VNIMTNY\\u003d\"]},\"protocolVersion\":\"ECv2\",\"signedMessage\":\"{\\\"encryptedMessage\\\":\\\"+NIFFwE4x7Fg8Eg0EtTNt+Fk5sdE0aMF/3Xb1NjmgAu6sWflXzWV9HvbiTvn+oi0EUoLEHmUgXIIujjpzbYUbc9WugAJ2i00026jEmJybrjWD/taJWW2KTKwV9IhdbiC6Z8Tqh1pfBYYuK4FHMpEhOnp5FrcOqtd/6X/2wDFr6GwOLjBYLVB/MIeUw7vc7AlC5uH58tapjuJFN8GN3ZKsi027O/TVU4R1dR/gpik84nl75yP1qGZXZNoTqDTuW7zTAXypchsJP0F1TFwHBCw8dskKseURvoKZ86t7FujR5UoCQLOhqDUwkW8Yq9EfQokE/3r7tIM/xrmDoW7pCHndYMZjH7TfPBLF8K6t2Pii2JSE1gQxA7X5XWe2tdIEVIiBTRIbi0vHN2Prz8yjD/+Ner60GxRRP520b+7YrRBunhMl/STQsZOD8OebtdnPRijxoXDIkw2V+TRSnPfSNLV3HO5yLl4UxcEANoKU0QkZbZJgGxMRE2OI3FOpwaGKMiTmCxKHSCyqK9ePwA+4IVrC0jwy/5EYq4cKKMQk2pd0/nLWEyqgvva+/ajOFIYiPEUVtxb8st/qOKuzqVBsdwMPu5jEU6fLaUN+0E4mTU2Bt4i\\\",\\\"ephemeralPublicKey\\\":\\\"BK6bsNhlDnD62uq/7rFfWf0lHbwxA/Fvc0TuM4TnkVVOWwMOqhvuNtx2a4n1vSVLNshcQUMj9xIvQvgopt2rL4g\\\\u003d\\\",\\\"tag\\\":\\\"//fNBR/n8u3amz7kXleR+0RA/ca6SUPSXpndPsPaix4\\\\u003d\\\"}\"}","type":"PAYMENT_GATEWAY"},"type":"CARD"},"shippingAddress":{"address1":"Gustav-Tempel-Straße
                      2","address2":"","address3":"","administrativeArea":"","countryCode":"DE","locality":"Berlin","name":"Jane
                      Doe","postalCode":"10317","sortingCode":""}}
      responses:
        '201':
          description: Created.
          content:
            application/json:
              schema:
                type: object
                allOf:
                  - type: object
                    required:
                      - id
                      - holderId
                      - paymentMethod
                      - status
                      - createdAt
                      - updatedAt
                    properties:
                      id:
                        type: string
                        format: uuid
                        description: Id of the instrument.
                      createdAt:
                        type: string
                        format: date-time
                        description: >-
                          Date and time when the Instrument was created in
                          Payrails.
                      updatedAt:
                        type: string
                        format: date-time
                        description: When the Instrument was last updated.
                      holderId:
                        type: string
                        format: uuid
                        description: Unique identifier of the Holder in Payrails.
                      paymentMethod:
                        type: string
                        description: Represents the payment method type.
                        enum:
                          - alexBankMa7fazty
                          - applePay
                          - audi2pay
                          - bankAccount
                          - card
                          - 2c2p
                          - vietQR
                          - cibSmartWallet
                          - easypaisa
                          - etisalatCash
                          - fawryMobileWallet
                          - fawryPay
                          - googlePay
                          - jazzCash
                          - nbePhoneCash
                          - orangeCash
                          - payPal
                          - qnbEWallet
                          - weCash
                          - genericRedirect
                          - alfa
                          - konnect
                          - eftPro
                          - netBanking
                          - upi
                          - cashFreeWallet
                          - paytmWallet
                          - phonePe
                          - iDeal
                          - bancontact
                          - klarnaPayLater
                          - klarnaPayNow
                          - klarnaPayOverTime
                          - scalapay
                      status:
                        type: string
                        description: Status of the instrument.
                        enum:
                          - created
                          - deleted
                          - enabled
                          - disabled
                          - transient
                      displayName:
                        type: string
                        description: Instrument name suitable for display.
                      description:
                        type: string
                        description: Description of the instrument.
                      default:
                        type: boolean
                        description: >-
                          True if this instrument is set as default for the
                          holder.
                        nullable: true
                      merchantReference:
                        type: string
                        description: Merchant-provided reference for the instrument.
                      fingerprint:
                        type: string
                        description: >-
                          System-wide unique identifier of the Instrument. If
                          two Holders have the same instrument stored, this
                          value will be the same for both, but the instrument
                          and token IDs will be different. Cannot be used for
                          payments, should only be used for analytics and fraud
                          prevention.
                      futureUsage:
                        type: string
                        description: >-
                          Represents the future usage to define the payment
                          flows that the stored instrument will be used for.
                        enum:
                          - Subscription
                          - CardOnFile
                          - UnscheduledCardOnFile
                      networkTransactionReference:
                        type: string
                        description: >-
                          Identifier of the initial payment made with this
                          instrument on the Networks, e.g. Mastercard Trace ID
                          or Visa Transaction ID.
                      transactionLinkId:
                        type: string
                        description: >-
                          Mastercard Transaction Link Identifier (TLID) of the
                          transaction series this instrument belongs to.
                          Returned by the card network on the initial
                          cardholder-initiated transaction and required on
                          economically related merchant-initiated transactions,
                          such as recurring payments and installments, when the
                          series spans payment providers.
                      data:
                        description: Type-specific information about the instrument.
                        anyOf:
                          - title: Card
                            type: object
                            description: Data specific to a Card instrument.
                            required:
                              - network
                              - bin
                              - suffix
                            properties:
                              network:
                                type: string
                                description: Network of the instrument.
                                enum:
                                  - unspecified
                                  - visa
                                  - visadankort
                                  - mastercard
                                  - amex
                                  - diners
                                  - discover
                                  - unionpay
                                  - unionpayuzcard
                                  - maestro
                                  - maestrobancontact
                                  - hipercard
                                  - jcb
                                  - jcblankapay
                                  - argencard
                                  - aura
                                  - belkart
                                  - bpfuelcard
                                  - cabal
                                  - carnet
                                  - cirrus
                                  - chjonesfuelcard
                                  - uzcard
                                  - codensa
                                  - dankort
                                  - dinacard
                                  - duet
                                  - ebt
                                  - eftpos
                                  - elo
                                  - euroshellfuelcard
                                  - gecapital
                                  - bc
                                  - hrgstore
                                  - humo
                                  - lankapay
                                  - lukoilfuelcard
                                  - bancontact
                                  - meeza
                                  - newday
                                  - mir
                                  - ourocard
                                  - pagobancomat
                                  - paypak
                                  - paypal
                                  - phhfuelcard
                                  - prostir
                                  - rupay
                                  - sbercard
                                  - sodexo
                                  - starrewards
                                  - cencosud
                                  - naranja
                                  - troy
                                  - uatp
                                  - ukfuelcard
                                  - verve
                                  - voyager
                                  - vpay
                                  - wex
                                  - cmi
                                  - atm
                                  - bankcard
                                  - localbrand
                                  - loyalty
                                  - privatelabel
                                  - fuelcard
                                  - redfuelcard
                                  - redliquidfuelcard
                              preferredScheme:
                                type: string
                                description: Network of the instrument.
                                enum:
                                  - unspecified
                                  - visa
                                  - visadankort
                                  - mastercard
                                  - amex
                                  - diners
                                  - discover
                                  - unionpay
                                  - unionpayuzcard
                                  - maestro
                                  - maestrobancontact
                                  - hipercard
                                  - jcb
                                  - jcblankapay
                                  - argencard
                                  - aura
                                  - belkart
                                  - bpfuelcard
                                  - cabal
                                  - carnet
                                  - cirrus
                                  - chjonesfuelcard
                                  - uzcard
                                  - codensa
                                  - dankort
                                  - dinacard
                                  - duet
                                  - ebt
                                  - eftpos
                                  - elo
                                  - euroshellfuelcard
                                  - gecapital
                                  - bc
                                  - hrgstore
                                  - humo
                                  - lankapay
                                  - lukoilfuelcard
                                  - bancontact
                                  - meeza
                                  - newday
                                  - mir
                                  - ourocard
                                  - pagobancomat
                                  - paypak
                                  - paypal
                                  - phhfuelcard
                                  - prostir
                                  - rupay
                                  - sbercard
                                  - sodexo
                                  - starrewards
                                  - cencosud
                                  - naranja
                                  - troy
                                  - uatp
                                  - ukfuelcard
                                  - verve
                                  - voyager
                                  - vpay
                                  - wex
                                  - cmi
                                  - atm
                                  - bankcard
                                  - localbrand
                                  - loyalty
                                  - privatelabel
                                  - fuelcard
                                  - redfuelcard
                                  - redliquidfuelcard
                              bin:
                                type: string
                                minLength: 6
                                maxLength: 8
                                description: >-
                                  First 6-8 digits of the Card number. Also
                                  known as IIN (Issuer Identification Number).
                                example: '416598'
                              binLookup:
                                description: >-
                                  Information about an issuer by the given BIN
                                  (or IIN).
                                type: object
                                required:
                                  - bin
                                properties:
                                  bin:
                                    type: string
                                    minLength: 6
                                    maxLength: 8
                                    description: >-
                                      First 6-8 digits of the Card number. Also
                                      known as IIN (Issuer Identification
                                      Number).
                                    example: '416598'
                                  network:
                                    type: string
                                    description: Network of the instrument.
                                    enum:
                                      - unspecified
                                      - visa
                                      - visadankort
                                      - mastercard
                                      - amex
                                      - diners
                                      - discover
                                      - unionpay
                                      - unionpayuzcard
                                      - maestro
                                      - maestrobancontact
                                      - hipercard
                                      - jcb
                                      - jcblankapay
                                      - argencard
                                      - aura
                                      - belkart
                                      - bpfuelcard
                                      - cabal
                                      - carnet
                                      - cirrus
                                      - chjonesfuelcard
                                      - uzcard
                                      - codensa
                                      - dankort
                                      - dinacard
                                      - duet
                                      - ebt
                                      - eftpos
                                      - elo
                                      - euroshellfuelcard
                                      - gecapital
                                      - bc
                                      - hrgstore
                                      - humo
                                      - lankapay
                                      - lukoilfuelcard
                                      - bancontact
                                      - meeza
                                      - newday
                                      - mir
                                      - ourocard
                                      - pagobancomat
                                      - paypak
                                      - paypal
                                      - phhfuelcard
                                      - prostir
                                      - rupay
                                      - sbercard
                                      - sodexo
                                      - starrewards
                                      - cencosud
                                      - naranja
                                      - troy
                                      - uatp
                                      - ukfuelcard
                                      - verve
                                      - voyager
                                      - vpay
                                      - wex
                                      - cmi
                                      - atm
                                      - bankcard
                                      - localbrand
                                      - loyalty
                                      - privatelabel
                                      - fuelcard
                                      - redfuelcard
                                      - redliquidfuelcard
                                  localNetwork:
                                    description: >-
                                      Card local network that supports the card,
                                      e.g. CartesBancaires, Dankort, Mada,
                                      Bancontact.
                                    type: string
                                    enum:
                                      - bancontact
                                      - cartesbancaires
                                      - dankort
                                      - mada
                                  issuer:
                                    type: string
                                    description: >-
                                      Name of the bank or institution that
                                      issued the card.
                                  issuerCountry:
                                    description: >-
                                      Country of the bank or institution that
                                      issued the card.
                                    type: object
                                    required:
                                      - code
                                    properties:
                                      code:
                                        type: string
                                        description: ISO 3166-1 alpha-2 country code.
                                        pattern: ^[A-Z]{2}$
                                      iso3:
                                        type: string
                                        description: >-
                                          ISO 3-letter country code. Returned by
                                          Payrails, but not interpreted in
                                          requests.
                                        pattern: ^[A-Z]{3}$
                                      name:
                                        type: string
                                        description: >-
                                          The English name of the country.
                                          Returned by Payrails, but not
                                          interpreted in requests.
                                  segment:
                                    type: string
                                    description: >-
                                      Segment of the card, e.g. gold, black,
                                      business.
                                  type:
                                    type: string
                                    description: >-
                                      Type of the card, e.g. credit, debit,
                                      prepaid, gift.
                                  typeDetails:
                                    type: string
                                    description: >-
                                      More information about the card type, e.g.
                                      personal, commercial.
                                  isNetworkToken:
                                    type: boolean
                                    description: >
                                      Indicates whether the card credential
                                      represents a network token rather than a
                                      primary account number (PAN).
                                  isFlexCard:
                                    type: boolean
                                    description: >
                                      Indicates whether the card is enrolled in
                                      a Flexible Credential or Flex Card program
                                      supported by the network - e.g. Visa
                                      Flexible Credential, Mastercard FlexCard.
                              billingAddress:
                                description: Billing Address of the instrument.
                                type: object
                                properties:
                                  street:
                                    type: string
                                    description: >-
                                      The name of the street of a postal
                                      address.
                                  doorNumber:
                                    type: string
                                    description: The number on the door, building, or room.
                                  complement:
                                    type: string
                                    description: >-
                                      Additional addressing information, 2nd
                                      line of postal address.
                                  area:
                                    type: string
                                    description: >-
                                      The name of the suburb or area within a
                                      city.
                                  city:
                                    type: string
                                    description: The name of the city of a postal address.
                                  postalCode:
                                    type: string
                                    description: The postal code.
                                  state:
                                    type: string
                                    description: >-
                                      The name of the state a postal address is
                                      in.
                                  country:
                                    description: The country where the address is in.
                                    type: object
                                    required:
                                      - code
                                    properties:
                                      code:
                                        type: string
                                        description: ISO 3166-1 alpha-2 country code.
                                        pattern: ^[A-Z]{2}$
                                      iso3:
                                        type: string
                                        description: >-
                                          ISO 3-letter country code. Returned by
                                          Payrails, but not interpreted in
                                          requests.
                                        pattern: ^[A-Z]{3}$
                                      name:
                                        type: string
                                        description: >-
                                          The English name of the country.
                                          Returned by Payrails, but not
                                          interpreted in requests.
                                  latitude:
                                    type: number
                                    format: float
                                    description: >-
                                      Latitude of the address in the GPS
                                      coordinate system.
                                  longitude:
                                    type: number
                                    format: float
                                    description: >-
                                      Longitude of the address in the GPS
                                      coordinate system.
                                  phone:
                                    description: >-
                                      The phone to contact in the address (can
                                      be different that the customer's).
                                    type: object
                                    required:
                                      - number
                                    properties:
                                      countryCode:
                                        type: string
                                        pattern: ^\+?[0-9]+$
                                        description: >-
                                          International prefix of the phone, if
                                          known separately.
                                      number:
                                        type: string
                                        pattern: ^[0-9]+$
                                        description: >-
                                          The local number of the phone, such that
                                          `countryCode` + `number` can be dialed.
                                  alias:
                                    type: string
                                    description: Name of the address, e.g. home, work.
                                  name:
                                    type: string
                                    description: >-
                                      Name of the person to whom the address
                                      belongs to.
                                  lastName:
                                    type: string
                                    description: >-
                                      Last name of the person to whom the
                                      address belongs to.
                                  email:
                                    type: string
                                    description: >-
                                      Email of the person to whom the address
                                      belongs to.
                              suffix:
                                type: string
                                minLength: 4
                                maxLength: 4
                                description: Last digits of the Card number.
                              expiryMonth:
                                type: string
                                minLength: 2
                                maxLength: 2
                                description: Expiry month of the Card.
                              expiryYear:
                                type: string
                                minLength: 4
                                maxLength: 4
                                description: Expiry year of the Card.
                              holderName:
                                type: string
                                description: Name of the owner of the Card.
                              taxId:
                                type: string
                                description: >-
                                  Payer-provided tax identification number (e.g.
                                  CPF in Brazil) collected on the instrument.
                          - title: BankAccount
                            type: object
                            description: Data specific to a BankAccount instrument.
                            properties:
                              holder:
                                type: object
                                description: >-
                                  The data structure for a holder's personal
                                  information.
                                properties:
                                  firstName:
                                    type: string
                                    description: The first name of the account holder.
                                  lastName:
                                    type: string
                                    description: The last name of the account holder.
                                  companyName:
                                    type: string
                                    description: The company name for business holders.
                                  address:
                                    description: The address of the account holder.
                                    type: object
                                    properties:
                                      street:
                                        type: string
                                        description: >-
                                          The name of the street of a postal
                                          address.
                                      doorNumber:
                                        type: string
                                        description: >-
                                          The number on the door, building, or
                                          room.
                                      complement:
                                        type: string
                                        description: >-
                                          Additional addressing information, 2nd
                                          line of postal address.
                                      area:
                                        type: string
                                        description: >-
                                          The name of the suburb or area within a
                                          city.
                                      city:
                                        type: string
                                        description: >-
                                          The name of the city of a postal
                                          address.
                                      postalCode:
                                        type: string
                                        description: The postal code.
                                      state:
                                        type: string
                                        description: >-
                                          The name of the state a postal address
                                          is in.
                                      country:
                                        description: The country where the address is in.
                                        type: object
                                        required:
                                          - code
                                        properties:
                                          code:
                                            type: string
                                            description: ISO 3166-1 alpha-2 country code.
                                            pattern: ^[A-Z]{2}$
                                          iso3:
                                            type: string
                                            description: >-
                                              ISO 3-letter country code. Returned by
                                              Payrails, but not interpreted in
                                              requests.
                                            pattern: ^[A-Z]{3}$
                                          name:
                                            type: string
                                            description: >-
                                              The English name of the country.
                                              Returned by Payrails, but not
                                              interpreted in requests.
                                      latitude:
                                        type: number
                                        format: float
                                        description: >-
                                          Latitude of the address in the GPS
                                          coordinate system.
                                      longitude:
                                        type: number
                                        format: float
                                        description: >-
                                          Longitude of the address in the GPS
                                          coordinate system.
                                      phone:
                                        description: >-
                                          The phone to contact in the address (can
                                          be different that the customer's).
                                        type: object
                                        required:
                                          - number
                                        properties:
                                          countryCode:
                                            type: string
                                            pattern: ^\+?[0-9]+$
                                            description: >-
                                              International prefix of the phone, if
                                              known separately.
                                          number:
                                            type: string
                                            pattern: ^[0-9]+$
                                            description: >-
                                              The local number of the phone, such that
                                              `countryCode` + `number` can be dialed.
                                      alias:
                                        type: string
                                        description: Name of the address, e.g. home, work.
                                      name:
                                        type: string
                                        description: >-
                                          Name of the person to whom the address
                                          belongs to.
                                      lastName:
                                        type: string
                                        description: >-
                                          Last name of the person to whom the
                                          address belongs to.
                                      email:
                                        type: string
                                        description: >-
                                          Email of the person to whom the address
                                          belongs to.
                                  email:
                                    type: string
                                    format: email
                                    description: The email address of the account holder.
                                  dob:
                                    type: string
                                    format: date
                                    description: >-
                                      The date of birth of the account holder
                                      (YYYY-MM-DD).
                                  country:
                                    description: The country of the account holder.
                                    type: object
                                    required:
                                      - code
                                    properties:
                                      code:
                                        type: string
                                        description: ISO 3166-1 alpha-2 country code.
                                        pattern: ^[A-Z]{2}$
                                      iso3:
                                        type: string
                                        description: >-
                                          ISO 3-letter country code. Returned by
                                          Payrails, but not interpreted in
                                          requests.
                                        pattern: ^[A-Z]{3}$
                                      name:
                                        type: string
                                        description: >-
                                          The English name of the country.
                                          Returned by Payrails, but not
                                          interpreted in requests.
                                  city:
                                    type: string
                                    description: The city of the account holder.
                                  type:
                                    type: string
                                    enum:
                                      - individual
                                      - corporate
                                    description: The type of account holder.
                              bank:
                                type: object
                                description: The data structure for a bank's information.
                                properties:
                                  name:
                                    type: string
                                    description: The name of the bank.
                                  branchCode:
                                    type: string
                                    description: The branch code of the bank.
                                  code:
                                    type: string
                                    description: The bank code.
                                  address:
                                    description: The address of the bank.
                                    type: object
                                    properties:
                                      street:
                                        type: string
                                        description: >-
                                          The name of the street of a postal
                                          address.
                                      doorNumber:
                                        type: string
                                        description: >-
                                          The number on the door, building, or
                                          room.
                                      complement:
                                        type: string
                                        description: >-
                                          Additional addressing information, 2nd
                                          line of postal address.
                                      area:
                                        type: string
                                        description: >-
                                          The name of the suburb or area within a
                                          city.
                                      city:
                                        type: string
                                        description: >-
                                          The name of the city of a postal
                                          address.
                                      postalCode:
                                        type: string
                                        description: The postal code.
                                      state:
                                        type: string
                                        description: >-
                                          The name of the state a postal address
                                          is in.
                                      country:
                                        description: The country where the address is in.
                                        type: object
                                        required:
                                          - code
                                        properties:
                                          code:
                                            type: string
                                            description: ISO 3166-1 alpha-2 country code.
                                            pattern: ^[A-Z]{2}$
                                          iso3:
                                            type: string
                                            description: >-
                                              ISO 3-letter country code. Returned by
                                              Payrails, but not interpreted in
                                              requests.
                                            pattern: ^[A-Z]{3}$
                                          name:
                                            type: string
                                            description: >-
                                              The English name of the country.
                                              Returned by Payrails, but not
                                              interpreted in requests.
                                      latitude:
                                        type: number
                                        format: float
                                        description: >-
                                          Latitude of the address in the GPS
                                          coordinate system.
                                      longitude:
                                        type: number
                                        format: float
                                        description: >-
                                          Longitude of the address in the GPS
                                          coordinate system.
                                      phone:
                                        description: >-
                                          The phone to contact in the address (can
                                          be different that the customer's).
                                        type: object
                                        required:
                                          - number
                                        properties:
                                          countryCode:
                                            type: string
                                            pattern: ^\+?[0-9]+$
                                            description: >-
                                              International prefix of the phone, if
                                              known separately.
                                          number:
                                            type: string
                                            pattern: ^[0-9]+$
                                            description: >-
                                              The local number of the phone, such that
                                              `countryCode` + `number` can be dialed.
                                      alias:
                                        type: string
                                        description: Name of the address, e.g. home, work.
                                      name:
                                        type: string
                                        description: >-
                                          Name of the person to whom the address
                                          belongs to.
                                      lastName:
                                        type: string
                                        description: >-
                                          Last name of the person to whom the
                                          address belongs to.
                                      email:
                                        type: string
                                        description: >-
                                          Email of the person to whom the address
                                          belongs to.
                                  swiftCode:
                                    type: string
                                    description: The SWIFT/BIC code of the bank.
                              account:
                                type: object
                                description: >-
                                  The data structure for an account's
                                  information.
                                properties:
                                  number:
                                    type: string
                                    description: The bank account number.
                                  iban:
                                    type: string
                                    description: >-
                                      The International Bank Account Number
                                      (IBAN).
                                  currency:
                                    type: string
                                    pattern: ^[A-Z]{3}$
                                    example: USD
                                    description: ISO 3-letter currency code.
                                  country:
                                    description: The country of the account.
                                    type: object
                                    required:
                                      - code
                                    properties:
                                      code:
                                        type: string
                                        description: ISO 3166-1 alpha-2 country code.
                                        pattern: ^[A-Z]{2}$
                                      iso3:
                                        type: string
                                        description: >-
                                          ISO 3-letter country code. Returned by
                                          Payrails, but not interpreted in
                                          requests.
                                        pattern: ^[A-Z]{3}$
                                      name:
                                        type: string
                                        description: >-
                                          The English name of the country.
                                          Returned by Payrails, but not
                                          interpreted in requests.
                                  type:
                                    type: string
                                    enum:
                                      - savings
                                      - current
                                    description: The type of bank account.
                          - title: PayPal
                            type: object
                            description: Data specific to a PayPal instrument.
                            properties:
                              email:
                                type: string
                                description: Email of the PayPal account.
                              payerId:
                                type: string
                                description: ID of the PayPal payer account.
                              billingAddress:
                                description: Billing Address of the instrument.
                                type: object
                                properties:
                                  street:
                                    type: string
                                    description: >-
                                      The name of the street of a postal
                                      address.
                                  doorNumber:
                                    type: string
                                    description: The number on the door, building, or room.
                                  complement:
                                    type: string
                                    description: >-
                                      Additional addressing information, 2nd
                                      line of postal address.
                                  area:
                                    type: string
                                    description: >-
                                      The name of the suburb or area within a
                                      city.
                                  city:
                                    type: string
                                    description: The name of the city of a postal address.
                                  postalCode:
                                    type: string
                                    description: The postal code.
                                  state:
                                    type: string
                                    description: >-
                                      The name of the state a postal address is
                                      in.
                                  country:
                                    description: The country where the address is in.
                                    type: object
                                    required:
                                      - code
                                    properties:
                                      code:
                                        type: string
                                        description: ISO 3166-1 alpha-2 country code.
                                        pattern: ^[A-Z]{2}$
                                      iso3:
                                        type: string
                                        description: >-
                                          ISO 3-letter country code. Returned by
                                          Payrails, but not interpreted in
                                          requests.
                                        pattern: ^[A-Z]{3}$
                                      name:
                                        type: string
                                        description: >-
                                          The English name of the country.
                                          Returned by Payrails, but not
                                          interpreted in requests.
                                  latitude:
                                    type: number
                                    format: float
                                    description: >-
                                      Latitude of the address in the GPS
                                      coordinate system.
                                  longitude:
                                    type: number
                                    format: float
                                    description: >-
                                      Longitude of the address in the GPS
                                      coordinate system.
                                  phone:
                                    description: >-
                                      The phone to contact in the address (can
                                      be different that the customer's).
                                    type: object
                                    required:
                                      - number
                                    properties:
                                      countryCode:
                                        type: string
                                        pattern: ^\+?[0-9]+$
                                        description: >-
                                          International prefix of the phone, if
                                          known separately.
                                      number:
                                        type: string
                                        pattern: ^[0-9]+$
                                        description: >-
                                          The local number of the phone, such that
                                          `countryCode` + `number` can be dialed.
                                  alias:
                                    type: string
                                    description: Name of the address, e.g. home, work.
                                  name:
                                    type: string
                                    description: >-
                                      Name of the person to whom the address
                                      belongs to.
                                  lastName:
                                    type: string
                                    description: >-
                                      Last name of the person to whom the
                                      address belongs to.
                                  email:
                                    type: string
                                    description: >-
                                      Email of the person to whom the address
                                      belongs to.
                          - title: GooglePay
                            type: object
                            description: Data specific to a GooglePay instrument.
                            allOf:
                              - type: object
                                required:
                                  - network
                                  - suffix
                                properties:
                                  network:
                                    type: string
                                    description: Network of the instrument.
                                    enum:
                                      - unspecified
                                      - visa
                                      - visadankort
                                      - mastercard
                                      - amex
                                      - diners
                                      - discover
                                      - unionpay
                                      - unionpayuzcard
                                      - maestro
                                      - maestrobancontact
                                      - hipercard
                                      - jcb
                                      - jcblankapay
                                      - argencard
                                      - aura
                                      - belkart
                                      - bpfuelcard
                                      - cabal
                                      - carnet
                                      - cirrus
                                      - chjonesfuelcard
                                      - uzcard
                                      - codensa
                                      - dankort
                                      - dinacard
                                      - duet
                                      - ebt
                                      - eftpos
                                      - elo
                                      - euroshellfuelcard
                                      - gecapital
                                      - bc
                                      - hrgstore
                                      - humo
                                      - lankapay
                                      - lukoilfuelcard
                                      - bancontact
                                      - meeza
                                      - newday
                                      - mir
                                      - ourocard
                                      - pagobancomat
                                      - paypak
                                      - paypal
                                      - phhfuelcard
                                      - prostir
                                      - rupay
                                      - sbercard
                                      - sodexo
                                      - starrewards
                                      - cencosud
                                      - naranja
                                      - troy
                                      - uatp
                                      - ukfuelcard
                                      - verve
                                      - voyager
                                      - vpay
                                      - wex
                                      - cmi
                                      - atm
                                      - bankcard
                                      - localbrand
                                      - loyalty
                                      - privatelabel
                                      - fuelcard
                                      - redfuelcard
                                      - redliquidfuelcard
                                  networkDisplayName:
                                    type: string
                                    description: Display-friendly name of the network.
                                  binLookup:
                                    description: Information about an issuer.
                                    type: object
                                    properties:
                                      network:
                                        type: string
                                        description: Network of the instrument.
                                        enum:
                                          - unspecified
                                          - visa
                                          - visadankort
                                          - mastercard
                                          - amex
                                          - diners
                                          - discover
                                          - unionpay
                                          - unionpayuzcard
                                          - maestro
                                          - maestrobancontact
                                          - hipercard
                                          - jcb
                                          - jcblankapay
                                          - argencard
                                          - aura
                                          - belkart
                                          - bpfuelcard
                                          - cabal
                                          - carnet
                                          - cirrus
                                          - chjonesfuelcard
                                          - uzcard
                                          - codensa
                                          - dankort
                                          - dinacard
                                          - duet
                                          - ebt
                                          - eftpos
                                          - elo
                                          - euroshellfuelcard
                                          - gecapital
                                          - bc
                                          - hrgstore
                                          - humo
                                          - lankapay
                                          - lukoilfuelcard
                                          - bancontact
                                          - meeza
                                          - newday
                                          - mir
                                          - ourocard
                                          - pagobancomat
                                          - paypak
                                          - paypal
                                          - phhfuelcard
                                          - prostir
                                          - rupay
                                          - sbercard
                                          - sodexo
                                          - starrewards
                                          - cencosud
                                          - naranja
                                          - troy
                                          - uatp
                                          - ukfuelcard
                                          - verve
                                          - voyager
                                          - vpay
                                          - wex
                                          - cmi
                                          - atm
                                          - bankcard
                                          - localbrand
                                          - loyalty
                                          - privatelabel
                                          - fuelcard
                                          - redfuelcard
                                          - redliquidfuelcard
                                      localNetwork:
                                        description: >-
                                          Card local network that supports the
                                          card, e.g. CartesBancaires, Dankort,
                                          Mada, Bancontact.
                                        type: string
                                        enum:
                                          - bancontact
                                          - cartesbancaires
                                          - dankort
                                          - mada
                                      issuer:
                                        type: string
                                        description: >-
                                          Name of the bank or institution that
                                          issued the card.
                                      issuerCountry:
                                        description: >-
                                          Country of the bank or institution that
                                          issued the card.
                                        type: object
                                        required:
                                          - code
                                        properties:
                                          code:
                                            type: string
                                            description: ISO 3166-1 alpha-2 country code.
                                            pattern: ^[A-Z]{2}$
                                          iso3:
                                            type: string
                                            description: >-
                                              ISO 3-letter country code. Returned by
                                              Payrails, but not interpreted in
                                              requests.
                                            pattern: ^[A-Z]{3}$
                                          name:
                                            type: string
                                            description: >-
                                              The English name of the country.
                                              Returned by Payrails, but not
                                              interpreted in requests.
                                      segment:
                                        type: string
                                        description: >-
                                          Segment of the card, e.g. gold, black,
                                          business.
                                      type:
                                        type: string
                                        description: >-
                                          Type of the card, e.g. credit, debit,
                                          prepaid, gift.
                                      typeDetails:
                                        type: string
                                        description: >-
                                          More information about the card type,
                                          e.g. personal, commercial.
                                      isNetworkToken:
                                        type: boolean
                                        description: >
                                          Indicates whether the card credential
                                          represents a network token rather than a
                                          primary account number (PAN).
                                      isFlexCard:
                                        type: boolean
                                        description: >
                                          Indicates whether the card is enrolled
                                          in a Flexible Credential or Flex Card
                                          program supported by the network - e.g.
                                          Visa Flexible Credential, Mastercard
                                          FlexCard.
                                  billingAddress:
                                    description: Billing Address of the instrument.
                                    type: object
                                    properties:
                                      street:
                                        type: string
                                        description: >-
                                          The name of the street of a postal
                                          address.
                                      doorNumber:
                                        type: string
                                        description: >-
                                          The number on the door, building, or
                                          room.
                                      complement:
                                        type: string
                                        description: >-
                                          Additional addressing information, 2nd
                                          line of postal address.
                                      area:
                                        type: string
                                        description: >-
                                          The name of the suburb or area within a
                                          city.
                                      city:
                                        type: string
                                        description: >-
                                          The name of the city of a postal
                                          address.
                                      postalCode:
                                        type: string
                                        description: The postal code.
                                      state:
                                        type: string
                                        description: >-
                                          The name of the state a postal address
                                          is in.
                                      country:
                                        description: The country where the address is in.
                                        type: object
                                        required:
                                          - code
                                        properties:
                                          code:
                                            type: string
                                            description: ISO 3166-1 alpha-2 country code.
                                            pattern: ^[A-Z]{2}$
                                          iso3:
                                            type: string
                                            description: >-
                                              ISO 3-letter country code. Returned by
                                              Payrails, but not interpreted in
                                              requests.
                                            pattern: ^[A-Z]{3}$
                                          name:
                                            type: string
                                            description: >-
                                              The English name of the country.
                                              Returned by Payrails, but not
                                              interpreted in requests.
                                      latitude:
                                        type: number
                                        format: float
                                        description: >-
                                          Latitude of the address in the GPS
                                          coordinate system.
                                      longitude:
                                        type: number
                                        format: float
                                        description: >-
                                          Longitude of the address in the GPS
                                          coordinate system.
                                      phone:
                                        description: >-
                                          The phone to contact in the address (can
                                          be different that the customer's).
                                        type: object
                                        required:
                                          - number
                                        properties:
                                          countryCode:
                                            type: string
                                            pattern: ^\+?[0-9]+$
                                            description: >-
                                              International prefix of the phone, if
                                              known separately.
                                          number:
                                            type: string
                                            pattern: ^[0-9]+$
                                            description: >-
                                              The local number of the phone, such that
                                              `countryCode` + `number` can be dialed.
                                      alias:
                                        type: string
                                        description: Name of the address, e.g. home, work.
                                      name:
                                        type: string
                                        description: >-
                                          Name of the person to whom the address
                                          belongs to.
                                      lastName:
                                        type: string
                                        description: >-
                                          Last name of the person to whom the
                                          address belongs to.
                                      email:
                                        type: string
                                        description: >-
                                          Email of the person to whom the address
                                          belongs to.
                                  shippingAddress:
                                    description: Shipping Address provided by the wallet.
                                    type: object
                                    properties:
                                      street:
                                        type: string
                                        description: >-
                                          The name of the street of a postal
                                          address.
                                      doorNumber:
                                        type: string
                                        description: >-
                                          The number on the door, building, or
                                          room.
                                      complement:
                                        type: string
                                        description: >-
                                          Additional addressing information, 2nd
                                          line of postal address.
                                      area:
                                        type: string
                                        description: >-
                                          The name of the suburb or area within a
                                          city.
                                      city:
                                        type: string
                                        description: >-
                                          The name of the city of a postal
                                          address.
                                      postalCode:
                                        type: string
                                        description: The postal code.
                                      state:
                                        type: string
                                        description: >-
                                          The name of the state a postal address
                                          is in.
                                      country:
                                        description: The country where the address is in.
                                        type: object
                                        required:
                                          - code
                                        properties:
                                          code:
                                            type: string
                                            description: ISO 3166-1 alpha-2 country code.
                                            pattern: ^[A-Z]{2}$
                                          iso3:
                                            type: string
                                            description: >-
                                              ISO 3-letter country code. Returned by
                                              Payrails, but not interpreted in
                                              requests.
                                            pattern: ^[A-Z]{3}$
                                          name:
                                            type: string
                                            description: >-
                                              The English name of the country.
                                              Returned by Payrails, but not
                                              interpreted in requests.
                                      latitude:
                                        type: number
                                        format: float
                                        description: >-
                                          Latitude of the address in the GPS
                                          coordinate system.
                                      longitude:
                                        type: number
                                        format: float
                                        description: >-
                                          Longitude of the address in the GPS
                                          coordinate system.
                                      phone:
                                        description: >-
                                          The phone to contact in the address (can
                                          be different that the customer's).
                                        type: object
                                        required:
                                          - number
                                        properties:
                                          countryCode:
                                            type: string
                                            pattern: ^\+?[0-9]+$
                                            description: >-
                                              International prefix of the phone, if
                                              known separately.
                                          number:
                                            type: string
                                            pattern: ^[0-9]+$
                                            description: >-
                                              The local number of the phone, such that
                                              `countryCode` + `number` can be dialed.
                                      alias:
                                        type: string
                                        description: Name of the address, e.g. home, work.
                                      name:
                                        type: string
                                        description: >-
                                          Name of the person to whom the address
                                          belongs to.
                                      lastName:
                                        type: string
                                        description: >-
                                          Last name of the person to whom the
                                          address belongs to.
                                      email:
                                        type: string
                                        description: >-
                                          Email of the person to whom the address
                                          belongs to.
                                  suffix:
                                    type: string
                                    minLength: 4
                                    maxLength: 4
                                    description: Last digits of the Card number.
                                  expiryMonth:
                                    type: string
                                    minLength: 2
                                    maxLength: 2
                                    description: Expiry month of the Card.
                                  expiryYear:
                                    type: string
                                    minLength: 4
                                    maxLength: 4
                                    description: Expiry year of the Card.
                                  paymentToken:
                                    type: string
                                    description: >-
                                      One-time payment token sent by client-side
                                      for execution of payment on backend.
                                  eci:
                                    type: string
                                    description: >-
                                      Payment System-specific value provided by
                                      the ACS to indicate the results of the
                                      attempt to authenticate the Cardholder.
                                  cardHolderAuthenticated:
                                    type: boolean
                                    description: >-
                                      Indicates that identification and
                                      verifications (ID&V) was performed on the
                                      returned payment credential.
                              - type: object
                                properties:
                                  googleMessageId:
                                    type: string
                                    description: >-
                                      Unique identifier for the Google Pay
                                      message.
                                  googleMessageExpirationId:
                                    type: string
                                    description: >-
                                      Expiration time for the Google Pay
                                      message.
                          - title: ApplePay
                            type: object
                            description: Data specific to a ApplePay instrument.
                            required:
                              - network
                              - suffix
                            properties:
                              network:
                                type: string
                                description: Network of the instrument.
                                enum:
                                  - unspecified
                                  - visa
                                  - visadankort
                                  - mastercard
                                  - amex
                                  - diners
                                  - discover
                                  - unionpay
                                  - unionpayuzcard
                                  - maestro
                                  - maestrobancontact
                                  - hipercard
                                  - jcb
                                  - jcblankapay
                                  - argencard
                                  - aura
                                  - belkart
                                  - bpfuelcard
                                  - cabal
                                  - carnet
                                  - cirrus
                                  - chjonesfuelcard
                                  - uzcard
                                  - codensa
                                  - dankort
                                  - dinacard
                                  - duet
                                  - ebt
                                  - eftpos
                                  - elo
                                  - euroshellfuelcard
                                  - gecapital
                                  - bc
                                  - hrgstore
                                  - humo
                                  - lankapay
                                  - lukoilfuelcard
                                  - bancontact
                                  - meeza
                                  - newday
                                  - mir
                                  - ourocard
                                  - pagobancomat
                                  - paypak
                                  - paypal
                                  - phhfuelcard
                                  - prostir
                                  - rupay
                                  - sbercard
                                  - sodexo
                                  - starrewards
                                  - cencosud
                                  - naranja
                                  - troy
                                  - uatp
                                  - ukfuelcard
                                  - verve
                                  - voyager
                                  - vpay
                                  - wex
                                  - cmi
                                  - atm
                                  - bankcard
                                  - localbrand
                                  - loyalty
                                  - privatelabel
                                  - fuelcard
                                  - redfuelcard
                                  - redliquidfuelcard
                              networkDisplayName:
                                type: string
                                description: Display-friendly name of the network.
                              binLookup:
                                description: Information about an issuer.
                                type: object
                                properties:
                                  network:
                                    type: string
                                    description: Network of the instrument.
                                    enum:
                                      - unspecified
                                      - visa
                                      - visadankort
                                      - mastercard
                                      - amex
                                      - diners
                                      - discover
                                      - unionpay
                                      - unionpayuzcard
                                      - maestro
                                      - maestrobancontact
                                      - hipercard
                                      - jcb
                                      - jcblankapay
                                      - argencard
                                      - aura
                                      - belkart
                                      - bpfuelcard
                                      - cabal
                                      - carnet
                                      - cirrus
                                      - chjonesfuelcard
                                      - uzcard
                                      - codensa
                                      - dankort
                                      - dinacard
                                      - duet
                                      - ebt
                                      - eftpos
                                      - elo
                                      - euroshellfuelcard
                                      - gecapital
                                      - bc
                                      - hrgstore
                                      - humo
                                      - lankapay
                                      - lukoilfuelcard
                                      - bancontact
                                      - meeza
                                      - newday
                                      - mir
                                      - ourocard
                                      - pagobancomat
                                      - paypak
                                      - paypal
                                      - phhfuelcard
                                      - prostir
                                      - rupay
                                      - sbercard
                                      - sodexo
                                      - starrewards
                                      - cencosud
                                      - naranja
                                      - troy
                                      - uatp
                                      - ukfuelcard
                                      - verve
                                      - voyager
                                      - vpay
                                      - wex
                                      - cmi
                                      - atm
                                      - bankcard
                                      - localbrand
                                      - loyalty
                                      - privatelabel
                                      - fuelcard
                                      - redfuelcard
                                      - redliquidfuelcard
                                  localNetwork:
                                    description: >-
                                      Card local network that supports the card,
                                      e.g. CartesBancaires, Dankort, Mada,
                                      Bancontact.
                                    type: string
                                    enum:
                                      - bancontact
                                      - cartesbancaires
                                      - dankort
                                      - mada
                                  issuer:
                                    type: string
                                    description: >-
                                      Name of the bank or institution that
                                      issued the card.
                                  issuerCountry:
                                    description: >-
                                      Country of the bank or institution that
                                      issued the card.
                                    type: object
                                    required:
                                      - code
                                    properties:
                                      code:
                                        type: string
                                        description: ISO 3166-1 alpha-2 country code.
                                        pattern: ^[A-Z]{2}$
                                      iso3:
                                        type: string
                                        description: >-
                                          ISO 3-letter country code. Returned by
                                          Payrails, but not interpreted in
                                          requests.
                                        pattern: ^[A-Z]{3}$
                                      name:
                                        type: string
                                        description: >-
                                          The English name of the country.
                                          Returned by Payrails, but not
                                          interpreted in requests.
                                  segment:
                                    type: string
                                    description: >-
                                      Segment of the card, e.g. gold, black,
                                      business.
                                  type:
                                    type: string
                                    description: >-
                                      Type of the card, e.g. credit, debit,
                                      prepaid, gift.
                                  typeDetails:
                                    type: string
                                    description: >-
                                      More information about the card type, e.g.
                                      personal, commercial.
                                  isNetworkToken:
                                    type: boolean
                                    description: >
                                      Indicates whether the card credential
                                      represents a network token rather than a
                                      primary account number (PAN).
                                  isFlexCard:
                                    type: boolean
                                    description: >
                                      Indicates whether the card is enrolled in
                                      a Flexible Credential or Flex Card program
                                      supported by the network - e.g. Visa
                                      Flexible Credential, Mastercard FlexCard.
                              billingAddress:
                                description: Billing Address of the instrument.
                                type: object
                                properties:
                                  street:
                                    type: string
                                    description: >-
                                      The name of the street of a postal
                                      address.
                                  doorNumber:
                                    type: string
                                    description: The number on the door, building, or room.
                                  complement:
                                    type: string
                                    description: >-
                                      Additional addressing information, 2nd
                                      line of postal address.
                                  area:
                                    type: string
                                    description: >-
                                      The name of the suburb or area within a
                                      city.
                                  city:
                                    type: string
                                    description: The name of the city of a postal address.
                                  postalCode:
                                    type: string
                                    description: The postal code.
                                  state:
                                    type: string
                                    description: >-
                                      The name of the state a postal address is
                                      in.
                                  country:
                                    description: The country where the address is in.
                                    type: object
                                    required:
                                      - code
                                    properties:
                                      code:
                                        type: string
                                        description: ISO 3166-1 alpha-2 country code.
                                        pattern: ^[A-Z]{2}$
                                      iso3:
                                        type: string
                                        description: >-
                                          ISO 3-letter country code. Returned by
                                          Payrails, but not interpreted in
                                          requests.
                                        pattern: ^[A-Z]{3}$
                                      name:
                                        type: string
                                        description: >-
                                          The English name of the country.
                                          Returned by Payrails, but not
                                          interpreted in requests.
                                  latitude:
                                    type: number
                                    format: float
                                    description: >-
                                      Latitude of the address in the GPS
                                      coordinate system.
                                  longitude:
                                    type: number
                                    format: float
                                    description: >-
                                      Longitude of the address in the GPS
                                      coordinate system.
                                  phone:
                                    description: >-
                                      The phone to contact in the address (can
                                      be different that the customer's).
                                    type: object
                                    required:
                                      - number
                                    properties:
                                      countryCode:
                                        type: string
                                        pattern: ^\+?[0-9]+$
                                        description: >-
                                          International prefix of the phone, if
                                          known separately.
                                      number:
                                        type: string
                                        pattern: ^[0-9]+$
                                        description: >-
                                          The local number of the phone, such that
                                          `countryCode` + `number` can be dialed.
                                  alias:
                                    type: string
                                    description: Name of the address, e.g. home, work.
                                  name:
                                    type: string
                                    description: >-
                                      Name of the person to whom the address
                                      belongs to.
                                  lastName:
                                    type: string
                                    description: >-
                                      Last name of the person to whom the
                                      address belongs to.
                                  email:
                                    type: string
                                    description: >-
                                      Email of the person to whom the address
                                      belongs to.
                              shippingAddress:
                                description: Shipping Address provided by the wallet.
                                type: object
                                properties:
                                  street:
                                    type: string
                                    description: >-
                                      The name of the street of a postal
                                      address.
                                  doorNumber:
                                    type: string
                                    description: The number on the door, building, or room.
                                  complement:
                                    type: string
                                    description: >-
                                      Additional addressing information, 2nd
                                      line of postal address.
                                  area:
                                    type: string
                                    description: >-
                                      The name of the suburb or area within a
                                      city.
                                  city:
                                    type: string
                                    description: The name of the city of a postal address.
                                  postalCode:
                                    type: string
                                    description: The postal code.
                                  state:
                                    type: string
                                    description: >-
                                      The name of the state a postal address is
                                      in.
                                  country:
                                    description: The country where the address is in.
                                    type: object
                                    required:
                                      - code
                                    properties:
                                      code:
                                        type: string
                                        description: ISO 3166-1 alpha-2 country code.
                                        pattern: ^[A-Z]{2}$
                                      iso3:
                                        type: string
                                        description: >-
                                          ISO 3-letter country code. Returned by
                                          Payrails, but not interpreted in
                                          requests.
                                        pattern: ^[A-Z]{3}$
                                      name:
                                        type: string
                                        description: >-
                                          The English name of the country.
                                          Returned by Payrails, but not
                                          interpreted in requests.
                                  latitude:
                                    type: number
                                    format: float
                                    description: >-
                                      Latitude of the address in the GPS
                                      coordinate system.
                                  longitude:
                                    type: number
                                    format: float
                                    description: >-
                                      Longitude of the address in the GPS
                                      coordinate system.
                                  phone:
                                    description: >-
                                      The phone to contact in the address (can
                                      be different that the customer's).
                                    type: object
                                    required:
                                      - number
                                    properties:
                                      countryCode:
                                        type: string
                                        pattern: ^\+?[0-9]+$
                                        description: >-
                                          International prefix of the phone, if
                                          known separately.
                                      number:
                                        type: string
                                        pattern: ^[0-9]+$
                                        description: >-
                                          The local number of the phone, such that
                                          `countryCode` + `number` can be dialed.
                                  alias:
                                    type: string
                                    description: Name of the address, e.g. home, work.
                                  name:
                                    type: string
                                    description: >-
                                      Name of the person to whom the address
                                      belongs to.
                                  lastName:
                                    type: string
                                    description: >-
                                      Last name of the person to whom the
                                      address belongs to.
                                  email:
                                    type: string
                                    description: >-
                                      Email of the person to whom the address
                                      belongs to.
                              suffix:
                                type: string
                                minLength: 4
                                maxLength: 4
                                description: Last digits of the Card number.
                              expiryMonth:
                                type: string
                                minLength: 2
                                maxLength: 2
                                description: Expiry month of the Card.
                              expiryYear:
                                type: string
                                minLength: 4
                                maxLength: 4
                                description: Expiry year of the Card.
                              paymentToken:
                                type: string
                                description: >-
                                  One-time payment token sent by client-side for
                                  execution of payment on backend.
                              eci:
                                type: string
                                description: >-
                                  Payment System-specific value provided by the
                                  ACS to indicate the results of the attempt to
                                  authenticate the Cardholder.
                              cardHolderAuthenticated:
                                type: boolean
                                description: >-
                                  Indicates that identification and
                                  verifications (ID&V) was performed on the
                                  returned payment credential.
                          - title: DCB
                            type: object
                            description: Data specific to a DCB instrument.
                            properties:
                              msisdn:
                                type: string
                                description: >-
                                  Mobile number of the holder MSISDN Stands for
                                  Mobile Station International Subscriber
                                  Directory Number.
                              msisdnTail:
                                type: string
                                description: >-
                                  Last 4 digits of the mobile number of the
                                  holder.
                              country:
                                description: Country of the holder.
                                type: object
                                required:
                                  - code
                                properties:
                                  code:
                                    type: string
                                    description: ISO 3166-1 alpha-2 country code.
                                    pattern: ^[A-Z]{2}$
                                  iso3:
                                    type: string
                                    description: >-
                                      ISO 3-letter country code. Returned by
                                      Payrails, but not interpreted in requests.
                                    pattern: ^[A-Z]{3}$
                                  name:
                                    type: string
                                    description: >-
                                      The English name of the country. Returned
                                      by Payrails, but not interpreted in
                                      requests.
                              carrierNetwork:
                                type: string
                                description: Carrier network of the msisdn.
                          - title: MBWay
                            type: object
                            description: Data specific to an MB WAY instrument.
                            properties:
                              phone:
                                type: object
                                description: >-
                                  Mobile number the payer confirms MB WAY
                                  payments with.
                                properties:
                                  countryCode:
                                    type: string
                                    description: International dialling code, digits only.
                                    example: '351'
                                  number:
                                    type: string
                                    description: National number, digits only.
                                    example: '912345678'
                  - type: object
                    properties:
                      tokens:
                        description: >-
                          List of tokens inside the instrument. Not included by
                          default, `includeTokens` query parameter must be used.
                        type: array
                        items:
                          type: object
                          required:
                            - id
                            - instrumentId
                            - providerId
                            - reference
                            - status
                            - type
                            - createdAt
                            - updatedAt
                          properties:
                            id:
                              type: string
                              format: uuid
                              description: Id of the token in Payrails.
                            createdAt:
                              type: string
                              format: date-time
                              description: >-
                                Date and time when the Token was created in
                                Payrails.
                            updatedAt:
                              type: string
                              format: date-time
                              description: When the Token was last updated.
                            instrumentId:
                              type: string
                              format: uuid
                              description: >-
                                Id of the payment instrument the token belongs
                                to.
                            status:
                              type: string
                              description: Status of the token.
                              enum:
                                - created
                                - enabled
                                - disabled
                                - deleted
                            type:
                              type: string
                              description: Type of the token.
                              enum:
                                - network
                                - vault
                                - psp
                                - networkOffers
                                - networkGateway
                            providerId:
                              type: string
                              format: uuid
                              description: Id of the provider the token belongs to.
                            providerConfigId:
                              type: string
                              format: uuid
                              description: >-
                                Id of the configuration in the provider the
                                token belongs to.
                            reference:
                              type: string
                              description: >-
                                Unique identifier of the token in the provider's
                                system.
                            meta:
                              description: >-
                                Any merchant or provider-specific data that
                                should be stored for context in the token.
                              type: object
                              additionalProperties: true
              examples:
                card:
                  description: Card.
                  value:
                    id: b8fe6271-5d71-4d28-b8e8-89e64acc0c49
                    holderId: 788c7c09-a490-4603-915a-e2a957a6cca1
                    createdAt: '2022-04-22T17:53:36.814Z'
                    updatedAt: '2022-04-22T17:53:36.814Z'
                    paymentMethod: card
                    displayName: Visa **** 1111
                    description: Personal card.
                    merchantReference: ref_C47C47
                    fingerprint: 739abff0-406a-4d32-8cfb-701e12be5848
                    status: created
                    futureUsage: CardOnFile
                    networkTransactionReference: '987654321234567'
                    data:
                      network: visa
                      bin: '411111'
                      suffix: '1111'
                      expiryMonth: '10'
                      expiryYear: '2026'
                      holderName: John Doe
                      billingAddress:
                        country:
                          code: DE
                          name: Germany
                        postalCode: '10117'
                bankAccount:
                  description: BankAccount.
                  value:
                    id: b8fe6271-5d71-4d28-b8e8-89e64acc0c49
                    holderId: 788c7c09-a490-4603-915a-e2a957a6cca1
                    createdAt: '2022-04-22T17:53:36.814Z'
                    updatedAt: '2022-04-22T17:53:36.814Z'
                    paymentMethod: bankAccount
                    description: Personal bank account.
                    merchantReference: ref_C47C47
                    fingerprint: 739abff0-406a-4d32-8cfb-701e12be5848
                    status: created
                    data:
                      holder:
                        firstName: John
                        lastName: Doe
                        companyName: ABC Corp
                        address:
                          streetName: Example St
                          streetNumber: '123'
                          postalCode: '12345'
                          city: Anytown
                          stateOrProvince: CA
                          country: US
                        email: john.doe@example.com
                        dob: '1990-01-15'
                        country:
                          code: US
                          name: United States
                        city: New York
                        type: personal
                      bank:
                        name: Example Bank
                        branchCode: '1234'
                        code: '56789'
                        address:
                          streetName: Bank St
                          streetNumber: '5'
                          postalCode: '98765'
                          city: Banktown
                          stateOrProvince: NY
                          country: US
                        swiftCode: EXABUS33XXX
                        country:
                          code: US
                          name: United States
                      account:
                        number: '1234567890'
                        iban: US123456789012345678901234567890
                        currency: USD
                        type: savings
        '400':
          description: Bad Request.
          content:
            application/json:
              schema:
                type: object
                required:
                  - errors
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      description: >-
                        Error struct that includes the error, cause, reason, and
                        possible resolutions. Check the full documentation
                        [here](https://docs.payrails.com/docs/resources/error-codes#error-structure).
                      required:
                        - id
                        - code
                        - detail
                      properties:
                        id:
                          type: string
                          format: uuid
                          description: >-
                            Unique identifier of the error. Please use this
                            value when reporting an issue to our team, so we can
                            help you faster.
                        code:
                          type: string
                          description: >-
                            Machine-friendly error code assigned to the error.
                            Check the full list of possible values
                            [here](https://docs.payrails.com/docs/resources/error-codes#list-of-error-codes).
                        detail:
                          type: string
                          description: >-
                            Human-readable description about the error, its
                            cause, and resolution.
                        docUrl:
                          type: string
                          description: >-
                            Link to the specific documentation about this
                            particular `code`.
                        reason:
                          type: object
                          additionalProperties: true
                          description: >-
                            Metadata providing more details about the reason of
                            the error. The structure of this object varies
                            according to the `code`.
              example:
                errors:
                  - id: a24bc325-3929-4d9d-9c08-b3aa532685b7
                    code: request.malformed
                    detail: The request has malformed syntax
                    docUrl: >-
                      https://docs.payrails.com/docs/resources/error-codes#requestmalformed
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                type: object
                required:
                  - errors
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      description: >-
                        Error struct that includes the error, cause, reason, and
                        possible resolutions. Check the full documentation
                        [here](https://docs.payrails.com/docs/resources/error-codes#error-structure).
                      required:
                        - id
                        - code
                        - detail
                      properties:
                        id:
                          type: string
                          format: uuid
                          description: >-
                            Unique identifier of the error. Please use this
                            value when reporting an issue to our team, so we can
                            help you faster.
                        code:
                          type: string
                          description: >-
                            Machine-friendly error code assigned to the error.
                            Check the full list of possible values
                            [here](https://docs.payrails.com/docs/resources/error-codes#list-of-error-codes).
                        detail:
                          type: string
                          description: >-
                            Human-readable description about the error, its
                            cause, and resolution.
                        docUrl:
                          type: string
                          description: >-
                            Link to the specific documentation about this
                            particular `code`.
                        reason:
                          type: object
                          additionalProperties: true
                          description: >-
                            Metadata providing more details about the reason of
                            the error. The structure of this object varies
                            according to the `code`.
              example:
                errors:
                  - id: a24bc325-3929-4d9d-9c08-b3aa532685b7
                    code: request.unauthorized
                    detail: >-
                      The request lacks necessary credentials to perform the
                      specified action
                    docUrl: >-
                      https://docs.payrails.com/docs/resources/error-codes#requestunauthorized
        '403':
          description: Insufficient Scope.
          content:
            application/json:
              schema:
                type: object
                required:
                  - errors
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      description: >-
                        Error struct that includes the error, cause, reason, and
                        possible resolutions. Check the full documentation
                        [here](https://docs.payrails.com/docs/resources/error-codes#error-structure).
                      required:
                        - id
                        - code
                        - detail
                      properties:
                        id:
                          type: string
                          format: uuid
                          description: >-
                            Unique identifier of the error. Please use this
                            value when reporting an issue to our team, so we can
                            help you faster.
                        code:
                          type: string
                          description: >-
                            Machine-friendly error code assigned to the error.
                            Check the full list of possible values
                            [here](https://docs.payrails.com/docs/resources/error-codes#list-of-error-codes).
                        detail:
                          type: string
                          description: >-
                            Human-readable description about the error, its
                            cause, and resolution.
                        docUrl:
                          type: string
                          description: >-
                            Link to the specific documentation about this
                            particular `code`.
                        reason:
                          type: object
                          additionalProperties: true
                          description: >-
                            Metadata providing more details about the reason of
                            the error. The structure of this object varies
                            according to the `code`.
              example:
                errors:
                  - id: e7db22b3-914e-4975-928e-9edfb0885bea
                    code: request.forbidden
                    detail: >-
                      The request credentials lack the required permissions to
                      perform the specified action
                    docUrl: >-
                      https://docs.payrails.com/docs/resources/error-codes#requestforbidden
        '404':
          description: Not Found.
          content:
            application/json:
              schema:
                type: object
                required:
                  - errors
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      description: >-
                        Error struct that includes the error, cause, reason, and
                        possible resolutions. Check the full documentation
                        [here](https://docs.payrails.com/docs/resources/error-codes#error-structure).
                      required:
                        - id
                        - code
                        - detail
                      properties:
                        id:
                          type: string
                          format: uuid
                          description: >-
                            Unique identifier of the error. Please use this
                            value when reporting an issue to our team, so we can
                            help you faster.
                        code:
                          type: string
                          description: >-
                            Machine-friendly error code assigned to the error.
                            Check the full list of possible values
                            [here](https://docs.payrails.com/docs/resources/error-codes#list-of-error-codes).
                        detail:
                          type: string
                          description: >-
                            Human-readable description about the error, its
                            cause, and resolution.
                        docUrl:
                          type: string
                          description: >-
                            Link to the specific documentation about this
                            particular `code`.
                        reason:
                          type: object
                          additionalProperties: true
                          description: >-
                            Metadata providing more details about the reason of
                            the error. The structure of this object varies
                            according to the `code`.
              example:
                errors:
                  - id: a24bc325-3929-4d9d-9c08-b3aa532685b7
                    code: request.not-found
                    detail: The requested resource was not found
                    docUrl: >-
                      https://docs.payrails.com/docs/resources/error-codes#requestnot-found
        '429':
          description: Too Many Requests.
          content:
            application/json:
              schema:
                type: object
                required:
                  - errors
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      description: >-
                        Error struct that includes the error, cause, reason, and
                        possible resolutions. Check the full documentation
                        [here](https://docs.payrails.com/docs/resources/error-codes#error-structure).
                      required:
                        - id
                        - code
                        - detail
                      properties:
                        id:
                          type: string
                          format: uuid
                          description: >-
                            Unique identifier of the error. Please use this
                            value when reporting an issue to our team, so we can
                            help you faster.
                        code:
                          type: string
                          description: >-
                            Machine-friendly error code assigned to the error.
                            Check the full list of possible values
                            [here](https://docs.payrails.com/docs/resources/error-codes#list-of-error-codes).
                        detail:
                          type: string
                          description: >-
                            Human-readable description about the error, its
                            cause, and resolution.
                        docUrl:
                          type: string
                          description: >-
                            Link to the specific documentation about this
                            particular `code`.
                        reason:
                          type: object
                          additionalProperties: true
                          description: >-
                            Metadata providing more details about the reason of
                            the error. The structure of this object varies
                            according to the `code`.
              example:
                errors:
                  - id: a24bc325-3929-4d9d-9c08-b3aa532685b7
                    code: request.rate-limit
                    detail: Too many requests
                    docUrl: >-
                      https://docs.payrails.com/docs/resources/error-codes#requestrate-limit
      security:
        - BearerToken:
            - instruments:create
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >
        You can use your secret API key in the `x-api-key` header of your API
        requests for supported endpoints: `x-api-key: <YOUR_API_KEY_HERE>`.

        API keys are environment specific and should be securely guarded.


        You don't have your API key yet? Contact your Payrails account manager.
    BearerToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >
        You can use an OAuth2 JWT bearer token in the `Authorization` header of
        your API requests for supported endpoints: `Authorization: Bearer
        <YOUR_JWT_HERE>`.

        These tokens are valid for 10 minutes and can be requested via the
        [access token endpoint](#operation/getOAuthToken) endpoint.

````

## Related topics

- [Create a workflow configuration](/reference/createworkflowconfiguration.md)
- [Actions](/docs/orchestration/workflow-studio/actions.md)
- [Roles & Permissions](/docs/account-setup/user-management/roles-permissions.md)


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