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

# Create a destination

> Creates a destination.

- The body depends on `rail`. Each rail accepts only the fields listed for it.
- When `holder.relationship` is `SELF`, `holder.type` and `holder.taxId` must match the customer's.



## OpenAPI

````yaml /openapi/api-production.yaml post /destinations
openapi: 3.1.0
info:
  version: 1.0.0
  title: Lumx API
  description: >-
    A cross-border banking API with instant settlements and unmatched liquidity,
    powered by stablecoins.
servers:
  - url: https://api-sandbox.lumx.io
security: []
paths:
  /destinations:
    post:
      tags:
        - Destinations
      summary: Create a destination
      description: >-
        Creates a destination.


        - The body depends on `rail`. Each rail accepts only the fields listed
        for it.

        - When `holder.relationship` is `SELF`, `holder.type` and `holder.taxId`
        must match the customer's.
      parameters:
        - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            examples:
              PIX:
                summary: PIX, business holder (SELF)
                value:
                  customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
                  name: Lumx Brazil Operations Account
                  rail: PIX
                  currency: BRL
                  identifier:
                    keyType: CNPJ
                    keyValue: 31.934.672/0001-06
                  holder:
                    type: BUSINESS
                    relationship: SELF
                    legalName: Atlas Pagamentos Ltda
                    taxId: 31.934.672/0001-06
                    incorporationDate: '2014-10-15'
                    email: finance@atlaspagamentos.example.com
                    address:
                      line1: Rua Voluntarios da Patria 89
                      line2: Sala 501
                      city: Rio de Janeiro
                      state: RJ
                      postalCode: 22270-000
                      country: BRA
              PIX_WITHOUT_HOLDER:
                summary: PIX without holder
                value:
                  customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
                  name: Lumx Brazil Collections Key
                  type: EXTERNAL
                  rail: PIX
                  currency: BRL
                  identifier:
                    keyType: RANDOM
                    keyValue: 7d9f0b6e-3c1a-4e8b-9f2d-5a6b7c8d9e0f
              ACH:
                summary: ACH, business holder
                value:
                  customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
                  name: Lumx US Operations Account
                  rail: ACH
                  currency: USD
                  identifier:
                    type: CHECKING
                    accountNumber: '123456789012'
                    routingNumber: '021000021'
                  bank:
                    name: JPMorgan Chase Bank
                    address:
                      line1: 383 Madison Avenue
                      city: New York
                      state: NY
                      postalCode: '10179'
                      country: USA
                  holder:
                    type: BUSINESS
                    relationship: SUBSIDIARY_COMPANY
                    legalName: Lumx US Inc
                    taxId: 12-3456789
                    incorporationDate: '2020-03-15'
                    email: us@lumx.io
                    address:
                      line1: 100 Wall Street
                      line2: Floor 12
                      city: New York
                      state: NY
                      postalCode: '10005'
                      country: USA
              FEDWIRE:
                summary: FEDWIRE, individual holder
                value:
                  customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
                  name: John Smith Savings Account
                  rail: FEDWIRE
                  currency: USD
                  identifier:
                    type: SAVINGS
                    accountNumber: '987654321'
                    routingNumber: '026009593'
                  bank:
                    name: Bank of America
                    address:
                      line1: 100 North Tryon Street
                      city: Charlotte
                      state: NC
                      postalCode: '28255'
                      country: USA
                  holder:
                    type: INDIVIDUAL
                    relationship: BUSINESS_PARTNER
                    name: John Smith
                    taxId: 123-45-6789
                    birthDate: '1980-07-04'
                    email: john.smith@example.com
                    address:
                      line1: 350 5th Avenue
                      city: New York
                      state: NY
                      postalCode: 10118-0110
                      country: USA
              SWIFT:
                summary: SWIFT with IBAN, individual holder
                value:
                  customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
                  name: Lukas Weber USD Account
                  rail: SWIFT
                  currency: USD
                  identifier:
                    iban: DE89370400440532013000
                    bic: COBADEFFXXX
                  bank:
                    name: Commerzbank AG
                    address:
                      line1: Kaiserplatz 1
                      city: Frankfurt am Main
                      state: HE
                      postalCode: '60311'
                      country: DEU
                  holder:
                    type: INDIVIDUAL
                    relationship: CUSTOMER
                    name: Lukas Weber
                    taxId: '86095742719'
                    birthDate: '1988-02-29'
                    email: lukas.weber@example.com
                    address:
                      line1: Zeil 106
                      city: Frankfurt am Main
                      state: HE
                      postalCode: '60313'
                      country: DEU
              SWIFT_ACCOUNT_NUMBER:
                summary: SWIFT with account number and intermediary, business holder
                value:
                  customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
                  name: Lumx Cayman Holdings Account
                  rail: SWIFT
                  currency: USD
                  identifier:
                    accountNumber: '1234567890'
                    bic: BUTTKYKY
                  bank:
                    name: Butterfield Bank Cayman
                    address:
                      line1: 65 Market Street
                      city: George Town
                      state: Grand Cayman
                      postalCode: KY1-1107
                      country: CYM
                  holder:
                    type: BUSINESS
                    relationship: HOLDING_COMPANY
                    legalName: Lumx Cayman Ltd
                    taxId: 123456-7
                    incorporationDate: '2019-01-15'
                    email: holding@lumx.io
                    address:
                      line1: Grand Pavilion Hibiscus Way
                      city: George Town
                      state: Grand Cayman
                      postalCode: KY1-1205
                      country: CYM
                  intermediary:
                    name: JPMorgan Chase Bank NA
                    bic: CHASUS33
                    country: USA
              SEPA:
                summary: SEPA, individual holder
                value:
                  customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
                  name: Marie Dubois Payroll Account
                  rail: SEPA
                  currency: EUR
                  identifier:
                    iban: FR1420041010050500013M02606
                    bic: BNPAFRPP
                  bank:
                    name: BNP Paribas
                    address:
                      country: FRA
                  holder:
                    type: INDIVIDUAL
                    relationship: EMPLOYEE
                    name: Marie Dubois
                    taxId: '1850578006084'
                    birthDate: '1985-05-12'
                    email: marie.dubois@example.com
                    address:
                      line1: 45 Avenue Montaigne
                      city: Paris
                      postalCode: '75008'
                      country: FRA
              SEPA_BUSINESS_FULL_ADDRESS:
                summary: SEPA, business holder with full addresses
                value:
                  customerId: a97f1a81-6f56-43a9-899a-5863322dfba9
                  name: Rossi Credit Account
                  rail: SEPA
                  currency: EUR
                  identifier:
                    iban: IT60X0542811101000000123456
                    bic: BPMOIT22
                  bank:
                    name: Banca Popolare di Milano
                    address:
                      line1: Piazza Filippo Meda 4
                      city: Milano
                      state: '25'
                      postalCode: '20121'
                      country: ITA
                  holder:
                    type: BUSINESS
                    relationship: CREDITOR
                    legalName: Rossi Finanziaria SRL
                    taxId: IT12345678901
                    incorporationDate: '2012-04-18'
                    email: finance@rossifinanziaria.it
                    address:
                      line1: Via Dante 15
                      line2: Scala B
                      city: Milano
                      state: '25'
                      postalCode: '20123'
                      country: ITA
              FPS:
                summary: FPS, business holder
                value:
                  customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
                  name: Lumx UK Supplier Account
                  rail: FPS
                  currency: GBP
                  identifier:
                    accountNumber: '00125977'
                    sortCode: '040509'
                  bank:
                    name: Barclays Bank UK
                    address:
                      country: GBR
                  holder:
                    type: BUSINESS
                    relationship: SUPPLIER
                    legalName: Thames Logistics Ltd
                    taxId: GB123456789
                    incorporationDate: '2016-03-01'
                    email: accounts@thameslogistics.co.uk
                    address:
                      country: GBR
              SPEI:
                summary: SPEI, business holder
                value:
                  customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
                  name: Lumx Mexico Operations Account
                  rail: SPEI
                  currency: MXN
                  identifier:
                    clabe: '012180001234567899'
                  holder:
                    type: BUSINESS
                    relationship: BRANCH_OFFICE
                    legalName: Lumx Mexico SA de CV
                    taxId: LME200101AB1
                    email: mx@lumx.io
              SPEI_INDIVIDUAL:
                summary: SPEI, individual holder with address
                value:
                  customerId: a97f1a81-6f56-43a9-899a-5863322dfba9
                  name: Carlos Ramirez MXN Account
                  rail: SPEI
                  currency: MXN
                  identifier:
                    clabe: '012180001234567899'
                  holder:
                    type: INDIVIDUAL
                    relationship: FRIEND
                    name: Carlos Ramirez
                    taxId: RAMC850101HDFMRR09
                    email: carlos.ramirez@example.com
                    address:
                      line1: Avenida Insurgentes Sur 1458
                      city: Ciudad de Mexico
                      state: CMX
                      postalCode: '03230'
                      country: MEX
            schema:
              oneOf:
                - type: object
                  title: PIX
                  description: Destination's rail is PIX.
                  allOf:
                    - $ref: '#/components/schemas/DestinationPixRequest'
                - type: object
                  title: ACH
                  description: Destination's rail is ACH.
                  allOf:
                    - $ref: '#/components/schemas/DestinationAchRequest'
                - type: object
                  title: FEDWIRE
                  description: Destination's rail is FEDWIRE.
                  allOf:
                    - $ref: '#/components/schemas/DestinationFedwireRequest'
                - type: object
                  title: SWIFT
                  description: Destination's rail is SWIFT.
                  allOf:
                    - $ref: '#/components/schemas/DestinationSwiftRequest'
                - type: object
                  title: SEPA
                  description: Destination's rail is SEPA.
                  allOf:
                    - $ref: '#/components/schemas/DestinationSepaRequest'
                - type: object
                  title: FPS
                  description: Destination's rail is FPS.
                  allOf:
                    - $ref: '#/components/schemas/DestinationFpsRequest'
                - type: object
                  title: SPEI
                  description: Destination's rail is SPEI.
                  allOf:
                    - $ref: '#/components/schemas/DestinationSpeiRequest'
      responses:
        '201':
          description: Destination successfully created.
          content:
            application/json:
              examples:
                PIX:
                  $ref: '#/components/examples/DestinationPixExample'
                PIX_WITHOUT_HOLDER:
                  $ref: '#/components/examples/DestinationPixWithoutHolderExample'
                ACH:
                  $ref: '#/components/examples/DestinationAchExample'
                FEDWIRE:
                  $ref: '#/components/examples/DestinationFedwireExample'
                SWIFT:
                  $ref: '#/components/examples/DestinationSwiftExample'
                SWIFT_ACCOUNT_NUMBER:
                  $ref: '#/components/examples/DestinationSwiftAccountNumberExample'
                SEPA:
                  $ref: '#/components/examples/DestinationSepaExample'
                SEPA_BUSINESS_FULL_ADDRESS:
                  $ref: '#/components/examples/DestinationSepaBusinessExample'
                FPS:
                  $ref: '#/components/examples/DestinationFpsExample'
                SPEI:
                  $ref: '#/components/examples/DestinationSpeiExample'
                SPEI_INDIVIDUAL:
                  $ref: '#/components/examples/DestinationSpeiIndividualExample'
              schema:
                oneOf:
                  - type: object
                    title: PIX
                    description: Destination's rail is PIX.
                    allOf:
                      - $ref: '#/components/schemas/DestinationPixResponse'
                  - type: object
                    title: ACH
                    description: Destination's rail is ACH.
                    allOf:
                      - $ref: '#/components/schemas/DestinationAchResponse'
                  - type: object
                    title: FEDWIRE
                    description: Destination's rail is FEDWIRE.
                    allOf:
                      - $ref: '#/components/schemas/DestinationFedwireResponse'
                  - type: object
                    title: SWIFT
                    description: Destination's rail is SWIFT.
                    allOf:
                      - $ref: '#/components/schemas/DestinationSwiftResponse'
                  - type: object
                    title: SEPA
                    description: Destination's rail is SEPA.
                    allOf:
                      - $ref: '#/components/schemas/DestinationSepaResponse'
                  - type: object
                    title: FPS
                    description: Destination's rail is FPS.
                    allOf:
                      - $ref: '#/components/schemas/DestinationFpsResponse'
                  - type: object
                    title: SPEI
                    description: Destination's rail is SPEI.
                    allOf:
                      - $ref: '#/components/schemas/DestinationSpeiResponse'
        '400':
          description: >-
            Bad request. Possible codes:


            - `VALIDATION_ERROR`: rail is missing or not one of PIX, SPEI,
            SWIFT, SEPA, ACH, FEDWIRE, FPS.

            - `VALIDATION_ERROR`: The body fails the rail-specific schema (field
            formats, currency for the rail, holder fields for the holder type,
            unknown fields, sanctioned country, bank country for US rails,
            exactly one of iban/accountNumber for SWIFT, etc.).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                requestId: 9a6ecb38-7679-4190-926a-b60b73a140c5
                timestamp: '2026-11-04T16:51:44.672Z'
                path: /destinations
                status: 400
                code: VALIDATION_ERROR
                message: The request body contains invalid parameters.
                validationErrors:
                  - param: identifier.routingNumber
                    message: routingNumber must be a valid 9-digit ABA routing number
        '401':
          description: |-
            Unauthorized. Possible codes:

            - `UNAUTHORIZED`: The API key is missing, invalid or inactive.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                requestId: 00000000-0000-4000-8000-000000000003
                timestamp: '2026-11-04T17:00:00.000Z'
                path: /destinations
                status: 401
                code: UNAUTHORIZED
                message: Unauthorized
        '403':
          description: >-
            Forbidden. Possible codes:


            - `FORBIDDEN`: The API key doesn't have the scope this route
            requires.

            - `PROJECT_READ_ONLY`: The project is read-only and doesn't accept
            writes.

            - `FORBIDDEN`: The project is restricted to transactions and can't
            use this route.

            - `HOLDER_TYPE_MISMATCH`: holder.relationship is SELF and
            holder.type differs from the customer type.

            - `HOLDER_TAX_ID_MISMATCH`: holder.relationship is SELF and
            holder.taxId differs from the customer tax ID.

            - `PROJECT_DEACTIVATED`: The project is deactivated.

            - `RAIL_NOT_ENABLED`: The rail is not enabled for the project.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                requestId: 69becc28-c85f-4fac-9845-84a56a068650
                timestamp: '2026-11-04T16:51:45.981Z'
                path: /destinations
                status: 403
                code: HOLDER_TAX_ID_MISMATCH
                message: >-
                  Holder tax id must match customer tax id when relationship is
                  SELF
        '404':
          description: |-
            Not found. Possible codes:

            - `CUSTOMER_NOT_FOUND`: customerId does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                requestId: 847a91b9-921f-48d1-8cd3-b5ecd2d9d7cd
                timestamp: '2026-11-04T16:51:49.071Z'
                path: /destinations
                status: 404
                code: CUSTOMER_NOT_FOUND
                message: >-
                  Customer with id 00000000-0000-4000-8000-000000000000 not
                  found
        '409':
          description: >-
            Conflict. Possible codes:


            - `IDEMPOTENCY_KEY_CONFLICT`: The `Idempotency-Key` was already used
            with a different request body.

            - `IDEMPOTENCY_KEY_IN_FLIGHT`: A request with the same
            `Idempotency-Key` is still being processed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                requestId: 7eaadb66-4b15-47de-a4ee-4b9e0558b9dc
                timestamp: '2026-11-04T16:52:19.754Z'
                path: /destinations
                status: 409
                code: IDEMPOTENCY_KEY_CONFLICT
                message: Idempotency key already used with a different request body
        '500':
          description: >-
            Server error. Possible codes:


            - `UPSTREAM_SERVICE_ERROR`: An internal service failed. Can also
            come with status `502`. Retry later, and contact support with the
            `requestId` if it persists.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                requestId: 00000000-0000-4000-8000-000000000004
                timestamp: '2026-11-04T17:00:00.000Z'
                path: /destinations
                status: 500
                code: UPSTREAM_SERVICE_ERROR
                message: An unexpected error occurred.
      security:
        - apiKey: []
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      schema:
        type: string
      description: >-
        Optional idempotency key: any string, a UUID v4 is recommended.
        Resending the same key with a different request body is a conflict.
        Cached responses include the header `X-Idempotent-Cached: true`. Keys
        expire after 24 hours.
  schemas:
    DestinationPixRequest:
      type: object
      properties:
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: >-
            Destination's display name. Accents are removed and any character
            other than letters, digits, spaces and hyphens is stripped.
          example: Lumx Brazil Operations Account
        type:
          type: string
          enum:
            - EXTERNAL
          description: >-
            Destination's type. Only `EXTERNAL` is accepted. The response does
            not return this field.
          example: EXTERNAL
        rail:
          type: string
          enum:
            - PIX
          description: Destination's payment rail.
          example: PIX
        currency:
          type: string
          enum:
            - BRL
          description: Destination's currency.
          example: BRL
        identifier:
          type: object
          description: Destination's PIX key.
          properties:
            keyType:
              type: string
              enum:
                - CPF
                - CNPJ
                - EMAIL
                - PHONE
                - RANDOM
              description: >-
                PIX key type. `CPF`: individual tax ID. `CNPJ`: business tax ID.
                `EMAIL`: email address. `PHONE`: Brazilian phone number.
                `RANDOM`: random key (UUID).
              example: CNPJ
            keyValue:
              type: string
              description: >-
                PIX key value, validated against `keyType`. `CPF` and `CNPJ`:
                valid check digits; dots, hyphens and slashes are removed.
                `PHONE`: `+55` is prepended when missing. `RANDOM`: a UUID.
              example: '31934672000106'
          required:
            - keyType
            - keyValue
        holder:
          description: Destination's holder.
          type: object
          properties:
            type:
              type: string
              enum:
                - INDIVIDUAL
                - BUSINESS
              description: >-
                Holder's type, in uppercase. `INDIVIDUAL` requires `name`;
                `BUSINESS` requires `legalName`.
              example: BUSINESS
            relationship:
              type: string
              enum:
                - SELF
                - BUSINESS_PARTNER
                - CUSTOMER
                - BRANCH_OFFICE
                - SUBSIDIARY_COMPANY
                - HOLDING_COMPANY
                - SUPPLIER
                - CREDITOR
                - DEBTOR
                - FRANCHISEE
                - RELATIVE
                - FRIEND
                - EMPLOYEE
              description: >-
                Holder's relationship to the customer. With `SELF` the holder is
                the customer itself: `type` must match the customer's type and
                `taxId` must match the customer's tax ID.
              example: SELF
            name:
              type: string
              description: >-
                Holder's full name. Required when `type` is `INDIVIDUAL`;
                rejected when it is `BUSINESS`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Ana Souza
            legalName:
              type: string
              description: >-
                Holder's legal name. Required when `type` is `BUSINESS`;
                rejected when it is `INDIVIDUAL`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Atlas Pagamentos Ltda
            taxId:
              type: string
              description: >-
                Holder's tax ID. Dots, hyphens and slashes are removed. When
                `address.country` is `BRA`, it must be a valid CPF
                (`INDIVIDUAL`) or CNPJ (`BUSINESS`).
              example: 31.934.672/0001-06
            birthDate:
              type: string
              format: date
              description: >-
                Holder's birth date (ISO 8601). Accepted only when `type` is
                `INDIVIDUAL`.
              example: '1985-05-12'
            incorporationDate:
              type: string
              format: date
              description: >-
                Holder's incorporation date (ISO 8601). Accepted only when
                `type` is `BUSINESS`.
              example: '2014-10-15'
            email:
              type: string
              format: email
              description: Holder's email address.
              example: finance@atlaspagamentos.example.com
            address:
              $ref: '#/components/schemas/DestinationAddress'
              description: Holder's address.
          required:
            - type
            - relationship
            - taxId
            - address
      required:
        - customerId
        - name
        - rail
        - currency
        - identifier
    DestinationAchRequest:
      type: object
      properties:
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: >-
            Destination's display name. Accents are removed and any character
            other than letters, digits, spaces and hyphens is stripped.
          example: Lumx US Operations Account
        type:
          type: string
          enum:
            - EXTERNAL
          description: >-
            Destination's type. Only `EXTERNAL` is accepted. The response does
            not return this field.
          example: EXTERNAL
        rail:
          type: string
          enum:
            - ACH
          description: Destination's payment rail.
          example: ACH
        currency:
          type: string
          enum:
            - USD
          description: Destination's currency.
          example: USD
        identifier:
          type: object
          description: Destination's US bank account.
          properties:
            type:
              type: string
              enum:
                - CHECKING
                - SAVINGS
              description: Account type.
              example: CHECKING
            accountNumber:
              type: string
              description: Account number.
              example: '123456789012'
            routingNumber:
              type: string
              pattern: ^\d{9}$
              description: 'ABA routing number: 9 digits with a valid checksum.'
              example: '021000021'
          required:
            - type
            - accountNumber
            - routingNumber
        bank:
          type: object
          description: Destination's bank.
          properties:
            name:
              type: string
              maxLength: 35
              description: >-
                Bank's name. At most 35 characters. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: JPMorgan Chase Bank
            address:
              $ref: '#/components/schemas/DestinationAddress'
              description: Bank's address. `country` must be `USA`.
          required:
            - name
            - address
        holder:
          description: Destination's holder.
          type: object
          properties:
            type:
              type: string
              enum:
                - INDIVIDUAL
                - BUSINESS
              description: >-
                Holder's type, in uppercase. `INDIVIDUAL` requires `name`;
                `BUSINESS` requires `legalName`.
              example: BUSINESS
            relationship:
              type: string
              enum:
                - SELF
                - BUSINESS_PARTNER
                - CUSTOMER
                - BRANCH_OFFICE
                - SUBSIDIARY_COMPANY
                - HOLDING_COMPANY
                - SUPPLIER
                - CREDITOR
                - DEBTOR
                - FRANCHISEE
                - RELATIVE
                - FRIEND
                - EMPLOYEE
              description: >-
                Holder's relationship to the customer. With `SELF` the holder is
                the customer itself: `type` must match the customer's type and
                `taxId` must match the customer's tax ID.
              example: SUBSIDIARY_COMPANY
            name:
              type: string
              description: >-
                Holder's full name. Required when `type` is `INDIVIDUAL`;
                rejected when it is `BUSINESS`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: John Smith
            legalName:
              type: string
              description: >-
                Holder's legal name. Required when `type` is `BUSINESS`;
                rejected when it is `INDIVIDUAL`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Lumx US Inc
            taxId:
              type: string
              description: >-
                Holder's tax ID. Dots, hyphens and slashes are removed. When
                `address.country` is `BRA`, it must be a valid CPF
                (`INDIVIDUAL`) or CNPJ (`BUSINESS`).
              example: 12-3456789
            birthDate:
              type: string
              format: date
              description: >-
                Holder's birth date (ISO 8601). Accepted only when `type` is
                `INDIVIDUAL`.
              example: '1985-05-12'
            incorporationDate:
              type: string
              format: date
              description: >-
                Holder's incorporation date (ISO 8601). Accepted only when
                `type` is `BUSINESS`.
              example: '2014-10-15'
            email:
              type: string
              format: email
              description: Holder's email address.
              example: us@lumx.io
            address:
              $ref: '#/components/schemas/DestinationAddress'
              description: Holder's address.
          required:
            - type
            - relationship
            - taxId
            - address
        intermediary:
          type: object
          description: Intermediary bank.
          properties:
            name:
              type: string
              description: >-
                Intermediary's bank name. Accents are removed and any character
                other than letters, digits, spaces and hyphens is stripped.
              example: JPMorgan Chase Bank NA
            bic:
              type: string
              description: Intermediary's BIC (SWIFT code), 8 or 11 characters.
              example: CHASUS33
            country:
              type: string
              enum:
                - PAN
                - MYS
                - JPN
                - SGP
                - HKG
                - CHN
                - BHS
                - GBR
                - IND
                - CAN
                - USA
                - AUT
                - BEL
                - HRV
                - CYP
                - EST
                - FIN
                - FRA
                - DEU
                - GRC
                - IRL
                - ITA
                - LVA
                - LTU
                - LUX
                - MLT
                - NLD
                - PRT
                - SVK
                - SVN
                - ESP
              description: Intermediary's country (ISO 3166-1 alpha-3).
              example: USA
          required:
            - name
            - bic
            - country
      required:
        - customerId
        - name
        - rail
        - currency
        - identifier
        - bank
        - holder
    DestinationFedwireRequest:
      type: object
      properties:
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: >-
            Destination's display name. Accents are removed and any character
            other than letters, digits, spaces and hyphens is stripped.
          example: John Smith Savings Account
        type:
          type: string
          enum:
            - EXTERNAL
          description: >-
            Destination's type. Only `EXTERNAL` is accepted. The response does
            not return this field.
          example: EXTERNAL
        rail:
          type: string
          enum:
            - FEDWIRE
          description: Destination's payment rail.
          example: FEDWIRE
        currency:
          type: string
          enum:
            - USD
          description: Destination's currency.
          example: USD
        identifier:
          type: object
          description: Destination's US bank account.
          properties:
            type:
              type: string
              enum:
                - CHECKING
                - SAVINGS
              description: Account type.
              example: SAVINGS
            accountNumber:
              type: string
              description: Account number.
              example: '987654321'
            routingNumber:
              type: string
              pattern: ^\d{9}$
              description: 'ABA routing number: 9 digits with a valid checksum.'
              example: '026009593'
          required:
            - type
            - accountNumber
            - routingNumber
        bank:
          type: object
          description: Destination's bank.
          properties:
            name:
              type: string
              maxLength: 35
              description: >-
                Bank's name. At most 35 characters. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Bank of America
            address:
              $ref: '#/components/schemas/DestinationAddress'
              description: Bank's address. `country` must be `USA`.
          required:
            - name
            - address
        holder:
          description: Destination's holder.
          type: object
          properties:
            type:
              type: string
              enum:
                - INDIVIDUAL
                - BUSINESS
              description: >-
                Holder's type, in uppercase. `INDIVIDUAL` requires `name`;
                `BUSINESS` requires `legalName`.
              example: INDIVIDUAL
            relationship:
              type: string
              enum:
                - SELF
                - BUSINESS_PARTNER
                - CUSTOMER
                - BRANCH_OFFICE
                - SUBSIDIARY_COMPANY
                - HOLDING_COMPANY
                - SUPPLIER
                - CREDITOR
                - DEBTOR
                - FRANCHISEE
                - RELATIVE
                - FRIEND
                - EMPLOYEE
              description: >-
                Holder's relationship to the customer. With `SELF` the holder is
                the customer itself: `type` must match the customer's type and
                `taxId` must match the customer's tax ID.
              example: BUSINESS_PARTNER
            name:
              type: string
              description: >-
                Holder's full name. Required when `type` is `INDIVIDUAL`;
                rejected when it is `BUSINESS`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: John Smith
            legalName:
              type: string
              description: >-
                Holder's legal name. Required when `type` is `BUSINESS`;
                rejected when it is `INDIVIDUAL`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Lumx US Inc
            taxId:
              type: string
              description: >-
                Holder's tax ID. Dots, hyphens and slashes are removed. When
                `address.country` is `BRA`, it must be a valid CPF
                (`INDIVIDUAL`) or CNPJ (`BUSINESS`).
              example: 123-45-6789
            birthDate:
              type: string
              format: date
              description: >-
                Holder's birth date (ISO 8601). Accepted only when `type` is
                `INDIVIDUAL`.
              example: '1985-05-12'
            incorporationDate:
              type: string
              format: date
              description: >-
                Holder's incorporation date (ISO 8601). Accepted only when
                `type` is `BUSINESS`.
              example: '2014-10-15'
            email:
              type: string
              format: email
              description: Holder's email address.
              example: john.smith@example.com
            address:
              $ref: '#/components/schemas/DestinationAddress'
              description: Holder's address.
          required:
            - type
            - relationship
            - taxId
            - address
        intermediary:
          type: object
          description: Intermediary bank.
          properties:
            name:
              type: string
              description: >-
                Intermediary's bank name. Accents are removed and any character
                other than letters, digits, spaces and hyphens is stripped.
              example: JPMorgan Chase Bank NA
            bic:
              type: string
              description: Intermediary's BIC (SWIFT code), 8 or 11 characters.
              example: CHASUS33
            country:
              type: string
              enum:
                - PAN
                - MYS
                - JPN
                - SGP
                - HKG
                - CHN
                - BHS
                - GBR
                - IND
                - CAN
                - USA
                - AUT
                - BEL
                - HRV
                - CYP
                - EST
                - FIN
                - FRA
                - DEU
                - GRC
                - IRL
                - ITA
                - LVA
                - LTU
                - LUX
                - MLT
                - NLD
                - PRT
                - SVK
                - SVN
                - ESP
              description: Intermediary's country (ISO 3166-1 alpha-3).
              example: USA
          required:
            - name
            - bic
            - country
      required:
        - customerId
        - name
        - rail
        - currency
        - identifier
        - bank
        - holder
    DestinationSwiftRequest:
      type: object
      properties:
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: >-
            Destination's display name. Accents are removed and any character
            other than letters, digits, spaces and hyphens is stripped.
          example: Lukas Weber USD Account
        type:
          type: string
          enum:
            - EXTERNAL
          description: >-
            Destination's type. Only `EXTERNAL` is accepted. The response does
            not return this field.
          example: EXTERNAL
        rail:
          type: string
          enum:
            - SWIFT
          description: Destination's payment rail.
          example: SWIFT
        currency:
          type: string
          enum:
            - USD
          description: Destination's currency.
          example: USD
        identifier:
          type: object
          description: >-
            Destination's account. Send exactly one of `iban` or
            `accountNumber`.
          properties:
            iban:
              type: string
              description: >-
                IBAN. Whitespace is removed and the IBAN must be valid. Use it
                when the bank's country uses IBANs.
              example: DE89370400440532013000
            accountNumber:
              type: string
              description: >-
                Account number. Use it when the bank's country does not use
                IBANs.
              example: '1234567890'
            bic:
              type: string
              description: BIC (SWIFT code), 8 or 11 characters.
              example: COBADEFFXXX
          required:
            - bic
        bank:
          type: object
          description: Destination's bank.
          properties:
            name:
              type: string
              maxLength: 35
              description: >-
                Bank's name. At most 35 characters. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Commerzbank AG
            address:
              $ref: '#/components/schemas/DestinationAddress'
              description: Bank's address.
          required:
            - name
            - address
        holder:
          description: Destination's holder.
          type: object
          properties:
            type:
              type: string
              enum:
                - INDIVIDUAL
                - BUSINESS
              description: >-
                Holder's type, in uppercase. `INDIVIDUAL` requires `name`;
                `BUSINESS` requires `legalName`.
              example: INDIVIDUAL
            relationship:
              type: string
              enum:
                - SELF
                - BUSINESS_PARTNER
                - CUSTOMER
                - BRANCH_OFFICE
                - SUBSIDIARY_COMPANY
                - HOLDING_COMPANY
                - SUPPLIER
                - CREDITOR
                - DEBTOR
                - FRANCHISEE
                - RELATIVE
                - FRIEND
                - EMPLOYEE
              description: >-
                Holder's relationship to the customer. With `SELF` the holder is
                the customer itself: `type` must match the customer's type and
                `taxId` must match the customer's tax ID.
              example: CUSTOMER
            name:
              type: string
              description: >-
                Holder's full name. Required when `type` is `INDIVIDUAL`;
                rejected when it is `BUSINESS`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Lukas Weber
            legalName:
              type: string
              description: >-
                Holder's legal name. Required when `type` is `BUSINESS`;
                rejected when it is `INDIVIDUAL`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Lumx Cayman Ltd
            taxId:
              type: string
              description: >-
                Holder's tax ID. Dots, hyphens and slashes are removed. When
                `address.country` is `BRA`, it must be a valid CPF
                (`INDIVIDUAL`) or CNPJ (`BUSINESS`).
              example: '86095742719'
            birthDate:
              type: string
              format: date
              description: >-
                Holder's birth date (ISO 8601). Accepted only when `type` is
                `INDIVIDUAL`.
              example: '1985-05-12'
            incorporationDate:
              type: string
              format: date
              description: >-
                Holder's incorporation date (ISO 8601). Accepted only when
                `type` is `BUSINESS`.
              example: '2014-10-15'
            email:
              type: string
              format: email
              description: Holder's email address.
              example: lukas.weber@example.com
            address:
              $ref: '#/components/schemas/DestinationAddress'
              description: Holder's address.
          required:
            - type
            - relationship
            - taxId
            - address
        intermediary:
          type: object
          description: Intermediary bank.
          properties:
            name:
              type: string
              description: >-
                Intermediary's bank name. Accents are removed and any character
                other than letters, digits, spaces and hyphens is stripped.
              example: JPMorgan Chase Bank NA
            bic:
              type: string
              description: Intermediary's BIC (SWIFT code), 8 or 11 characters.
              example: CHASUS33
            country:
              type: string
              enum:
                - PAN
                - MYS
                - JPN
                - SGP
                - HKG
                - CHN
                - BHS
                - GBR
                - IND
                - CAN
                - USA
                - AUT
                - BEL
                - HRV
                - CYP
                - EST
                - FIN
                - FRA
                - DEU
                - GRC
                - IRL
                - ITA
                - LVA
                - LTU
                - LUX
                - MLT
                - NLD
                - PRT
                - SVK
                - SVN
                - ESP
              description: Intermediary's country (ISO 3166-1 alpha-3).
              example: USA
          required:
            - name
            - bic
            - country
      required:
        - customerId
        - name
        - rail
        - currency
        - identifier
        - bank
        - holder
    DestinationSepaRequest:
      type: object
      properties:
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: >-
            Destination's display name. Accents are removed and any character
            other than letters, digits, spaces and hyphens is stripped.
          example: Marie Dubois Payroll Account
        type:
          type: string
          enum:
            - EXTERNAL
          description: >-
            Destination's type. Only `EXTERNAL` is accepted. The response does
            not return this field.
          example: EXTERNAL
        rail:
          type: string
          enum:
            - SEPA
          description: Destination's payment rail.
          example: SEPA
        currency:
          type: string
          enum:
            - EUR
          description: Destination's currency.
          example: EUR
        identifier:
          type: object
          description: Destination's account.
          properties:
            iban:
              type: string
              description: IBAN. Whitespace is removed and the IBAN must be valid.
              example: FR1420041010050500013M02606
            bic:
              type: string
              description: BIC (SWIFT code), 8 or 11 characters.
              example: BNPAFRPP
          required:
            - iban
            - bic
        bank:
          type: object
          description: Destination's bank.
          properties:
            name:
              type: string
              maxLength: 35
              description: >-
                Bank's name. At most 35 characters. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: BNP Paribas
            address:
              $ref: '#/components/schemas/DestinationAddressSepaFps'
              description: Bank's address. Only `country` is required.
          required:
            - name
            - address
        holder:
          description: Destination's holder.
          type: object
          properties:
            type:
              type: string
              enum:
                - INDIVIDUAL
                - BUSINESS
              description: >-
                Holder's type, in uppercase. `INDIVIDUAL` requires `name`;
                `BUSINESS` requires `legalName`.
              example: INDIVIDUAL
            relationship:
              type: string
              enum:
                - SELF
                - BUSINESS_PARTNER
                - CUSTOMER
                - BRANCH_OFFICE
                - SUBSIDIARY_COMPANY
                - HOLDING_COMPANY
                - SUPPLIER
                - CREDITOR
                - DEBTOR
                - FRANCHISEE
                - RELATIVE
                - FRIEND
                - EMPLOYEE
              description: >-
                Holder's relationship to the customer. With `SELF` the holder is
                the customer itself: `type` must match the customer's type and
                `taxId` must match the customer's tax ID.
              example: EMPLOYEE
            name:
              type: string
              description: >-
                Holder's full name. Required when `type` is `INDIVIDUAL`;
                rejected when it is `BUSINESS`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Marie Dubois
            legalName:
              type: string
              description: >-
                Holder's legal name. Required when `type` is `BUSINESS`;
                rejected when it is `INDIVIDUAL`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Lumx France SAS
            taxId:
              type: string
              description: >-
                Holder's tax ID. Dots, hyphens and slashes are removed. When
                `address.country` is `BRA`, it must be a valid CPF
                (`INDIVIDUAL`) or CNPJ (`BUSINESS`).
              example: '1850578006084'
            birthDate:
              type: string
              format: date
              description: >-
                Holder's birth date (ISO 8601). Accepted only when `type` is
                `INDIVIDUAL`.
              example: '1985-05-12'
            incorporationDate:
              type: string
              format: date
              description: >-
                Holder's incorporation date (ISO 8601). Accepted only when
                `type` is `BUSINESS`.
              example: '2014-10-15'
            email:
              type: string
              format: email
              description: Holder's email address.
              example: marie.dubois@example.com
            address:
              $ref: '#/components/schemas/DestinationAddressSepaFps'
              description: Holder's address. Only `country` is required.
          required:
            - type
            - relationship
            - taxId
            - address
      required:
        - customerId
        - name
        - rail
        - currency
        - identifier
        - bank
        - holder
    DestinationFpsRequest:
      type: object
      properties:
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: >-
            Destination's display name. Accents are removed and any character
            other than letters, digits, spaces and hyphens is stripped.
          example: Lumx UK Supplier Account
        type:
          type: string
          enum:
            - EXTERNAL
          description: >-
            Destination's type. Only `EXTERNAL` is accepted. The response does
            not return this field.
          example: EXTERNAL
        rail:
          type: string
          enum:
            - FPS
          description: Destination's payment rail.
          example: FPS
        currency:
          type: string
          enum:
            - GBP
          description: Destination's currency.
          example: GBP
        identifier:
          type: object
          description: Destination's UK account.
          properties:
            sortCode:
              type: string
              description: >-
                Sort code: 6 digits. Non-digit characters are removed, so
                `04-05-09` is accepted.
              example: '040509'
            accountNumber:
              type: string
              description: 'Account number: 8 digits. Non-digit characters are removed.'
              example: '00125977'
          required:
            - sortCode
            - accountNumber
        bank:
          type: object
          description: Destination's bank.
          properties:
            name:
              type: string
              maxLength: 35
              description: >-
                Bank's name. At most 35 characters. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Barclays Bank UK
            address:
              $ref: '#/components/schemas/DestinationAddressSepaFps'
              description: Bank's address. Only `country` is required.
          required:
            - name
            - address
        holder:
          description: Destination's holder.
          type: object
          properties:
            type:
              type: string
              enum:
                - INDIVIDUAL
                - BUSINESS
              description: >-
                Holder's type, in uppercase. `INDIVIDUAL` requires `name`;
                `BUSINESS` requires `legalName`.
              example: BUSINESS
            relationship:
              type: string
              enum:
                - SELF
                - BUSINESS_PARTNER
                - CUSTOMER
                - BRANCH_OFFICE
                - SUBSIDIARY_COMPANY
                - HOLDING_COMPANY
                - SUPPLIER
                - CREDITOR
                - DEBTOR
                - FRANCHISEE
                - RELATIVE
                - FRIEND
                - EMPLOYEE
              description: >-
                Holder's relationship to the customer. With `SELF` the holder is
                the customer itself: `type` must match the customer's type and
                `taxId` must match the customer's tax ID.
              example: SUPPLIER
            name:
              type: string
              description: >-
                Holder's full name. Required when `type` is `INDIVIDUAL`;
                rejected when it is `BUSINESS`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Oliver Brown
            legalName:
              type: string
              description: >-
                Holder's legal name. Required when `type` is `BUSINESS`;
                rejected when it is `INDIVIDUAL`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Thames Logistics Ltd
            taxId:
              type: string
              description: >-
                Holder's tax ID. Dots, hyphens and slashes are removed. When
                `address.country` is `BRA`, it must be a valid CPF
                (`INDIVIDUAL`) or CNPJ (`BUSINESS`).
              example: GB123456789
            birthDate:
              type: string
              format: date
              description: >-
                Holder's birth date (ISO 8601). Accepted only when `type` is
                `INDIVIDUAL`.
              example: '1985-05-12'
            incorporationDate:
              type: string
              format: date
              description: >-
                Holder's incorporation date (ISO 8601). Accepted only when
                `type` is `BUSINESS`.
              example: '2014-10-15'
            email:
              type: string
              format: email
              description: Holder's email address.
              example: accounts@thameslogistics.co.uk
            address:
              $ref: '#/components/schemas/DestinationAddressSepaFps'
              description: Holder's address. Only `country` is required.
          required:
            - type
            - relationship
            - taxId
            - address
      required:
        - customerId
        - name
        - rail
        - currency
        - identifier
        - bank
        - holder
    DestinationSpeiRequest:
      type: object
      properties:
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: >-
            Destination's display name. Accents are removed and any character
            other than letters, digits, spaces and hyphens is stripped.
          example: Lumx Mexico Operations Account
        type:
          type: string
          enum:
            - EXTERNAL
          description: >-
            Destination's type. Only `EXTERNAL` is accepted. The response does
            not return this field.
          example: EXTERNAL
        rail:
          type: string
          enum:
            - SPEI
          description: Destination's payment rail.
          example: SPEI
        currency:
          type: string
          enum:
            - MXN
          description: Destination's currency.
          example: MXN
        identifier:
          type: object
          description: Destination's account.
          properties:
            clabe:
              type: string
              description: >-
                CLABE: 18 digits with a valid check digit. Non-digit characters
                are removed.
              example: '012180001234567899'
          required:
            - clabe
        holder:
          description: Destination's holder.
          type: object
          properties:
            type:
              type: string
              enum:
                - INDIVIDUAL
                - BUSINESS
              description: >-
                Holder's type, in uppercase. `INDIVIDUAL` requires `name`;
                `BUSINESS` requires `legalName`.
              example: BUSINESS
            relationship:
              type: string
              enum:
                - SELF
                - BUSINESS_PARTNER
                - CUSTOMER
                - BRANCH_OFFICE
                - SUBSIDIARY_COMPANY
                - HOLDING_COMPANY
                - SUPPLIER
                - CREDITOR
                - DEBTOR
                - FRANCHISEE
                - RELATIVE
                - FRIEND
                - EMPLOYEE
              description: >-
                Holder's relationship to the customer. With `SELF` the holder is
                the customer itself: `type` must match the customer's type and
                `taxId` must match the customer's tax ID.
              example: BRANCH_OFFICE
            name:
              type: string
              description: >-
                Holder's full name. Required when `type` is `INDIVIDUAL`;
                rejected when it is `BUSINESS`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Maria Hernandez
            legalName:
              type: string
              description: >-
                Holder's legal name. Required when `type` is `BUSINESS`;
                rejected when it is `INDIVIDUAL`. Accents are removed and any
                character other than letters, digits, spaces and hyphens is
                stripped.
              example: Lumx Mexico SA de CV
            taxId:
              type: string
              description: >-
                Holder's tax ID: RFC when `type` is `BUSINESS`, CURP when it is
                `INDIVIDUAL`. The format is not validated.
              example: LME200101AB1
            email:
              type: string
              format: email
              description: Holder's email address.
              example: mx@lumx.io
            address:
              $ref: '#/components/schemas/DestinationAddress'
              description: Holder's address.
          required:
            - type
            - taxId
      required:
        - customerId
        - name
        - rail
        - currency
        - identifier
        - holder
    DestinationPixResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Destination's unique identifier.
          example: 29141590-4699-4f16-ab07-cb593768975c
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: Destination's display name.
          example: Lumx Brazil Operations Account
        rail:
          type: string
          enum:
            - PIX
          description: Destination's payment rail.
          example: PIX
        currency:
          type: string
          enum:
            - BRL
          description: Destination's currency.
          example: BRL
        identifier:
          type: object
          description: Destination's PIX key.
          properties:
            keyType:
              type: string
              enum:
                - CPF
                - CNPJ
                - EMAIL
                - PHONE
                - RANDOM
              description: >-
                PIX key type. `CPF`: individual tax ID. `CNPJ`: business tax ID.
                `EMAIL`: email address. `PHONE`: Brazilian phone number.
                `RANDOM`: random key (UUID).
              example: CNPJ
            keyValue:
              type: string
              description: >-
                PIX key value, normalized: CPF and CNPJ without punctuation,
                phone with `+55`.
              example: '31934672000106'
        holder:
          $ref: '#/components/schemas/DestinationHolderResponse'
          description: >-
            Destination's holder plus its verification. When the destination was
            created without `holder`, only `verification` is returned.
        createdAt:
          type: string
          format: date-time
          description: Creation date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
        updatedAt:
          type: string
          format: date-time
          description: Last update date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
      required:
        - id
        - customerId
        - name
        - rail
        - currency
        - identifier
        - createdAt
        - updatedAt
    DestinationAchResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Destination's unique identifier.
          example: a77f4044-7cc3-43e9-aceb-ad9600227e0d
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: Destination's display name.
          example: Lumx US Operations Account
        rail:
          type: string
          enum:
            - ACH
          description: Destination's payment rail.
          example: ACH
        currency:
          type: string
          enum:
            - USD
          description: Destination's currency.
          example: USD
        identifier:
          type: object
          description: Destination's US bank account.
          properties:
            type:
              type: string
              enum:
                - CHECKING
                - SAVINGS
              description: Account type.
              example: CHECKING
            accountNumber:
              type: string
              description: Account number.
              example: '123456789012'
            routingNumber:
              type: string
              description: 'ABA routing number: 9 digits with a valid checksum.'
              example: '021000021'
        bank:
          type: object
          description: Destination's bank.
          properties:
            name:
              type: string
              description: Bank's name.
              example: JPMorgan Chase Bank
            address:
              $ref: '#/components/schemas/DestinationAddress'
              description: Bank's address.
        holder:
          $ref: '#/components/schemas/DestinationHolderResponse'
          description: Destination's holder, as sent on creation, plus its verification.
        intermediary:
          type: object
          description: Intermediary bank.
          properties:
            name:
              type: string
              description: >-
                Intermediary's bank name. Accents are removed and any character
                other than letters, digits, spaces and hyphens is stripped.
              example: JPMorgan Chase Bank NA
            bic:
              type: string
              description: Intermediary's BIC (SWIFT code), 8 or 11 characters.
              example: CHASUS33
            country:
              type: string
              enum:
                - PAN
                - MYS
                - JPN
                - SGP
                - HKG
                - CHN
                - BHS
                - GBR
                - IND
                - CAN
                - USA
                - AUT
                - BEL
                - HRV
                - CYP
                - EST
                - FIN
                - FRA
                - DEU
                - GRC
                - IRL
                - ITA
                - LVA
                - LTU
                - LUX
                - MLT
                - NLD
                - PRT
                - SVK
                - SVN
                - ESP
              description: Intermediary's country (ISO 3166-1 alpha-3).
              example: USA
        createdAt:
          type: string
          format: date-time
          description: Creation date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
        updatedAt:
          type: string
          format: date-time
          description: Last update date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
      required:
        - id
        - customerId
        - name
        - rail
        - currency
        - identifier
        - bank
        - holder
        - createdAt
        - updatedAt
    DestinationFedwireResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Destination's unique identifier.
          example: 9b361466-9a93-4ed2-aae9-4886098f9a9e
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: Destination's display name.
          example: John Smith Savings Account
        rail:
          type: string
          enum:
            - FEDWIRE
          description: Destination's payment rail.
          example: FEDWIRE
        currency:
          type: string
          enum:
            - USD
          description: Destination's currency.
          example: USD
        identifier:
          type: object
          description: Destination's US bank account.
          properties:
            type:
              type: string
              enum:
                - CHECKING
                - SAVINGS
              description: Account type.
              example: SAVINGS
            accountNumber:
              type: string
              description: Account number.
              example: '987654321'
            routingNumber:
              type: string
              description: 'ABA routing number: 9 digits with a valid checksum.'
              example: '026009593'
        bank:
          type: object
          description: Destination's bank.
          properties:
            name:
              type: string
              description: Bank's name.
              example: Bank of America
            address:
              $ref: '#/components/schemas/DestinationAddress'
              description: Bank's address.
        holder:
          $ref: '#/components/schemas/DestinationHolderResponse'
          description: Destination's holder, as sent on creation, plus its verification.
        intermediary:
          type: object
          description: Intermediary bank.
          properties:
            name:
              type: string
              description: >-
                Intermediary's bank name. Accents are removed and any character
                other than letters, digits, spaces and hyphens is stripped.
              example: JPMorgan Chase Bank NA
            bic:
              type: string
              description: Intermediary's BIC (SWIFT code), 8 or 11 characters.
              example: CHASUS33
            country:
              type: string
              enum:
                - PAN
                - MYS
                - JPN
                - SGP
                - HKG
                - CHN
                - BHS
                - GBR
                - IND
                - CAN
                - USA
                - AUT
                - BEL
                - HRV
                - CYP
                - EST
                - FIN
                - FRA
                - DEU
                - GRC
                - IRL
                - ITA
                - LVA
                - LTU
                - LUX
                - MLT
                - NLD
                - PRT
                - SVK
                - SVN
                - ESP
              description: Intermediary's country (ISO 3166-1 alpha-3).
              example: USA
        createdAt:
          type: string
          format: date-time
          description: Creation date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
        updatedAt:
          type: string
          format: date-time
          description: Last update date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
      required:
        - id
        - customerId
        - name
        - rail
        - currency
        - identifier
        - bank
        - holder
        - createdAt
        - updatedAt
    DestinationSwiftResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Destination's unique identifier.
          example: 564e0188-e29f-4f48-8d19-b8198cf52150
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: Destination's display name.
          example: Lukas Weber USD Account
        rail:
          type: string
          enum:
            - SWIFT
          description: Destination's payment rail.
          example: SWIFT
        currency:
          type: string
          enum:
            - USD
          description: Destination's currency.
          example: USD
        identifier:
          type: object
          description: Destination's account. Holds `iban` or `accountNumber`, never both.
          properties:
            iban:
              type: string
              description: IBAN, without whitespace. Omitted when `accountNumber` was sent.
              example: DE89370400440532013000
            accountNumber:
              type: string
              description: Account number. Omitted when `iban` was sent.
              example: '1234567890'
            bic:
              type: string
              description: BIC (SWIFT code), 8 or 11 characters.
              example: COBADEFFXXX
        bank:
          type: object
          description: Destination's bank.
          properties:
            name:
              type: string
              description: Bank's name.
              example: Commerzbank AG
            address:
              $ref: '#/components/schemas/DestinationAddress'
              description: Bank's address.
        holder:
          $ref: '#/components/schemas/DestinationHolderResponse'
          description: Destination's holder, as sent on creation, plus its verification.
        intermediary:
          type: object
          description: Intermediary bank.
          properties:
            name:
              type: string
              description: >-
                Intermediary's bank name. Accents are removed and any character
                other than letters, digits, spaces and hyphens is stripped.
              example: JPMorgan Chase Bank NA
            bic:
              type: string
              description: Intermediary's BIC (SWIFT code), 8 or 11 characters.
              example: CHASUS33
            country:
              type: string
              enum:
                - PAN
                - MYS
                - JPN
                - SGP
                - HKG
                - CHN
                - BHS
                - GBR
                - IND
                - CAN
                - USA
                - AUT
                - BEL
                - HRV
                - CYP
                - EST
                - FIN
                - FRA
                - DEU
                - GRC
                - IRL
                - ITA
                - LVA
                - LTU
                - LUX
                - MLT
                - NLD
                - PRT
                - SVK
                - SVN
                - ESP
              description: Intermediary's country (ISO 3166-1 alpha-3).
              example: USA
        createdAt:
          type: string
          format: date-time
          description: Creation date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
        updatedAt:
          type: string
          format: date-time
          description: Last update date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
      required:
        - id
        - customerId
        - name
        - rail
        - currency
        - identifier
        - bank
        - holder
        - createdAt
        - updatedAt
    DestinationSepaResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Destination's unique identifier.
          example: 573ac473-7236-437a-8bd2-4a37347f878b
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: Destination's display name.
          example: Marie Dubois Payroll Account
        rail:
          type: string
          enum:
            - SEPA
          description: Destination's payment rail.
          example: SEPA
        currency:
          type: string
          enum:
            - EUR
          description: Destination's currency.
          example: EUR
        identifier:
          type: object
          description: Destination's account.
          properties:
            iban:
              type: string
              description: IBAN, without whitespace.
              example: FR1420041010050500013M02606
            bic:
              type: string
              description: BIC (SWIFT code), 8 or 11 characters.
              example: BNPAFRPP
        bank:
          type: object
          description: Destination's bank.
          properties:
            name:
              type: string
              description: Bank's name.
              example: BNP Paribas
            address:
              $ref: '#/components/schemas/DestinationAddressSepaFps'
              description: Bank's address.
        holder:
          $ref: '#/components/schemas/DestinationHolderResponse'
          description: Destination's holder, as sent on creation, plus its verification.
        createdAt:
          type: string
          format: date-time
          description: Creation date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
        updatedAt:
          type: string
          format: date-time
          description: Last update date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
      required:
        - id
        - customerId
        - name
        - rail
        - currency
        - identifier
        - bank
        - holder
        - createdAt
        - updatedAt
    DestinationFpsResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Destination's unique identifier.
          example: f5409fcb-80a5-4af4-b9f4-721fa7414b1a
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: Destination's display name.
          example: Lumx UK Supplier Account
        rail:
          type: string
          enum:
            - FPS
          description: Destination's payment rail.
          example: FPS
        currency:
          type: string
          enum:
            - GBP
          description: Destination's currency.
          example: GBP
        identifier:
          type: object
          description: Destination's UK account.
          properties:
            sortCode:
              type: string
              description: Sort code (6 digits).
              example: '040509'
            accountNumber:
              type: string
              description: Account number (8 digits).
              example: '00125977'
        bank:
          type: object
          description: Destination's bank.
          properties:
            name:
              type: string
              description: Bank's name.
              example: Barclays Bank UK
            address:
              $ref: '#/components/schemas/DestinationAddressSepaFps'
              description: Bank's address.
        holder:
          $ref: '#/components/schemas/DestinationHolderResponse'
          description: Destination's holder, as sent on creation, plus its verification.
        createdAt:
          type: string
          format: date-time
          description: Creation date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
        updatedAt:
          type: string
          format: date-time
          description: Last update date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
      required:
        - id
        - customerId
        - name
        - rail
        - currency
        - identifier
        - bank
        - holder
        - createdAt
        - updatedAt
    DestinationSpeiResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Destination's unique identifier.
          example: 069756b4-3ff6-4ea0-b585-b9fc27c49392
        customerId:
          type: string
          format: uuid
          description: Customer's unique identifier.
          example: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name:
          type: string
          description: Destination's display name.
          example: Lumx Mexico Operations Account
        rail:
          type: string
          enum:
            - SPEI
          description: Destination's payment rail.
          example: SPEI
        currency:
          type: string
          enum:
            - MXN
          description: Destination's currency.
          example: MXN
        identifier:
          type: object
          description: Destination's account.
          properties:
            clabe:
              type: string
              description: CLABE (18 digits).
              example: '012180001234567899'
        holder:
          $ref: '#/components/schemas/DestinationHolderResponse'
          description: Destination's holder, as sent on creation, plus its verification.
        createdAt:
          type: string
          format: date-time
          description: Creation date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
        updatedAt:
          type: string
          format: date-time
          description: Last update date and time (UTC).
          example: '2026-11-03T17:37:24.790Z'
      required:
        - id
        - customerId
        - name
        - rail
        - currency
        - identifier
        - holder
        - createdAt
        - updatedAt
    ErrorResponse:
      type: object
      description: >-
        Error returned by every route. Match on `code`; keep `requestId` for
        support requests. See [Errors](/developer/errors).
      required:
        - requestId
        - timestamp
        - path
        - status
        - code
        - message
      properties:
        requestId:
          type: string
          format: uuid
          description: Request's unique identifier. Include it when contacting support.
        timestamp:
          type: string
          format: date-time
          description: Date and time the error was generated (UTC).
        path:
          type: string
          description: Path of the request that failed.
        status:
          type: integer
          description: HTTP status code.
        code:
          type: string
          description: Machine-readable error code.
        message:
          type: string
          description: Human-readable description of the error.
        validationErrors:
          type: array
          description: >-
            Fields that failed validation. Returned with some `VALIDATION_ERROR`
            responses.
          items:
            type: object
            properties:
              param:
                type: string
                description: Name of the parameter or field that failed.
              message:
                type: string
                description: Why it failed.
    DestinationAddress:
      type: object
      description: Address.
      properties:
        line1:
          type: string
          maxLength: 100
          description: >-
            Address line 1. At most 100 characters. Accents are removed and any
            character other than letters, digits, spaces and hyphens is
            stripped.
          example: Rua Voluntarios da Patria 89
        line2:
          type: string
          maxLength: 35
          description: >-
            Address line 2. At most 35 characters. Accents are removed and any
            character other than letters, digits, spaces and hyphens is
            stripped.
          example: Sala 501
        city:
          type: string
          maxLength: 255
          description: >-
            Address city. At most 255 characters. Accents are removed and any
            character other than letters, digits, spaces and hyphens is
            stripped.
          example: Rio de Janeiro
        state:
          type: string
          description: >-
            Address state: ISO 3166-2 subdivision code without the country
            prefix, for example `RJ` for Rio de Janeiro or `NY` for New York.
            Any value is accepted when the country has no ISO 3166-2
            subdivisions. Numeric codes are replaced with the subdivision name.
          example: RJ
        postalCode:
          type: string
          maxLength: 255
          description: >-
            Address postal code. At most 255 characters. When `country` is
            `USA`, it must be `12345` or `12345-6789`.
          example: 22270-000
        country:
          $ref: '#/components/schemas/CustomerCountry'
          description: Address country (ISO 3166-1 alpha-3).
          example: BRA
      required:
        - line1
        - city
        - state
        - postalCode
        - country
    DestinationAddressSepaFps:
      type: object
      description: >-
        Address for SEPA and FPS destinations. Only `country` is required; the
        other fields are validated when sent.
      properties:
        line1:
          type: string
          maxLength: 100
          description: >-
            Address line 1. At most 100 characters. Accents are removed and any
            character other than letters, digits, spaces and hyphens is
            stripped.
          example: 45 Avenue Montaigne
        line2:
          type: string
          maxLength: 35
          description: >-
            Address line 2. At most 35 characters. Accents are removed and any
            character other than letters, digits, spaces and hyphens is
            stripped.
          example: Floor 3
        city:
          type: string
          maxLength: 255
          description: >-
            Address city. At most 255 characters. Accents are removed and any
            character other than letters, digits, spaces and hyphens is
            stripped.
          example: Paris
        state:
          type: string
          description: >-
            Address state: ISO 3166-2 subdivision code without the country
            prefix, for example `IDF` for Ile-de-France or `LND` for London. Any
            value is accepted when the country has no ISO 3166-2 subdivisions.
            Numeric codes are replaced with the subdivision name.
          example: IDF
        postalCode:
          type: string
          maxLength: 255
          description: >-
            Address postal code. At most 255 characters. When `country` is
            `USA`, it must be `12345` or `12345-6789`.
          example: '75008'
        country:
          $ref: '#/components/schemas/CustomerCountry'
          description: Address country (ISO 3166-1 alpha-3).
          example: FRA
      required:
        - country
    DestinationHolderResponse:
      type: object
      description: >-
        Destination's holder, as sent on creation (after normalization), plus
        `verification`. Fields that were not sent are omitted. For a PIX
        destination created without `holder`, only `verification` is returned.
      properties:
        type:
          type: string
          enum:
            - INDIVIDUAL
            - BUSINESS
          description: Holder's type.
          example: BUSINESS
        relationship:
          type: string
          enum:
            - SELF
            - BUSINESS_PARTNER
            - CUSTOMER
            - BRANCH_OFFICE
            - SUBSIDIARY_COMPANY
            - HOLDING_COMPANY
            - SUPPLIER
            - CREDITOR
            - DEBTOR
            - FRANCHISEE
            - RELATIVE
            - FRIEND
            - EMPLOYEE
          description: Holder's relationship to the customer.
          example: SELF
        name:
          type: string
          description: Holder's full name. Present when `type` is `INDIVIDUAL`.
          example: Marie Dubois
        legalName:
          type: string
          description: Holder's legal name. Present when `type` is `BUSINESS`.
          example: Atlas Pagamentos Ltda
        taxId:
          type: string
          description: >-
            Holder's tax ID, without dots, hyphens and slashes (except on SPEI,
            where it is returned as sent).
          example: '31934672000106'
        birthDate:
          type: string
          format: date
          description: Holder's birth date (ISO 8601).
          example: '1985-05-12'
        incorporationDate:
          type: string
          format: date
          description: Holder's incorporation date (ISO 8601).
          example: '2014-10-15'
        email:
          type: string
          format: email
          description: Holder's email address.
          example: finance@atlaspagamentos.example.com
        address:
          type: object
          description: >-
            Holder's address. On SEPA and FPS destinations it can hold only
            `country`.
          properties:
            line1:
              type: string
              description: Address line 1.
              example: Rua Voluntarios da Patria 89
            line2:
              type: string
              description: Address line 2.
              example: Sala 501
            city:
              type: string
              description: Address city.
              example: Rio de Janeiro
            state:
              type: string
              description: >-
                Address state (ISO 3166-2 subdivision code without the country
                prefix).
              example: RJ
            postalCode:
              type: string
              description: Address postal code.
              example: 22270-000
            country:
              type: string
              description: Address country (ISO 3166-1 alpha-3).
              example: BRA
        verification:
          type: object
          description: Destination's verification.
          properties:
            status:
              type: string
              enum:
                - PENDING
                - APPROVED
                - FINAL_REJECTION
                - TEMPORARY_REJECTION
                - UNDER_VERIFICATION
                - NOT_STARTED
                - INACTIVE
              description: >-
                Verification status of the destination. `UNDER_VERIFICATION`:
                the destination is being verified. `APPROVED`: the destination
                is approved. `FINAL_REJECTION`: the destination was rejected and
                cannot be approved. `INACTIVE`: the destination was deactivated,
                for example when its project is deactivated. `PENDING`,
                `NOT_STARTED` and `TEMPORARY_REJECTION` are intermediate states
                set by the banking provider. Only `UNDER_VERIFICATION`,
                `APPROVED` and `FINAL_REJECTION` send a webhook
                (`destination.under_verification`, `destination.approved`,
                `destination.final_rejection`).
              example: APPROVED
            level:
              type: string
              enum:
                - BASIC
              description: Verification level. Always `BASIC`.
              example: BASIC
          required:
            - status
            - level
      required:
        - verification
    CustomerCountry:
      type: string
      description: >-
        ISO 3166-1 alpha-3 country code. The enum lists every accepted code: all
        ISO 3166-1 alpha-3 codes except blocked countries (CUB, PRK, IRN, SYR,
        MMR, RUS, BLR, VEN).
      enum:
        - ABW
        - AFG
        - AGO
        - AIA
        - ALA
        - ALB
        - AND
        - ARE
        - ARG
        - ARM
        - ASM
        - ATA
        - ATF
        - ATG
        - AUS
        - AUT
        - AZE
        - BDI
        - BEL
        - BEN
        - BES
        - BFA
        - BGD
        - BGR
        - BHR
        - BHS
        - BIH
        - BLM
        - BLZ
        - BMU
        - BOL
        - BRA
        - BRB
        - BRN
        - BTN
        - BVT
        - BWA
        - CAF
        - CAN
        - CCK
        - CHE
        - CHL
        - CHN
        - CIV
        - CMR
        - COD
        - COG
        - COK
        - COL
        - COM
        - CPV
        - CRI
        - CUW
        - CXR
        - CYM
        - CYP
        - CZE
        - DEU
        - DJI
        - DMA
        - DNK
        - DOM
        - DZA
        - ECU
        - EGY
        - ERI
        - ESH
        - ESP
        - EST
        - ETH
        - FIN
        - FJI
        - FLK
        - FRA
        - FRO
        - FSM
        - GAB
        - GBR
        - GEO
        - GGY
        - GHA
        - GIB
        - GIN
        - GLP
        - GMB
        - GNB
        - GNQ
        - GRC
        - GRD
        - GRL
        - GTM
        - GUF
        - GUM
        - GUY
        - HKG
        - HMD
        - HND
        - HRV
        - HTI
        - HUN
        - IDN
        - IMN
        - IND
        - IOT
        - IRL
        - IRQ
        - ISL
        - ISR
        - ITA
        - JAM
        - JEY
        - JOR
        - JPN
        - KAZ
        - KEN
        - KGZ
        - KHM
        - KIR
        - KNA
        - KOR
        - KWT
        - LAO
        - LBN
        - LBR
        - LBY
        - LCA
        - LIE
        - LKA
        - LSO
        - LTU
        - LUX
        - LVA
        - MAC
        - MAF
        - MAR
        - MCO
        - MDA
        - MDG
        - MDV
        - MEX
        - MHL
        - MKD
        - MLI
        - MLT
        - MNE
        - MNG
        - MNP
        - MOZ
        - MRT
        - MSR
        - MTQ
        - MUS
        - MWI
        - MYS
        - MYT
        - NAM
        - NCL
        - NER
        - NFK
        - NGA
        - NIC
        - NIU
        - NLD
        - NOR
        - NPL
        - NRU
        - NZL
        - OMN
        - PAK
        - PAN
        - PCN
        - PER
        - PHL
        - PLW
        - PNG
        - POL
        - PRI
        - PRT
        - PRY
        - PSE
        - PYF
        - QAT
        - REU
        - ROU
        - RWA
        - SAU
        - SDN
        - SEN
        - SGP
        - SGS
        - SHN
        - SJM
        - SLB
        - SLE
        - SLV
        - SMR
        - SOM
        - SPM
        - SRB
        - SSD
        - STP
        - SUR
        - SVK
        - SVN
        - SWE
        - SWZ
        - SXM
        - SYC
        - TCA
        - TCD
        - TGO
        - THA
        - TJK
        - TKL
        - TKM
        - TLS
        - TON
        - TTO
        - TUN
        - TUR
        - TUV
        - TWN
        - TZA
        - UGA
        - UKR
        - UMI
        - URY
        - USA
        - UZB
        - VAT
        - VCT
        - VGB
        - VIR
        - VNM
        - VUT
        - WLF
        - WSM
        - YEM
        - ZAF
        - ZMB
        - ZWE
      example: BRA
  examples:
    DestinationPixExample:
      summary: PIX, business holder (SELF)
      value:
        id: 29141590-4699-4f16-ab07-cb593768975c
        customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name: Lumx Brazil Operations Account
        rail: PIX
        currency: BRL
        identifier:
          keyType: CNPJ
          keyValue: '31934672000106'
        holder:
          type: BUSINESS
          relationship: SELF
          legalName: Atlas Pagamentos Ltda
          taxId: '31934672000106'
          incorporationDate: '2014-10-15'
          email: finance@atlaspagamentos.example.com
          address:
            line1: Rua Voluntarios da Patria 89
            line2: Sala 501
            city: Rio de Janeiro
            state: RJ
            postalCode: 22270-000
            country: BRA
          verification:
            status: APPROVED
            level: BASIC
        createdAt: '2026-11-03T17:37:24.790Z'
        updatedAt: '2026-11-03T17:37:24.790Z'
    DestinationPixWithoutHolderExample:
      summary: PIX without holder
      value:
        id: 2fb976ac-dd41-499a-91c7-ab3206cbde51
        customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name: Lumx Brazil Collections Key
        rail: PIX
        currency: BRL
        identifier:
          keyType: RANDOM
          keyValue: 7d9f0b6e-3c1a-4e8b-9f2d-5a6b7c8d9e0f
        holder:
          verification:
            status: APPROVED
            level: BASIC
        createdAt: '2026-11-03T17:39:01.492Z'
        updatedAt: '2026-11-03T17:39:01.492Z'
    DestinationAchExample:
      summary: ACH, business holder
      value:
        id: a77f4044-7cc3-43e9-aceb-ad9600227e0d
        customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name: Lumx US Operations Account
        rail: ACH
        currency: USD
        identifier:
          type: CHECKING
          accountNumber: '123456789012'
          routingNumber: '021000021'
        bank:
          name: JPMorgan Chase Bank
          address:
            line1: 383 Madison Avenue
            city: New York
            state: NY
            postalCode: '10179'
            country: USA
        holder:
          type: BUSINESS
          relationship: SUBSIDIARY_COMPANY
          legalName: Lumx US Inc
          taxId: '123456789'
          incorporationDate: '2020-03-15'
          email: us@lumx.io
          address:
            line1: 100 Wall Street
            line2: Floor 12
            city: New York
            state: NY
            postalCode: '10005'
            country: USA
          verification:
            status: APPROVED
            level: BASIC
        createdAt: '2026-11-03T17:37:59.367Z'
        updatedAt: '2026-11-03T17:37:59.367Z'
    DestinationFedwireExample:
      summary: FEDWIRE, individual holder
      value:
        id: 9b361466-9a93-4ed2-aae9-4886098f9a9e
        customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name: John Smith Savings Account
        rail: FEDWIRE
        currency: USD
        identifier:
          type: SAVINGS
          accountNumber: '987654321'
          routingNumber: '026009593'
        bank:
          name: Bank of America
          address:
            line1: 100 North Tryon Street
            city: Charlotte
            state: NC
            postalCode: '28255'
            country: USA
        holder:
          type: INDIVIDUAL
          relationship: BUSINESS_PARTNER
          name: John Smith
          taxId: '123456789'
          birthDate: '1980-07-04'
          email: john.smith@example.com
          address:
            line1: 350 5th Avenue
            city: New York
            state: NY
            postalCode: 10118-0110
            country: USA
          verification:
            status: APPROVED
            level: BASIC
        createdAt: '2026-11-03T17:37:59.970Z'
        updatedAt: '2026-11-03T17:37:59.970Z'
    DestinationSwiftExample:
      summary: SWIFT with IBAN, individual holder
      value:
        id: 564e0188-e29f-4f48-8d19-b8198cf52150
        customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name: Lukas Weber USD Account
        rail: SWIFT
        currency: USD
        identifier:
          iban: DE89370400440532013000
          bic: COBADEFFXXX
        bank:
          name: Commerzbank AG
          address:
            line1: Kaiserplatz 1
            city: Frankfurt am Main
            state: HE
            postalCode: '60311'
            country: DEU
        holder:
          type: INDIVIDUAL
          relationship: CUSTOMER
          name: Lukas Weber
          taxId: '86095742719'
          birthDate: '1988-02-29'
          email: lukas.weber@example.com
          address:
            line1: Zeil 106
            city: Frankfurt am Main
            state: HE
            postalCode: '60313'
            country: DEU
          verification:
            status: APPROVED
            level: BASIC
        createdAt: '2026-11-03T17:40:37.117Z'
        updatedAt: '2026-11-03T17:40:37.117Z'
    DestinationSwiftAccountNumberExample:
      summary: SWIFT with account number and intermediary, business holder
      value:
        id: 5076269a-6dc1-4d34-8cc7-f913197d2280
        customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name: Lumx Cayman Holdings Account
        rail: SWIFT
        currency: USD
        identifier:
          accountNumber: '1234567890'
          bic: BUTTKYKY
        bank:
          name: Butterfield Bank Cayman
          address:
            line1: 65 Market Street
            city: George Town
            state: Grand Cayman
            postalCode: KY1-1107
            country: CYM
        holder:
          type: BUSINESS
          relationship: HOLDING_COMPANY
          legalName: Lumx Cayman Ltd
          taxId: '1234567'
          incorporationDate: '2019-01-15'
          email: holding@lumx.io
          address:
            line1: Grand Pavilion Hibiscus Way
            city: George Town
            state: Grand Cayman
            postalCode: KY1-1205
            country: CYM
          verification:
            status: APPROVED
            level: BASIC
        intermediary:
          name: JPMorgan Chase Bank NA
          bic: CHASUS33
          country: USA
        createdAt: '2026-11-03T17:37:39.215Z'
        updatedAt: '2026-11-03T17:37:39.215Z'
    DestinationSepaExample:
      summary: SEPA, individual holder
      value:
        id: 573ac473-7236-437a-8bd2-4a37347f878b
        customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name: Marie Dubois Payroll Account
        rail: SEPA
        currency: EUR
        identifier:
          iban: FR1420041010050500013M02606
          bic: BNPAFRPP
        bank:
          name: BNP Paribas
          address:
            country: FRA
        holder:
          type: INDIVIDUAL
          relationship: EMPLOYEE
          name: Marie Dubois
          taxId: '1850578006084'
          birthDate: '1985-05-12'
          email: marie.dubois@example.com
          address:
            line1: 45 Avenue Montaigne
            city: Paris
            postalCode: '75008'
            country: FRA
          verification:
            status: APPROVED
            level: BASIC
        createdAt: '2026-11-03T17:37:48.281Z'
        updatedAt: '2026-11-03T17:37:48.281Z'
    DestinationSepaBusinessExample:
      summary: SEPA, business holder with full addresses
      value:
        id: 83e45e1d-f580-429d-ba7a-05d58619e175
        customerId: a97f1a81-6f56-43a9-899a-5863322dfba9
        name: Rossi Credit Account
        rail: SEPA
        currency: EUR
        identifier:
          iban: IT60X0542811101000000123456
          bic: BPMOIT22
        bank:
          name: Banca Popolare di Milano
          address:
            line1: Piazza Filippo Meda 4
            city: Milano
            state: Lombardia
            postalCode: '20121'
            country: ITA
        holder:
          type: BUSINESS
          relationship: CREDITOR
          legalName: Rossi Finanziaria SRL
          taxId: IT12345678901
          incorporationDate: '2012-04-18'
          email: finance@rossifinanziaria.it
          address:
            line1: Via Dante 15
            line2: Scala B
            city: Milano
            state: Lombardia
            postalCode: '20123'
            country: ITA
          verification:
            status: APPROVED
            level: BASIC
        createdAt: '2026-11-03T18:30:17.633Z'
        updatedAt: '2026-11-03T18:30:17.633Z'
    DestinationFpsExample:
      summary: FPS, business holder
      value:
        id: f5409fcb-80a5-4af4-b9f4-721fa7414b1a
        customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name: Lumx UK Supplier Account
        rail: FPS
        currency: GBP
        identifier:
          accountNumber: '00125977'
          sortCode: '040509'
        bank:
          name: Barclays Bank UK
          address:
            country: GBR
        holder:
          type: BUSINESS
          relationship: SUPPLIER
          legalName: Thames Logistics Ltd
          taxId: GB123456789
          incorporationDate: '2016-03-01'
          email: accounts@thameslogistics.co.uk
          address:
            country: GBR
          verification:
            status: APPROVED
            level: BASIC
        createdAt: '2026-11-03T17:37:48.951Z'
        updatedAt: '2026-11-03T17:37:48.951Z'
    DestinationSpeiExample:
      summary: SPEI, business holder
      value:
        id: 069756b4-3ff6-4ea0-b585-b9fc27c49392
        customerId: 31d79c2a-6a4d-4240-b3fd-5e6ccb68527d
        name: Lumx Mexico Operations Account
        rail: SPEI
        currency: MXN
        identifier:
          clabe: '012180001234567899'
        holder:
          type: BUSINESS
          relationship: BRANCH_OFFICE
          legalName: Lumx Mexico SA de CV
          taxId: LME200101AB1
          email: mx@lumx.io
          verification:
            status: APPROVED
            level: BASIC
        createdAt: '2026-11-03T17:38:09.091Z'
        updatedAt: '2026-11-03T17:38:09.091Z'
    DestinationSpeiIndividualExample:
      summary: SPEI, individual holder with address
      value:
        id: 215d0c84-12bd-49f2-89cf-ea1855a8f02a
        customerId: a97f1a81-6f56-43a9-899a-5863322dfba9
        name: Carlos Ramirez MXN Account
        rail: SPEI
        currency: MXN
        identifier:
          clabe: '012180001234567899'
        holder:
          type: INDIVIDUAL
          relationship: FRIEND
          name: Carlos Ramirez
          taxId: RAMC850101HDFMRR09
          email: carlos.ramirez@example.com
          address:
            line1: Avenida Insurgentes Sur 1458
            city: Ciudad de Mexico
            state: CMX
            postalCode: '03230'
            country: MEX
          verification:
            status: APPROVED
            level: BASIC
        createdAt: '2026-11-03T18:30:09.843Z'
        updatedAt: '2026-11-03T18:30:09.843Z'
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: Bearer authentication header on the format `Bearer <API_KEY>`.

````

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