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

# Get a single payment by its origin ID

> Returns the single Payment with the given origin-platform ID for an account, in the same shape as `GET /activity/payment/{id}`. Only that Payment is returned, never the other Payments on its Order; `order.metadata.paymentsCount` gives how many the Order holds.



## OpenAPI

````yaml /autogenerated/openapi/transactions.openapi.json get /activity/payment/origin/{originId}
openapi: 3.1.0
info:
  title: Transactions API
  version: 2.0.0
  description: Version 2
  license:
    name: UNLICENSED
    url: https://docs.equalsmoney.com
servers:
  - url: https://api.equalsmoney.com/v2
    description: Production
  - url: https://api-sandbox.equalsmoney.com/v2
    description: Sandbox
security: []
paths:
  /activity/payment/origin/{originId}:
    get:
      tags:
        - Transaction activity
      summary: Get a single payment by its origin ID
      description: >-
        Returns the single Payment with the given origin-platform ID for an
        account, in the same shape as `GET /activity/payment/{id}`. Only that
        Payment is returned, never the other Payments on its Order;
        `order.metadata.paymentsCount` gives how many the Order holds.
      operationId: findPaymentActivityByOriginId
      parameters:
        - name: originId
          in: path
          required: true
          schema:
            description: >-
              The ID of the Payment on the origin platform. This is the
              `transactionGroupId` on the payment's BoxCredited/BoxDebited
              webhooks.
            type:
              - string
            maxLength: 36
            example: 9a623439-8275-4230-a157-6c623a2ea7b8
        - name: accountId
          in: query
          schema:
            type:
              - string
            description: The ID of the account to work with.
            example: F50091
          required: true
        - name: include
          in: query
          schema:
            description: >-
              Controls which optional properties should be attached to the
              response. `forwardDetails` attaches the forward contract's
              payments, events, deposits and drawdowns to forward contract
              payments. `paymentFiles` attaches a `paymentFiles` array (per
              UETR); each item has a `fileType` (mt103/pacs008/pain001/pdf) and
              a pre-signed `url`. `swiftGpi` attaches the SWIFT GPI tracking
              detail (UETR, status and payment-leg events).
            oneOf:
              - type:
                  - string
              - type:
                  - array
                items:
                  type:
                    - string
                  enum:
                    - forwardDetails
                    - paymentFiles
                    - swiftGpi
            enum:
              - forwardDetails
              - paymentFiles
              - swiftGpi
            example: paymentFiles,swiftGpi
        - name: personId
          in: query
          schema:
            description: >-
              The ID of the person to work with. Use commas to pass multiple
              values. Has to be URL encoded.
            oneOf:
              - type:
                  - string
              - type:
                  - array
                items:
                  type:
                    - string
                  format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type:
                  - object
                properties:
                  resourceType:
                    type:
                      - string
                    enum:
                      - payment
                      - currencyPurchase
                    description: >-
                      Used to identify this particular type of Order. E.g. when
                      it's part of the "activity" stream. Exchange payments
                      return "currencyPurchase".
                    example: payment
                  id:
                    type:
                      - integer
                    description: The ID of the Payment.
                    example: 42782085
                  orderId:
                    type:
                      - integer
                    description: The ID of the Order the Payment belongs to.
                    example: 1380
                  userId:
                    type:
                      - string
                      - 'null'
                    maxLength: 36
                    description: >-
                      The ID of the User that the Payment belongs to. Can be
                      NULL (PAY Payment for example).
                    example: 34edaf73-49be-4669-83ee-1b1f8c680d26
                  ownerId:
                    type:
                      - string
                      - 'null'
                    format: uuid
                    maxLength: 36
                    description: >-
                      The CIS person UUID of the person who owns this Payment —
                      the same identity the app holds for a logged-in person.
                      Null when no owner is known (never the caller by
                      fallback); distinct from the legacy `userId` column, which
                      may hold an auth subject on older rows. Absent from older
                      producers.
                    example: 775596ae-2624-40af-a9dc-9756110a4a04
                  companyId:
                    type:
                      - string
                    maxLength: 36
                    description: The ID of the Company that the Payment belongs to.
                    example: F50072
                  originId:
                    type:
                      - string
                    maxLength: 36
                    description: >-
                      The ID of the Payment on the origin platform. PAY for
                      example
                    example: 9a623439-8275-4230-a157-6c623a2ea7b8
                  originOrderId:
                    type:
                      - string
                    maxLength: 36
                    description: >-
                      The order ID of the Order the Payment belongs to on the
                      origin platform. PAY for example
                    example: EKOBEPVFJ
                  externalId:
                    type:
                      - string
                      - 'null'
                    minLength: 1
                    maxLength: 64
                    description: >-
                      The customer-defined unique identifier for the payment.
                      Echoes the externalId originally supplied to POST
                      /v2/payments. Absent or null when none was supplied.
                    example: cust-ref-9f3b
                  budgetId:
                    type:
                      - string
                    format: uuid
                    maxLength: 36
                    description: The ID of the budget to work with.
                    example: 775596ae-2624-40af-a9dc-9756110a4a03
                  status:
                    type:
                      - string
                    enum:
                      - needsApproval
                      - fundsRequired
                      - pending
                      - complete
                      - declined
                      - reverted
                      - refunded
                      - cancelled
                      - open
                      - cardCheck
                      - fundsSettled
                    description: >-
                      The status of the Payment. Currently always the same as
                      the parent Order status.
                    example: orderCancelled
                  isMultiBeneficiary:
                    type:
                      - boolean
                    description: Whether this is a single or multi beneficiary payment.
                  budget:
                    default: companyBalance
                    type:
                      - string
                    enum:
                      - companyBalance
                    description: Always returns "companyBalance" as the Budget.
                  beneficiaryId:
                    type:
                      - string
                    maxLength: 256
                    description: The unique ID of the beneficiary
                    example: ben90944601
                  beneficiaryName:
                    type:
                      - string
                    maxLength: 256
                    description: Name of the Person receiving the Payment.
                    example: Nichole Grant
                  beneficiaryAddress:
                    type:
                      - string
                    description: Address of the Person receiving the Payment.
                    example: 46315 Bailey MillSouth CamilleNiue
                  beneficiaryAccountNumber:
                    type:
                      - string
                    maxLength: 32
                    description: Bank account number to send the Payment to.
                    example: '10387899'
                  beneficiarySortCode:
                    type:
                      - string
                    maxLength: 32
                    description: Sort code of the bank to send the Payment to.
                    example: 12-34-56
                  beneficiaryIban:
                    type:
                      - string
                    maxLength: 34
                    description: Iban of the bank to send the Payment to.
                    example: PT72105510150936500020992
                  beneficiaryBankCode:
                    type:
                      - string
                    maxLength: 256
                    description: Bank code of the bank to send the Payment to.
                    example: QHKEMKK1
                  beneficiaryBankAddress:
                    type:
                      - string
                    description: Address of the bank the Payment is being made to.
                    example: 883 Bernie MountainNew EstachesterVietnam
                  beneficiaryCountryCode:
                    type:
                      - string
                    description: >-
                      The ISO country code for the country the beneficiary is
                      registered to.
                    example: GB
                  beneficiaryRoutingInfo:
                    type:
                      - string
                    description: >-
                      Extra payment information as to how a payment will be
                      routed.
                    example: >-
                      Payment will be routed from Barclays Bank and then through
                      Lloyds bank
                  remitterName:
                    type:
                      - string
                      - 'null'
                    maxLength: 256
                    description: Name of the Person send in the Payment.
                    example: Joseph Bloggs
                  reference:
                    type:
                      - string
                    description: Handy reference to describe the Order.
                    example: >-
                      withdrawal transaction at Osinski, Zboncak and Bayer using
                      card ending with ***3963 for IDR 670.50 in account
                      ***32418758
                  amount:
                    type:
                      - number
                    description: >-
                      The amount the Payment was for. Maximum amount is
                      9999999999.99.
                    example: 773.08
                  currency:
                    type:
                      - string
                    enum:
                      - AED
                      - AFN
                      - ALL
                      - AMD
                      - ANG
                      - AOA
                      - ARS
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - BMD
                      - BND
                      - BOB
                      - BOV
                      - BRL
                      - BSD
                      - BTN
                      - BWP
                      - BYN
                      - BZD
                      - CAD
                      - CDF
                      - CHF
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUC
                      - CUP
                      - CVE
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - ERN
                      - ETB
                      - EUR
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GGP
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LTL
                      - LVL
                      - LYD
                      - MAD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - NGN
                      - NIO
                      - NOK
                      - NPR
                      - NZD
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SEK
                      - SGD
                      - SHN
                      - SLE
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STN
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - USD
                      - UYU
                      - UZS
                      - VND
                      - VUV
                      - WST
                      - XAF
                      - XAG
                      - XAU
                      - XCD
                      - XOF
                      - XPD
                      - XPF
                      - XPT
                      - YER
                      - ZAR
                      - ZMK
                      - ZMW
                      - ZWD
                    example: USD
                  sellCurrency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AED
                      - AFN
                      - ALL
                      - AMD
                      - ANG
                      - AOA
                      - ARS
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - BMD
                      - BND
                      - BOB
                      - BOV
                      - BRL
                      - BSD
                      - BTN
                      - BWP
                      - BYN
                      - BZD
                      - CAD
                      - CDF
                      - CHF
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUC
                      - CUP
                      - CVE
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - ERN
                      - ETB
                      - EUR
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GGP
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LTL
                      - LVL
                      - LYD
                      - MAD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - NGN
                      - NIO
                      - NOK
                      - NPR
                      - NZD
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SEK
                      - SGD
                      - SHN
                      - SLE
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STN
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - USD
                      - UYU
                      - UZS
                      - VND
                      - VUV
                      - WST
                      - XAF
                      - XAG
                      - XAU
                      - XCD
                      - XOF
                      - XPD
                      - XPF
                      - XPT
                      - YER
                      - ZAR
                      - ZMK
                      - ZMW
                      - ZWD
                    example: USD
                  buyCurrency:
                    type:
                      - string
                      - 'null'
                    enum:
                      - AED
                      - AFN
                      - ALL
                      - AMD
                      - ANG
                      - AOA
                      - ARS
                      - AUD
                      - AWG
                      - AZN
                      - BAM
                      - BBD
                      - BDT
                      - BGN
                      - BHD
                      - BIF
                      - BMD
                      - BND
                      - BOB
                      - BOV
                      - BRL
                      - BSD
                      - BTN
                      - BWP
                      - BYN
                      - BZD
                      - CAD
                      - CDF
                      - CHF
                      - CLP
                      - CNY
                      - COP
                      - CRC
                      - CUC
                      - CUP
                      - CVE
                      - CZK
                      - DJF
                      - DKK
                      - DOP
                      - DZD
                      - EGP
                      - ERN
                      - ETB
                      - EUR
                      - FJD
                      - FKP
                      - GBP
                      - GEL
                      - GGP
                      - GHS
                      - GIP
                      - GMD
                      - GNF
                      - GTQ
                      - GYD
                      - HKD
                      - HNL
                      - HRK
                      - HTG
                      - HUF
                      - IDR
                      - ILS
                      - INR
                      - IQD
                      - IRR
                      - ISK
                      - JMD
                      - JOD
                      - JPY
                      - KES
                      - KGS
                      - KHR
                      - KMF
                      - KPW
                      - KRW
                      - KWD
                      - KYD
                      - KZT
                      - LAK
                      - LBP
                      - LKR
                      - LRD
                      - LSL
                      - LTL
                      - LVL
                      - LYD
                      - MAD
                      - MDL
                      - MGA
                      - MKD
                      - MMK
                      - MNT
                      - MOP
                      - MUR
                      - MVR
                      - MWK
                      - MXN
                      - MYR
                      - MZN
                      - NAD
                      - NGN
                      - NIO
                      - NOK
                      - NPR
                      - NZD
                      - OMR
                      - PAB
                      - PEN
                      - PGK
                      - PHP
                      - PKR
                      - PLN
                      - PYG
                      - QAR
                      - RON
                      - RSD
                      - RUB
                      - RWF
                      - SAR
                      - SBD
                      - SCR
                      - SEK
                      - SGD
                      - SHN
                      - SLE
                      - SLL
                      - SOS
                      - SRD
                      - SSP
                      - STN
                      - SYP
                      - SZL
                      - THB
                      - TJS
                      - TMT
                      - TND
                      - TOP
                      - TRY
                      - TTD
                      - TWD
                      - TZS
                      - UAH
                      - UGX
                      - USD
                      - UYU
                      - UZS
                      - VND
                      - VUV
                      - WST
                      - XAF
                      - XAG
                      - XAU
                      - XCD
                      - XOF
                      - XPD
                      - XPF
                      - XPT
                      - YER
                      - ZAR
                      - ZMK
                      - ZMW
                      - ZWD
                    example: USD
                  settlementAmount:
                    type:
                      - number
                      - 'null'
                    description: >-
                      When isMultiBeneficiary = false. The amount of the
                      currency being bought including our Fee. Maximum amount is
                      9999999999.99.
                    example: 33920.34
                  settlementFee:
                    type:
                      - number
                      - 'null'
                    description: >-
                      When isMultiBeneficiary = false. The total fee we took for
                      the facilitating the purchase.
                    example: 1.34
                  settlementAmountWithoutFee:
                    type:
                      - number
                      - 'null'
                    description: >-
                      When isMultiBeneficiary = false. The amount of the
                      currency being bought excluding our Fee. Maximum amount is
                      9999999999.99.
                    example: 33920.34
                  customerRate:
                    type:
                      - number
                      - 'null'
                    description: >-
                      When isMultiBeneficiary = false. The rate at which the buy
                      currency was bought including any margin. This is the rate
                      the customer sees
                    example: 0.8637052
                  customerInverseRate:
                    type:
                      - number
                      - 'null'
                    description: >-
                      When isMultiBeneficiary = false. The rate at which the
                      sell currency was sold including any margin
                    example: 0.71942446043
                  confirmationKey:
                    type:
                      - string
                      - 'null'
                    description: >-
                      When isMultiBeneficiary = false. The key used to identify
                      a pdf confirmation for an order.
                    example: F36555/pdf/F36555-000265963.pdf
                  uniqueId:
                    type:
                      - string
                    maxLength: 256
                    description: The unique ID of the beneficiary on MTS
                    example: 69e4a1e8-db35-4301-b5a8-67a2cb063609
                  uetr:
                    type:
                      - string
                      - 'null'
                    maxLength: 36
                    description: >-
                      Unique End-to-end Transaction Reference. Set on payments
                      routed over SWIFT or CHAPS. Not an eligibility signal on
                      its own, since it can be present on payments no
                      confirmation can be produced for. Use
                      paymentConfirmationAvailable to decide whether to offer a
                      confirmation document.
                    example: eb6305c8-0d2a-4e1e-a30f-3ef5b1e5c2f8
                  paymentConfirmationAvailable:
                    type:
                      - boolean
                    description: >-
                      Whether a payment confirmation document can be produced
                      for this Payment.
                    example: true
                  paymentNetwork:
                    type:
                      - string
                      - 'null'
                    enum:
                      - SWIFT
                      - SEPA.INSTANT
                      - SEPA.CREDITTRANSFER
                      - CHAPS
                      - UKFPS
                      - ACH
                      - WIRETRANSFER
                      - OFF_PLATFORM
                      - NIP
                    example: UKFPS
                    description: >-
                      The network the Payment was routed over. Null where the
                      rail is not known, and for internal transfers, which have
                      no external network.
                  type:
                    type:
                      - string
                      - 'null'
                    enum:
                      - exchange
                      - payment
                      - cardPayment
                      - deposit
                      - forwardContract
                      - drawdown
                      - load
                      - fee
                      - tax
                    description: >-
                      The type of the Payment. `fee` and `tax` are billing
                      charges raised against an order, not customer-initiated
                      movements.
                  order:
                    type:
                      - object
                    properties:
                      id:
                        type:
                          - integer
                        description: The ID of the Order.
                        example: 1380
                      companyId:
                        type:
                          - string
                        maxLength: 36
                        description: The ID of the Company that the Order belongs to.
                        example: F50072
                      originId:
                        type:
                          - string
                        maxLength: 36
                        description: The ID of the Order on the origin platform.
                        example: 9a623439-8275-4230-a157-6c623a2ea7b8
                      status:
                        type:
                          - string
                        enum:
                          - needsApproval
                          - fundsRequired
                          - pending
                          - complete
                          - declined
                          - reverted
                          - refunded
                          - cancelled
                          - open
                          - cardCheck
                          - fundsSettled
                        description: The status of the Order.
                      type:
                        type:
                          - string
                        maxLength: 25
                        description: The type of the Order.
                        example: payment
                      userId:
                        type:
                          - string
                          - 'null'
                        maxLength: 36
                        description: The ID of the User that the Order belongs to.
                        example: 34edaf73-49be-4669-83ee-1b1f8c680d26
                      ownerId:
                        type:
                          - string
                          - 'null'
                        format: uuid
                        maxLength: 36
                        description: >-
                          The CIS person UUID of the person who owns this Order
                          — the same identity the app holds for a logged-in
                          person. Null when the Order has no known stored owner
                          (never inferred, never the caller by fallback);
                          distinct from the legacy `userId` column, which may
                          hold an auth subject on older rows. Absent from older
                          producers.
                        example: 775596ae-2624-40af-a9dc-9756110a4a04
                      userName:
                        type:
                          - string
                          - 'null'
                        maxLength: 256
                        description: The name of the User that the Order belongs to.
                        example: John Doe
                      lastSourceEventDatetime:
                        type:
                          - string
                          - 'null'
                        format: date-time
                        description: The last source event datetime.
                      orderSource:
                        type:
                          - string
                          - 'null'
                        description: The order source.
                      parentOriginId:
                        type:
                          - string
                          - 'null'
                        description: The parent origin ID.
                      settlementDate:
                        type:
                          - string
                          - 'null'
                        description: The settlement date.
                      initiator:
                        type:
                          - string
                          - 'null'
                        description: The identifier of the entity that initiated the order.
                        example: John Doe
                      metadata:
                        type:
                          - object
                          - 'null'
                        additionalProperties:
                          type:
                            - string
                        description: Metadata attached to the order.
                        example: '{ paymentsCount: 1 }'
                      events:
                        type:
                          - array
                          - 'null'
                        items: {}
                        description: Array of events associated with the Order.
                      payments:
                        type:
                          - array
                          - 'null'
                        items: {}
                        description: Array of payments associated with the Order.
                      childFundingBudget:
                        type:
                          - object
                          - 'null'
                        properties:
                          budgetId:
                            type:
                              - string
                            format: uuid
                            maxLength: 36
                            description: The ID of the budget to work with.
                            example: 775596ae-2624-40af-a9dc-9756110a4a03
                          boxCollectionId:
                            type:
                              - string
                              - 'null'
                            description: >-
                              The ID of the box collection backing the child
                              budget.
                          budgetName:
                            type:
                              - string
                              - 'null'
                            description: |2-

                                  Display name of the child budget, resolved by iPay at order time and
                                  applied directly as the pending payment's budget name. When absent,
                                  the name is resolved from the budget id as a transitional fallback.
                                  
                            example: Marketing sub-balance
                        required:
                          - budgetId
                        description: |2-

                              Present when the order is funded from a sub-balance (child budget). Its
                                budgetId is applied as the pending payment's budget attribution so the
                                Transactions view shows the sub-balance rather than the account balance.
                                Absent for base-balance-funded orders.
                              
                      createdAt:
                        type:
                          - string
                        format: date-time
                        description: >-
                          The date the Resource was initially created. ISO 8601
                          format without milliseconds.
                      updatedAt:
                        type:
                          - string
                        format: date-time
                        description: >-
                          The date the Resource was last modified. ISO 8601
                          format without milliseconds.
                    required:
                      - id
                      - companyId
                      - originId
                      - status
                      - type
                      - createdAt
                      - updatedAt
                  deleted:
                    type:
                      - boolean
                      - 'null'
                    description: >-
                      Used to show if a payment has been deleted (when received
                      from PAY).
                  budgetName:
                    type:
                      - string
                    description: The name of the budget.
                  transactionGroupId:
                    type:
                      - string
                      - 'null'
                    description: The transaction group ID.
                    example: 1c0547bd-30e6-4d14-b82e-78cd128fbfd9
                  transactionBoxes:
                    type:
                      - array
                    items:
                      type:
                        - object
                      properties:
                        id:
                          type:
                            - string
                          description: The ID of the transaction box.
                          example: 2af0e603-0c72-4a7c-8020-52916d7a9960
                        accountId:
                          type:
                            - string
                          description: The ID of the account to work with.
                          example: F50091
                        budgetId:
                          type:
                            - string
                          format: uuid
                          maxLength: 36
                          description: The ID of the budget to work with.
                          example: 775596ae-2624-40af-a9dc-9756110a4a03
                        transactionId:
                          type:
                            - string
                            - 'null'
                          description: The transaction ID.
                          example: '42782085'
                        transactionBoxableId:
                          type:
                            - string
                          description: The transaction boxable ID.
                          example: '42782085'
                        transactionBoxableType:
                          type:
                            - string
                          description: The transaction boxable type.
                          example: payment
                        paymentId:
                          type:
                            - integer
                            - 'null'
                          description: The payment ID.
                          example: 42782085
                        orderId:
                          type:
                            - string
                          description: The order ID.
                          example: E61BG8PJCXQ4-Fee
                        eventSource:
                          type:
                            - string
                          description: >-
                            The system or process that triggered this
                            transaction.
                          example: Orders
                        chargeBearer:
                          type:
                            - string
                            - 'null'
                          description: Indicates who bears the transaction charges.
                        blockId:
                          type:
                            - string
                            - 'null'
                          description: >-
                            The unique identifier for the block this transaction
                            belongs to.
                          example: '454'
                        blockTag:
                          type:
                            - string
                            - 'null'
                          description: A tag used to group related blocked transactions.
                          example: abd8d22e-d701-45c4-960a-d198e0e16a14
                        blockFriendlyId:
                          type:
                            - string
                            - 'null'
                          maxLength: 36
                          description: The customer-facing UUID identifier for the block.
                          example: abd8d22e-d701-45c4-960a-d198e0e16a14
                        paymentType:
                          type:
                            - string
                            - 'null'
                          description: The payment scheme used for this transaction.
                          example: UK.OBIE.BalanceTransfer
                        creditDebitIndicator:
                          type:
                            - string
                            - 'null'
                          enum:
                            - Debit
                            - Credit
                          description: The credit and debit indicator.
                          example: Debit
                        thirdPartyReference:
                          type:
                            - string
                            - 'null'
                          maxLength: 50
                          description: >-
                            A reference provided by the third party system that
                            initiated this transaction.
                          example: abd8d22e-d701-45c4-960a-d198e0e16a14-FEE
                        internalAccountTransferId:
                          type:
                            - string
                            - 'null'
                          description: The internal account transfer id.
                          example: BR89
                        affectsLedgerBalance:
                          type:
                            - boolean
                            - 'null'
                          description: >-
                            A boolean to indicate if the ledger balance is
                            affected.
                          example: false
                        isCurrencyAlignment:
                          type:
                            - boolean
                            - 'null'
                          description: >-
                            Indicates if this is a currency alignment
                            transaction.
                          example: false
                        runningBalance:
                          type:
                            - string
                            - 'null'
                          description: The balance after this transaction was processed.
                          example: '957.92'
                        transactionReference:
                          type:
                            - string
                            - 'null'
                          description: The transaction reference.
                          example: ''
                        statementReference:
                          type:
                            - string
                            - 'null'
                          description: The statement reference.
                          example: ''
                        debtorAccount:
                          type:
                            - object
                            - 'null'
                          properties:
                            id:
                              type:
                                - string
                              description: The ID of the account.
                              example: ed8388b1-4d01-41e7-a04a-2be9a56adb68
                            ownerId:
                              type:
                                - string
                                - 'null'
                              maxLength: 36
                              description: The owner ID.
                              example: d6061bbee6
                            accountId:
                              type:
                                - string
                                - 'null'
                              description: The ID of the account to work with.
                              example: F50091
                            schemeName:
                              type:
                                - string
                                - 'null'
                              description: The scheme name.
                              example: UK.OBIE.SortCodeAccountNumber
                            identification:
                              type:
                                - string
                                - 'null'
                              description: The identification.
                              example: '23188474064478'
                            name:
                              type:
                                - string
                                - 'null'
                              description: The name.
                              example: Joe Bloggs 202106171735
                            address:
                              type:
                                - string
                              description: The address.
                              example: 21 test street
                            institutionAddress:
                              type:
                                - string
                              description: The institution address.
                              example: 29 test street
                            institutionBic:
                              type:
                                - string
                              description: The institution BIC.
                              example: '1'
                            institutionName:
                              type:
                                - string
                              description: The institution name.
                              example: Test Name
                            transactionBoxId:
                              type:
                                - string
                              description: The transaction box ID.
                              example: 1ee51a67-d6ba-480e-9686-f2fadb1fa1ef
                            sourceBudgetId:
                              type:
                                - string
                                - 'null'
                              format: uuid
                              maxLength: 36
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                ID of the source budget the funds came from. Set
                                on the debtor account.
                              example: 775596ae-2624-40af-a9dc-9756110a4a03
                            sourceBudgetName:
                              type:
                                - string
                                - 'null'
                              maxLength: 256
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                name of the source budget the funds came from.
                                Set on the debtor account.
                              example: Marketing budget
                            destinationBudgetId:
                              type:
                                - string
                                - 'null'
                              format: uuid
                              maxLength: 36
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                ID of the destination budget the funds went to.
                                Set on the creditor account.
                              example: 775596ae-2624-40af-a9dc-9756110a4a03
                            destinationBudgetName:
                              type:
                                - string
                                - 'null'
                              maxLength: 256
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                name of the destination budget the funds went
                                to. Set on the creditor account.
                              example: Travel budget
                          required:
                            - ownerId
                            - accountId
                            - schemeName
                            - identification
                            - name
                        creditorAccount:
                          type:
                            - object
                            - 'null'
                          properties:
                            id:
                              type:
                                - string
                              description: The ID of the account.
                              example: ed8388b1-4d01-41e7-a04a-2be9a56adb68
                            ownerId:
                              type:
                                - string
                                - 'null'
                              maxLength: 36
                              description: The owner ID.
                              example: d6061bbee6
                            accountId:
                              type:
                                - string
                                - 'null'
                              description: The ID of the account to work with.
                              example: F50091
                            schemeName:
                              type:
                                - string
                                - 'null'
                              description: The scheme name.
                              example: UK.OBIE.SortCodeAccountNumber
                            identification:
                              type:
                                - string
                                - 'null'
                              description: The identification.
                              example: '23188474064478'
                            name:
                              type:
                                - string
                                - 'null'
                              description: The name.
                              example: Joe Bloggs 202106171735
                            address:
                              type:
                                - string
                              description: The address.
                              example: 21 test street
                            institutionAddress:
                              type:
                                - string
                              description: The institution address.
                              example: 29 test street
                            institutionBic:
                              type:
                                - string
                              description: The institution BIC.
                              example: '1'
                            institutionName:
                              type:
                                - string
                              description: The institution name.
                              example: Test Name
                            transactionBoxId:
                              type:
                                - string
                              description: The transaction box ID.
                              example: 1ee51a67-d6ba-480e-9686-f2fadb1fa1ef
                            sourceBudgetId:
                              type:
                                - string
                                - 'null'
                              format: uuid
                              maxLength: 36
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                ID of the source budget the funds came from. Set
                                on the debtor account.
                              example: 775596ae-2624-40af-a9dc-9756110a4a03
                            sourceBudgetName:
                              type:
                                - string
                                - 'null'
                              maxLength: 256
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                name of the source budget the funds came from.
                                Set on the debtor account.
                              example: Marketing budget
                            destinationBudgetId:
                              type:
                                - string
                                - 'null'
                              format: uuid
                              maxLength: 36
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                ID of the destination budget the funds went to.
                                Set on the creditor account.
                              example: 775596ae-2624-40af-a9dc-9756110a4a03
                            destinationBudgetName:
                              type:
                                - string
                                - 'null'
                              maxLength: 256
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                name of the destination budget the funds went
                                to. Set on the creditor account.
                              example: Travel budget
                          required:
                            - ownerId
                            - accountId
                            - schemeName
                            - identification
                            - name
                        fx:
                          type:
                            - object
                            - 'null'
                          properties:
                            sourceCurrency:
                              type:
                                - string
                              enum:
                                - AED
                                - AFN
                                - ALL
                                - AMD
                                - ANG
                                - AOA
                                - ARS
                                - AUD
                                - AWG
                                - AZN
                                - BAM
                                - BBD
                                - BDT
                                - BGN
                                - BHD
                                - BIF
                                - BMD
                                - BND
                                - BOB
                                - BOV
                                - BRL
                                - BSD
                                - BTN
                                - BWP
                                - BYN
                                - BZD
                                - CAD
                                - CDF
                                - CHF
                                - CLP
                                - CNY
                                - COP
                                - CRC
                                - CUC
                                - CUP
                                - CVE
                                - CZK
                                - DJF
                                - DKK
                                - DOP
                                - DZD
                                - EGP
                                - ERN
                                - ETB
                                - EUR
                                - FJD
                                - FKP
                                - GBP
                                - GEL
                                - GGP
                                - GHS
                                - GIP
                                - GMD
                                - GNF
                                - GTQ
                                - GYD
                                - HKD
                                - HNL
                                - HRK
                                - HTG
                                - HUF
                                - IDR
                                - ILS
                                - INR
                                - IQD
                                - IRR
                                - ISK
                                - JMD
                                - JOD
                                - JPY
                                - KES
                                - KGS
                                - KHR
                                - KMF
                                - KPW
                                - KRW
                                - KWD
                                - KYD
                                - KZT
                                - LAK
                                - LBP
                                - LKR
                                - LRD
                                - LSL
                                - LTL
                                - LVL
                                - LYD
                                - MAD
                                - MDL
                                - MGA
                                - MKD
                                - MMK
                                - MNT
                                - MOP
                                - MUR
                                - MVR
                                - MWK
                                - MXN
                                - MYR
                                - MZN
                                - NAD
                                - NGN
                                - NIO
                                - NOK
                                - NPR
                                - NZD
                                - OMR
                                - PAB
                                - PEN
                                - PGK
                                - PHP
                                - PKR
                                - PLN
                                - PYG
                                - QAR
                                - RON
                                - RSD
                                - RUB
                                - RWF
                                - SAR
                                - SBD
                                - SCR
                                - SEK
                                - SGD
                                - SHN
                                - SLE
                                - SLL
                                - SOS
                                - SRD
                                - SSP
                                - STN
                                - SYP
                                - SZL
                                - THB
                                - TJS
                                - TMT
                                - TND
                                - TOP
                                - TRY
                                - TTD
                                - TWD
                                - TZS
                                - UAH
                                - UGX
                                - USD
                                - UYU
                                - UZS
                                - VND
                                - VUV
                                - WST
                                - XAF
                                - XAG
                                - XAU
                                - XCD
                                - XOF
                                - XPD
                                - XPF
                                - XPT
                                - YER
                                - ZAR
                                - ZMK
                                - ZMW
                                - ZWD
                              example: USD
                            sourceAmount:
                              type:
                                - string
                              description: The source amount of the FX.
                              example: '1.16'
                            destinationCurrency:
                              type:
                                - string
                              enum:
                                - AED
                                - AFN
                                - ALL
                                - AMD
                                - ANG
                                - AOA
                                - ARS
                                - AUD
                                - AWG
                                - AZN
                                - BAM
                                - BBD
                                - BDT
                                - BGN
                                - BHD
                                - BIF
                                - BMD
                                - BND
                                - BOB
                                - BOV
                                - BRL
                                - BSD
                                - BTN
                                - BWP
                                - BYN
                                - BZD
                                - CAD
                                - CDF
                                - CHF
                                - CLP
                                - CNY
                                - COP
                                - CRC
                                - CUC
                                - CUP
                                - CVE
                                - CZK
                                - DJF
                                - DKK
                                - DOP
                                - DZD
                                - EGP
                                - ERN
                                - ETB
                                - EUR
                                - FJD
                                - FKP
                                - GBP
                                - GEL
                                - GGP
                                - GHS
                                - GIP
                                - GMD
                                - GNF
                                - GTQ
                                - GYD
                                - HKD
                                - HNL
                                - HRK
                                - HTG
                                - HUF
                                - IDR
                                - ILS
                                - INR
                                - IQD
                                - IRR
                                - ISK
                                - JMD
                                - JOD
                                - JPY
                                - KES
                                - KGS
                                - KHR
                                - KMF
                                - KPW
                                - KRW
                                - KWD
                                - KYD
                                - KZT
                                - LAK
                                - LBP
                                - LKR
                                - LRD
                                - LSL
                                - LTL
                                - LVL
                                - LYD
                                - MAD
                                - MDL
                                - MGA
                                - MKD
                                - MMK
                                - MNT
                                - MOP
                                - MUR
                                - MVR
                                - MWK
                                - MXN
                                - MYR
                                - MZN
                                - NAD
                                - NGN
                                - NIO
                                - NOK
                                - NPR
                                - NZD
                                - OMR
                                - PAB
                                - PEN
                                - PGK
                                - PHP
                                - PKR
                                - PLN
                                - PYG
                                - QAR
                                - RON
                                - RSD
                                - RUB
                                - RWF
                                - SAR
                                - SBD
                                - SCR
                                - SEK
                                - SGD
                                - SHN
                                - SLE
                                - SLL
                                - SOS
                                - SRD
                                - SSP
                                - STN
                                - SYP
                                - SZL
                                - THB
                                - TJS
                                - TMT
                                - TND
                                - TOP
                                - TRY
                                - TTD
                                - TWD
                                - TZS
                                - UAH
                                - UGX
                                - USD
                                - UYU
                                - UZS
                                - VND
                                - VUV
                                - WST
                                - XAF
                                - XAG
                                - XAU
                                - XCD
                                - XOF
                                - XPD
                                - XPF
                                - XPT
                                - YER
                                - ZAR
                                - ZMK
                                - ZMW
                                - ZWD
                              example: USD
                            destinationAmount:
                              type:
                                - string
                              description: The destination amount of the FX.
                              example: '1.00'
                            rate:
                              type:
                                - string
                              description: The rate of the FX.
                              example: '0.8621'
                          required:
                            - sourceCurrency
                            - sourceAmount
                            - destinationCurrency
                            - destinationAmount
                            - rate
                        debitId:
                          type:
                            - number
                            - 'null'
                          description: >-
                            The unique identifier for the debit leg of this
                            transaction.
                          example: 1097
                        creditId:
                          type:
                            - number
                            - 'null'
                          description: >-
                            The unique identifier for the credit leg of this
                            transaction.
                          example: 1098
                        boxTransactionId:
                          type:
                            - number
                            - 'null'
                          description: The unique id of the transaction generated in boxes.
                          example: 17098
                        budget:
                          type:
                            - object
                            - 'null'
                          properties:
                            accountId:
                              type:
                                - string
                              description: The ID of the account to work with.
                              example: F50091
                            budgetId:
                              type:
                                - string
                              format: uuid
                              maxLength: 36
                              description: The ID of the budget to work with.
                              example: 775596ae-2624-40af-a9dc-9756110a4a03
                            budgetName:
                              type:
                                - string
                                - 'null'
                              description: The name of the budget to work with.
                              example: Account Balance
                            boxId:
                              type:
                                - string
                                - 'null'
                              maxLength: 36
                              description: The ID of the box collection.
                              example: 5426d2ca50
                          required:
                            - accountId
                            - budgetId
                            - budgetName
                            - boxId
                          description: The budget details.
                        type:
                          type:
                            - string
                            - 'null'
                          enum:
                            - credit
                            - debit
                            - block
                            - internalPayment
                          description: The type of transaction.
                          example: credit
                        marqetaTransactionToken:
                          type:
                            - string
                            - 'null'
                          maxLength: 50
                          description: Unique identifier for the transaction in Marqeta.
                          example: 34edaf73-49be-4669-83ee-1b1f8c680d26
                        boxId:
                          type:
                            - string
                            - 'null'
                          maxLength: 36
                          description: Unique identifier for the Box.
                          example: 34edaf73-49be-4669-83ee-1b1f8c680d26
                        marqetaTransactionIdentifier:
                          type:
                            - string
                            - 'null'
                          description: >-
                            Unique numerical identifier as string for the
                            transaction in Marqeta.
                          example: '940'
                        directDebitId:
                          type:
                            - string
                            - 'null'
                          format: uuid
                          maxLength: 36
                          description: >-
                            The ID of the direct debit mandate associated with
                            this transaction.
                          example: 775596ae-2624-40af-a9dc-9756110a4a03
                        amount:
                          type:
                            - number
                            - 'null'
                          description: The transaction amount in the specified currency.
                          example: 20
                        currency:
                          type:
                            - string
                            - 'null'
                          enum:
                            - AED
                            - AFN
                            - ALL
                            - AMD
                            - ANG
                            - AOA
                            - ARS
                            - AUD
                            - AWG
                            - AZN
                            - BAM
                            - BBD
                            - BDT
                            - BGN
                            - BHD
                            - BIF
                            - BMD
                            - BND
                            - BOB
                            - BOV
                            - BRL
                            - BSD
                            - BTN
                            - BWP
                            - BYN
                            - BZD
                            - CAD
                            - CDF
                            - CHF
                            - CLP
                            - CNY
                            - COP
                            - CRC
                            - CUC
                            - CUP
                            - CVE
                            - CZK
                            - DJF
                            - DKK
                            - DOP
                            - DZD
                            - EGP
                            - ERN
                            - ETB
                            - EUR
                            - FJD
                            - FKP
                            - GBP
                            - GEL
                            - GGP
                            - GHS
                            - GIP
                            - GMD
                            - GNF
                            - GTQ
                            - GYD
                            - HKD
                            - HNL
                            - HRK
                            - HTG
                            - HUF
                            - IDR
                            - ILS
                            - INR
                            - IQD
                            - IRR
                            - ISK
                            - JMD
                            - JOD
                            - JPY
                            - KES
                            - KGS
                            - KHR
                            - KMF
                            - KPW
                            - KRW
                            - KWD
                            - KYD
                            - KZT
                            - LAK
                            - LBP
                            - LKR
                            - LRD
                            - LSL
                            - LTL
                            - LVL
                            - LYD
                            - MAD
                            - MDL
                            - MGA
                            - MKD
                            - MMK
                            - MNT
                            - MOP
                            - MUR
                            - MVR
                            - MWK
                            - MXN
                            - MYR
                            - MZN
                            - NAD
                            - NGN
                            - NIO
                            - NOK
                            - NPR
                            - NZD
                            - OMR
                            - PAB
                            - PEN
                            - PGK
                            - PHP
                            - PKR
                            - PLN
                            - PYG
                            - QAR
                            - RON
                            - RSD
                            - RUB
                            - RWF
                            - SAR
                            - SBD
                            - SCR
                            - SEK
                            - SGD
                            - SHN
                            - SLE
                            - SLL
                            - SOS
                            - SRD
                            - SSP
                            - STN
                            - SYP
                            - SZL
                            - THB
                            - TJS
                            - TMT
                            - TND
                            - TOP
                            - TRY
                            - TTD
                            - TWD
                            - TZS
                            - UAH
                            - UGX
                            - USD
                            - UYU
                            - UZS
                            - VND
                            - VUV
                            - WST
                            - XAF
                            - XAG
                            - XAU
                            - XCD
                            - XOF
                            - XPD
                            - XPF
                            - XPT
                            - YER
                            - ZAR
                            - ZMK
                            - ZMW
                            - ZWD
                          example: USD
                        valueDateTime:
                          type:
                            - string
                            - 'null'
                          format: date-time
                          description: The time and date of the Box.
                          example: '2021-01-30T08:30:00Z'
                        bankFeedTransactions:
                          type:
                            - array
                          items: {}
                          description: Array of bank feed transactions.
                        transactionCreditorAccount:
                          type:
                            - object
                            - 'null'
                          properties:
                            id:
                              type:
                                - string
                              description: The ID of the account.
                              example: ed8388b1-4d01-41e7-a04a-2be9a56adb68
                            ownerId:
                              type:
                                - string
                                - 'null'
                              maxLength: 36
                              description: The owner ID.
                              example: d6061bbee6
                            accountId:
                              type:
                                - string
                                - 'null'
                              description: The ID of the account to work with.
                              example: F50091
                            schemeName:
                              type:
                                - string
                                - 'null'
                              description: The scheme name.
                              example: UK.OBIE.SortCodeAccountNumber
                            identification:
                              type:
                                - string
                                - 'null'
                              description: The identification.
                              example: '23188474064478'
                            name:
                              type:
                                - string
                                - 'null'
                              description: The name.
                              example: Joe Bloggs 202106171735
                            address:
                              type:
                                - string
                              description: The address.
                              example: 21 test street
                            institutionAddress:
                              type:
                                - string
                              description: The institution address.
                              example: 29 test street
                            institutionBic:
                              type:
                                - string
                              description: The institution BIC.
                              example: '1'
                            institutionName:
                              type:
                                - string
                              description: The institution name.
                              example: Test Name
                            transactionBoxId:
                              type:
                                - string
                              description: The transaction box ID.
                              example: 1ee51a67-d6ba-480e-9686-f2fadb1fa1ef
                            sourceBudgetId:
                              type:
                                - string
                                - 'null'
                              format: uuid
                              maxLength: 36
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                ID of the source budget the funds came from. Set
                                on the debtor account.
                              example: 775596ae-2624-40af-a9dc-9756110a4a03
                            sourceBudgetName:
                              type:
                                - string
                                - 'null'
                              maxLength: 256
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                name of the source budget the funds came from.
                                Set on the debtor account.
                              example: Marketing budget
                            destinationBudgetId:
                              type:
                                - string
                                - 'null'
                              format: uuid
                              maxLength: 36
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                ID of the destination budget the funds went to.
                                Set on the creditor account.
                              example: 775596ae-2624-40af-a9dc-9756110a4a03
                            destinationBudgetName:
                              type:
                                - string
                                - 'null'
                              maxLength: 256
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                name of the destination budget the funds went
                                to. Set on the creditor account.
                              example: Travel budget
                          required:
                            - ownerId
                            - accountId
                            - schemeName
                            - identification
                            - name
                        transactionDebtorAccount:
                          type:
                            - object
                            - 'null'
                          properties:
                            id:
                              type:
                                - string
                              description: The ID of the account.
                              example: ed8388b1-4d01-41e7-a04a-2be9a56adb68
                            ownerId:
                              type:
                                - string
                                - 'null'
                              maxLength: 36
                              description: The owner ID.
                              example: d6061bbee6
                            accountId:
                              type:
                                - string
                                - 'null'
                              description: The ID of the account to work with.
                              example: F50091
                            schemeName:
                              type:
                                - string
                                - 'null'
                              description: The scheme name.
                              example: UK.OBIE.SortCodeAccountNumber
                            identification:
                              type:
                                - string
                                - 'null'
                              description: The identification.
                              example: '23188474064478'
                            name:
                              type:
                                - string
                                - 'null'
                              description: The name.
                              example: Joe Bloggs 202106171735
                            address:
                              type:
                                - string
                              description: The address.
                              example: 21 test street
                            institutionAddress:
                              type:
                                - string
                              description: The institution address.
                              example: 29 test street
                            institutionBic:
                              type:
                                - string
                              description: The institution BIC.
                              example: '1'
                            institutionName:
                              type:
                                - string
                              description: The institution name.
                              example: Test Name
                            transactionBoxId:
                              type:
                                - string
                              description: The transaction box ID.
                              example: 1ee51a67-d6ba-480e-9686-f2fadb1fa1ef
                            sourceBudgetId:
                              type:
                                - string
                                - 'null'
                              format: uuid
                              maxLength: 36
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                ID of the source budget the funds came from. Set
                                on the debtor account.
                              example: 775596ae-2624-40af-a9dc-9756110a4a03
                            sourceBudgetName:
                              type:
                                - string
                                - 'null'
                              maxLength: 256
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                name of the source budget the funds came from.
                                Set on the debtor account.
                              example: Marketing budget
                            destinationBudgetId:
                              type:
                                - string
                                - 'null'
                              format: uuid
                              maxLength: 36
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                ID of the destination budget the funds went to.
                                Set on the creditor account.
                              example: 775596ae-2624-40af-a9dc-9756110a4a03
                            destinationBudgetName:
                              type:
                                - string
                                - 'null'
                              maxLength: 256
                              description: >-
                                For an internal (budget-to-budget) transfer, the
                                name of the destination budget the funds went
                                to. Set on the creditor account.
                              example: Travel budget
                          required:
                            - ownerId
                            - accountId
                            - schemeName
                            - identification
                            - name
                        uetr:
                          type:
                            - string
                            - 'null'
                          description: >-
                            UETR (Unique end-to-end Transaction Reference) for
                            the SWIFT credit, forwarded from the boxes credit
                            event transientData. Persisted in lowercase
                            canonical form.
                          example: eb6305c8-0d2a-4e1e-a30f-3ef5b1e5c2f8
                        createdAt:
                          type:
                            - string
                          format: date-time
                          description: >-
                            The date the Resource was initially created. ISO
                            8601 format without milliseconds.
                        updatedAt:
                          type:
                            - string
                          format: date-time
                          description: >-
                            The date the Resource was last modified. ISO 8601
                            format without milliseconds.
                      required:
                        - id
                        - accountId
                        - budgetId
                        - transactionId
                        - transactionBoxableId
                        - transactionBoxableType
                        - paymentId
                        - orderId
                        - eventSource
                        - chargeBearer
                        - blockId
                        - blockTag
                        - blockFriendlyId
                        - paymentType
                        - creditDebitIndicator
                        - thirdPartyReference
                        - type
                        - marqetaTransactionToken
                        - boxId
                        - marqetaTransactionIdentifier
                        - amount
                        - currency
                        - valueDateTime
                        - createdAt
                        - updatedAt
                    description: Array of all the box events which belongs to a Payment.
                  annotationGroup:
                    type:
                      - object
                      - 'null'
                    properties:
                      id:
                        type:
                          - string
                        format: uuid
                        description: The id of the Annotation Group
                        example: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                      accountId:
                        type:
                          - string
                        description: The ID of the account to work with.
                        example: F50091
                      transactionGroupId:
                        type:
                          - string
                          - 'null'
                        format: uuid
                        description: The id of the Transaction Group
                        example: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                      paymentId:
                        type:
                          - number
                          - 'null'
                        description: The id of the Payment
                        example: 1234
                      status:
                        type:
                          - string
                        enum:
                          - approved
                          - draft
                          - exported
                          - submitted
                        description: The status of the Annotation Group
                        example: draft
                      origin:
                        type:
                          - string
                        enum:
                          - user
                          - ai
                        description: >-
                          Who created the Annotation Group: a person, or AI
                          auto-annotation drafting it.
                        example: user
                      annotations:
                        type:
                          - array
                        items:
                          type:
                            - object
                          properties:
                            id:
                              type:
                                - string
                              format: uuid
                              description: The id of the Annotation
                              example: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                            annotationGroupId:
                              type:
                                - string
                              format: uuid
                              description: The id of the Annotation Group
                              example: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                            accountId:
                              type:
                                - string
                              description: The ID of the account to work with.
                              example: F50091
                            amount:
                              type:
                                - number
                              description: The amount of the Annotation
                              example: 100
                            annotationValues:
                              type:
                                - array
                              items: {}
                              description: >-
                                Array of annotationValue objects (see
                                annotationValue.dto). Each contains the
                                annotation field id plus resolved field metadata
                                (annotationFieldTitle, annotationFieldType) and
                                one populated typed value (booleanValue |
                                textValue | unsignedIntegerValue | decimalValue
                                | uuidValue). Dropdown values additionally
                                resolve dropdownValue and dropdownCode.
                            createdBy:
                              type:
                                - string
                                - 'null'
                              format: uuid
                              description: ID of the User who created the resource.
                              example: f7aa80c9-4d4a-4a52-8ae2-b73638b3f2d8
                            updatedBy:
                              type:
                                - string
                                - 'null'
                              format: uuid
                              description: ID of the User who lastly modified the resource.
                              example: f7aa80c9-4d4a-4a52-8ae2-b73638b3f2d8
                            createdAt:
                              type:
                                - string
                              format: date-time
                              description: >-
                                The date the Resource was initially created. ISO
                                8601 format without milliseconds.
                            updatedAt:
                              type:
                                - string
                              format: date-time
                              description: >-
                                The date the Resource was last modified. ISO
                                8601 format without milliseconds.
                          required:
                            - id
                            - annotationGroupId
                            - accountId
                            - amount
                            - annotationValues
                            - createdBy
                            - updatedBy
                            - createdAt
                            - updatedAt
                        description: An array of annotations
                      createdAt:
                        type:
                          - string
                          - 'null'
                        format: date-time
                        description: >-
                          The date the Resource was initially created. ISO 8601
                          format without milliseconds.
                      updatedAt:
                        type:
                          - string
                          - 'null'
                        format: date-time
                        description: >-
                          The date the Resource was last modified. ISO 8601
                          format without milliseconds.
                    required:
                      - id
                      - accountId
                      - transactionGroupId
                      - paymentId
                      - status
                      - origin
                      - annotations
                  attachment:
                    type:
                      - object
                      - 'null'
                    properties:
                      id:
                        type:
                          - string
                        format: uuid
                        description: The id of the Attachment
                        example: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                      accountId:
                        type:
                          - string
                        description: The ID of the account to work with.
                        example: F50091
                      isLost:
                        type:
                          - boolean
                        description: >-
                          Indicates whether the attachment corresponding to this
                          transaction has been lost.
                        example: false
                      note:
                        type:
                          - string
                          - 'null'
                        maxLength: 280
                        description: >-
                          Free text field where to state reason why the
                          attachment was lost.
                        example: >-
                          I did not lose the file to attach so I do not need to
                          fill in this field.
                      transactionGroupId:
                        type:
                          - string
                          - 'null'
                        format: uuid
                        description: >-
                          The id of the transaction thats associated to this
                          attachment
                        example: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                      paymentId:
                        type:
                          - number
                          - 'null'
                        description: >-
                          The id of the transaction thats associated to this
                          attachment
                        example: 1234
                      count:
                        type:
                          - integer
                        minimum: 0
                        maximum: 255
                        description: >-
                          This points to the last attachment file. It's used
                          internally to name files.
                        example: 2
                      attachmentFiles:
                        type:
                          - array
                        items:
                          type:
                            - object
                          properties:
                            id:
                              type:
                                - string
                              format: uuid
                              description: The id of the Attachment File
                              example: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                            accountId:
                              type:
                                - string
                              description: The ID of the account to work with.
                              example: F50091
                            attachmentId:
                              type:
                                - string
                              format: uuid
                              description: >-
                                The ID of the Attachment to which this
                                Attachment File belongs
                              example: c32ba075-f6e9-45db-aae8-a8f1aeaa14b3
                            productId:
                              type:
                                - string
                              format: uuid
                              maxLength: 36
                              description: The ID of the product to work with.
                              example: 3ef24d53-6e22-4103-a16b-d268e4f7346d
                            fileName:
                              type:
                                - string
                              maxLength: 256
                              description: >-
                                The name of the file corresponding to this
                                attachment file.
                              example: >-
                                2021-09-01T13:04:57Z_288946aa-0469-4518-a962-40e9be858d1e_2.pdf
                            year:
                              type:
                                - string
                              maxLength: 4
                              minLength: 4
                              pattern: ^\d+$
                              description: >-
                                The year of the Transaction Group of this
                                Attachment.
                              example: '2021'
                            month:
                              type:
                                - string
                              maxLength: 2
                              minLength: 1
                              pattern: ^\d+$
                              description: >-
                                The month of the Transaction Group of this
                                Attachment.
                              example: '9'
                            file:
                              oneOf:
                                - default: true
                                  type:
                                    - boolean
                                    - 'null'
                                  description: Boolean indicating if file exists.
                                - type:
                                    - object
                                  properties:
                                    url:
                                      type:
                                        - string
                                        - 'null'
                                      description: >-
                                        The url from where this file can be
                                        visualised or downloaded. Will be null
                                        if the file is no longer available.
                                      example: >-
                                        http://127.0.0.1:8080/v1/transactions-api/accounts/F50091/transactions/group/288946aa-0469-4518-a962-40e9be858d1e/attachment/files/8ae07ba6-d2b0-4665-9158-2f33d0852a4f
                                    unavailable:
                                      type:
                                        - boolean
                                        - 'null'
                                      description: >-
                                        Indicates if the file is no longer
                                        available.
                                  required:
                                    - url
                                    - unavailable
                                  description: Contains the file url to retrieve it.
                            type:
                              type:
                                - string
                                - 'null'
                              enum:
                                - heic
                                - pdf
                                - jpg
                                - jpeg
                                - png
                              description: The file type.
                              example: pdf
                            createdBy:
                              type:
                                - string
                              format: uuid
                              description: ID of the User who lastly modified a resource.
                              example: f7aa80c9-4d4a-4a52-8ae2-b73638b3f2d8
                            updatedBy:
                              type:
                                - string
                              format: uuid
                              description: ID of the User who lastly modified a resource.
                              example: f7aa80c9-4d4a-4a52-8ae2-b73638b3f2d8
                            createdAt:
                              type:
                                - string
                                - 'null'
                              format: date-time
                              description: >-
                                The date the Resource was initially created. ISO
                                8601 format without milliseconds.
                            updatedAt:
                              type:
                                - string
                                - 'null'
                              format: date-time
                              description: >-
                                The date the Resource was last modified. ISO
                                8601 format without milliseconds.
                          required:
                            - id
                            - accountId
                            - attachmentId
                            - productId
                            - fileName
                            - year
                            - month
                            - type
                            - createdBy
                            - updatedBy
                            - createdAt
                            - updatedAt
                        description: All the files attached to this Attachment
                      createdAt:
                        type:
                          - string
                          - 'null'
                        format: date-time
                        description: >-
                          The date the Resource was initially created. ISO 8601
                          format without milliseconds.
                      updatedAt:
                        type:
                          - string
                          - 'null'
                        format: date-time
                        description: >-
                          The date the Resource was last modified. ISO 8601
                          format without milliseconds.
                    required:
                      - id
                      - accountId
                      - isLost
                      - note
                      - transactionGroupId
                      - paymentId
                      - count
                      - attachmentFiles
                  forwardDetails:
                    type:
                      - object
                      - 'null'
                    properties:
                      payments:
                        type:
                          - array
                        items: {}
                        description: >-
                          Payments tied to the forward contract (drawdown
                          payments and deposit payments).
                      events:
                        type:
                          - array
                        items: {}
                        description: Timeline events for the forward contract inspector.
                      currencyPurchases:
                        type:
                          - array
                        items: {}
                        description: >-
                          CurrencyPurchase rows for the forward order itself —
                          carries deposit metadata (depositStatus,
                          depositPercentage, depositAmountRequired,
                          depositCurrency, etc.), customerRate / customerSpread
                          / fundsSource / fundsDestination / bankEntity /
                          fundsRequired and remainingBalance that the PWA
                          forwards page reads.
                      deposits:
                        type:
                          - array
                        items: {}
                        description: >-
                          Nested deposit orders, each with their own payments
                          and currencyPurchases.
                      drawdowns:
                        type:
                          - array
                        items: {}
                        description: Nested drawdown orders, each with their own payments.
                    required:
                      - payments
                      - events
                      - currencyPurchases
                      - deposits
                      - drawdowns
                    description: >-
                      Nested forward-contract details. Only populated when
                      include=forwardDetails is requested for forwardContract
                      rows.
                  paymentFiles:
                    type:
                      - array
                      - 'null'
                    items:
                      type:
                        - object
                      properties:
                        fileType:
                          type:
                            - string
                          enum:
                            - MT103
                            - PACS008
                            - PAIN001
                            - PDF
                          description: The type of the payment file.
                          example: MT103
                        url:
                          type:
                            - string
                          format: uri
                          description: Pre-signed download URL for the file.
                          example: >-
                            https://files.equalsmoney.com/payment-information/eb6305c8.xml?X-Amz-Signature=...
                        expiresAt:
                          type:
                            - string
                          format: date-time
                          description: >-
                            ISO 8601 datetime the pre-signed download URL
                            expires.
                          example: '2024-01-30T11:17:15.000Z'
                      required:
                        - fileType
                        - url
                        - expiresAt
                      description: >-
                        A downloadable payment file (e.g. the proof-of-payment
                        document) for the activity.
                    description: >-
                      Downloadable payment files for the activity, keyed by UETR
                      (one per UETR today). Only populated when
                      `include=paymentFiles` is requested, for payment and
                      boxTransaction rows.
                  swiftGpi:
                    type:
                      - object
                      - 'null'
                    properties:
                      uetr:
                        type:
                          - string
                        format: uuid
                        description: >-
                          Unique End-to-end Transaction Reference (UETR) of the
                          payment.
                        example: eb6305c9-1f7f-49de-aed0-16487c27b42d
                      status:
                        type:
                          - string
                        enum:
                          - UNK
                          - ACSP
                          - PDNG
                          - ACCC
                          - ACSC
                          - RJCT
                          - CANC
                          - ACWC
                          - ACWP
                          - BLCK
                          - INVA
                          - WARN
                        description: >-
                          Overall SWIFT GPI status of the payment. UNK is a
                          fallback for unrecognised tracker codes.
                        example: ACCC
                      initiatedAt:
                        type:
                          - string
                          - 'null'
                        format: date-time
                        description: When the payment was initiated. ISO 8601.
                        example: '2026-06-16T10:00:00.000Z'
                      lastUpdatedAt:
                        type:
                          - string
                          - 'null'
                        format: date-time
                        description: When the tracking detail was last updated. ISO 8601.
                        example: '2026-06-16T10:12:00.000Z'
                      instructedAmount:
                        type:
                          - string
                          - 'null'
                        maxLength: 32
                        description: The instructed amount, as a decimal string.
                        example: '1000.00'
                      instructedCurrencyCode:
                        type:
                          - string
                          - 'null'
                        enum:
                          - AED
                          - AFN
                          - ALL
                          - AMD
                          - ANG
                          - AOA
                          - ARS
                          - AUD
                          - AWG
                          - AZN
                          - BAM
                          - BBD
                          - BDT
                          - BGN
                          - BHD
                          - BIF
                          - BMD
                          - BND
                          - BOB
                          - BOV
                          - BRL
                          - BSD
                          - BTN
                          - BWP
                          - BYN
                          - BZD
                          - CAD
                          - CDF
                          - CHF
                          - CLP
                          - CNY
                          - COP
                          - CRC
                          - CUC
                          - CUP
                          - CVE
                          - CZK
                          - DJF
                          - DKK
                          - DOP
                          - DZD
                          - EGP
                          - ERN
                          - ETB
                          - EUR
                          - FJD
                          - FKP
                          - GBP
                          - GEL
                          - GGP
                          - GHS
                          - GIP
                          - GMD
                          - GNF
                          - GTQ
                          - GYD
                          - HKD
                          - HNL
                          - HRK
                          - HTG
                          - HUF
                          - IDR
                          - ILS
                          - INR
                          - IQD
                          - IRR
                          - ISK
                          - JMD
                          - JOD
                          - JPY
                          - KES
                          - KGS
                          - KHR
                          - KMF
                          - KPW
                          - KRW
                          - KWD
                          - KYD
                          - KZT
                          - LAK
                          - LBP
                          - LKR
                          - LRD
                          - LSL
                          - LTL
                          - LVL
                          - LYD
                          - MAD
                          - MDL
                          - MGA
                          - MKD
                          - MMK
                          - MNT
                          - MOP
                          - MUR
                          - MVR
                          - MWK
                          - MXN
                          - MYR
                          - MZN
                          - NAD
                          - NGN
                          - NIO
                          - NOK
                          - NPR
                          - NZD
                          - OMR
                          - PAB
                          - PEN
                          - PGK
                          - PHP
                          - PKR
                          - PLN
                          - PYG
                          - QAR
                          - RON
                          - RSD
                          - RUB
                          - RWF
                          - SAR
                          - SBD
                          - SCR
                          - SEK
                          - SGD
                          - SHN
                          - SLE
                          - SLL
                          - SOS
                          - SRD
                          - SSP
                          - STN
                          - SYP
                          - SZL
                          - THB
                          - TJS
                          - TMT
                          - TND
                          - TOP
                          - TRY
                          - TTD
                          - TWD
                          - TZS
                          - UAH
                          - UGX
                          - USD
                          - UYU
                          - UZS
                          - VND
                          - VUV
                          - WST
                          - XAF
                          - XAG
                          - XAU
                          - XCD
                          - XOF
                          - XPD
                          - XPF
                          - XPT
                          - YER
                          - ZAR
                          - ZMK
                          - ZMW
                          - ZWD
                        example: USD
                      events:
                        type:
                          - array
                        items:
                          type:
                            - object
                          properties:
                            trackerEventType:
                              type:
                                - string
                              maxLength: 4
                              description: SWIFT GPI tracker event code.
                              example: CRED
                            fromBankIdentifier:
                              type:
                                - string
                                - 'null'
                              maxLength: 11
                              pattern: ^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$
                              description: >-
                                Bank identifier (BIC) of the agent that handed
                                off this leg.
                              example: BANKGB2L
                            toBankIdentifier:
                              type:
                                - string
                                - 'null'
                              maxLength: 11
                              pattern: ^[A-Z]{6}[A-Z0-9]{2}([A-Z0-9]{3})?$
                              description: >-
                                Bank identifier (BIC) of the agent that received
                                this leg.
                              example: BANKDEFF
                            status:
                              type:
                                - string
                              enum:
                                - UNK
                                - ACSP
                                - PDNG
                                - ACCC
                                - ACSC
                                - RJCT
                                - CANC
                                - ACWC
                                - ACWP
                                - BLCK
                              description: >-
                                ISO 20022 status of this payment leg. UNK is a
                                fallback for unrecognised tracker codes.
                              example: ACSP
                            amount:
                              type:
                                - string
                                - 'null'
                              maxLength: 32
                              description: Amount at this leg, as a decimal string.
                              example: '1000.00'
                            currencyCode:
                              type:
                                - string
                                - 'null'
                              enum:
                                - AED
                                - AFN
                                - ALL
                                - AMD
                                - ANG
                                - AOA
                                - ARS
                                - AUD
                                - AWG
                                - AZN
                                - BAM
                                - BBD
                                - BDT
                                - BGN
                                - BHD
                                - BIF
                                - BMD
                                - BND
                                - BOB
                                - BOV
                                - BRL
                                - BSD
                                - BTN
                                - BWP
                                - BYN
                                - BZD
                                - CAD
                                - CDF
                                - CHF
                                - CLP
                                - CNY
                                - COP
                                - CRC
                                - CUC
                                - CUP
                                - CVE
                                - CZK
                                - DJF
                                - DKK
                                - DOP
                                - DZD
                                - EGP
                                - ERN
                                - ETB
                                - EUR
                                - FJD
                                - FKP
                                - GBP
                                - GEL
                                - GGP
                                - GHS
                                - GIP
                                - GMD
                                - GNF
                                - GTQ
                                - GYD
                                - HKD
                                - HNL
                                - HRK
                                - HTG
                                - HUF
                                - IDR
                                - ILS
                                - INR
                                - IQD
                                - IRR
                                - ISK
                                - JMD
                                - JOD
                                - JPY
                                - KES
                                - KGS
                                - KHR
                                - KMF
                                - KPW
                                - KRW
                                - KWD
                                - KYD
                                - KZT
                                - LAK
                                - LBP
                                - LKR
                                - LRD
                                - LSL
                                - LTL
                                - LVL
                                - LYD
                                - MAD
                                - MDL
                                - MGA
                                - MKD
                                - MMK
                                - MNT
                                - MOP
                                - MUR
                                - MVR
                                - MWK
                                - MXN
                                - MYR
                                - MZN
                                - NAD
                                - NGN
                                - NIO
                                - NOK
                                - NPR
                                - NZD
                                - OMR
                                - PAB
                                - PEN
                                - PGK
                                - PHP
                                - PKR
                                - PLN
                                - PYG
                                - QAR
                                - RON
                                - RSD
                                - RUB
                                - RWF
                                - SAR
                                - SBD
                                - SCR
                                - SEK
                                - SGD
                                - SHN
                                - SLE
                                - SLL
                                - SOS
                                - SRD
                                - SSP
                                - STN
                                - SYP
                                - SZL
                                - THB
                                - TJS
                                - TMT
                                - TND
                                - TOP
                                - TRY
                                - TTD
                                - TWD
                                - TZS
                                - UAH
                                - UGX
                                - USD
                                - UYU
                                - UZS
                                - VND
                                - VUV
                                - WST
                                - XAF
                                - XAG
                                - XAU
                                - XCD
                                - XOF
                                - XPD
                                - XPF
                                - XPT
                                - YER
                                - ZAR
                                - ZMK
                                - ZMW
                                - ZWD
                              example: USD
                            eventTimestamp:
                              type:
                                - string
                              format: date-time
                              description: When this event occurred. ISO 8601.
                              example: '2026-06-16T10:09:00.000Z'
                          required:
                            - trackerEventType
                            - fromBankIdentifier
                            - toBankIdentifier
                            - status
                            - amount
                            - currencyCode
                            - eventTimestamp
                          description: A single payment-leg tracking event.
                        description: Ordered chain of payment-leg tracking events.
                    required:
                      - uetr
                      - status
                      - initiatedAt
                      - lastUpdatedAt
                      - instructedAmount
                      - instructedCurrencyCode
                      - events
                    description: >-
                      SWIFT GPI tracking detail for the payment, including the
                      full chain of payment-leg events. Only present for
                      SWIFT/bank payments when include=swiftGpi is specified.
                  teams:
                    oneOf:
                      - type:
                          - string
                      - type:
                          - array
                        items:
                          type:
                            - string
                    description: >-
                      Comma-separated list of team names associated with the
                      payment initiator. Only present when include=teams is
                      specified.
                  createdAt:
                    type:
                      - string
                    format: date-time
                    description: >-
                      The date the Resource was initially created. ISO 8601
                      format without milliseconds.
                  updatedAt:
                    type:
                      - string
                    format: date-time
                    description: >-
                      The date the Resource was last modified. ISO 8601 format
                      without milliseconds.
                required:
                  - resourceType
                  - id
                  - orderId
                  - userId
                  - companyId
                  - originId
                  - originOrderId
                  - budgetId
                  - status
                  - isMultiBeneficiary
                  - beneficiaryId
                  - beneficiaryName
                  - beneficiaryAddress
                  - beneficiaryAccountNumber
                  - beneficiarySortCode
                  - beneficiaryIban
                  - beneficiaryBankCode
                  - beneficiaryBankAddress
                  - beneficiaryCountryCode
                  - beneficiaryRoutingInfo
                  - remitterName
                  - reference
                  - amount
                  - currency
                  - sellCurrency
                  - buyCurrency
                  - settlementAmount
                  - settlementFee
                  - settlementAmountWithoutFee
                  - customerRate
                  - customerInverseRate
                  - confirmationKey
                  - uniqueId
                  - type
                  - order
                  - budgetName
                  - transactionGroupId
                  - transactionBoxes
                  - createdAt
                  - updatedAt
                example:
                  resourceType: payment
                  id: 42782085
                  orderId: 1380
                  userId: 34edaf73-49be-4669-83ee-1b1f8c680d26
                  ownerId: 775596ae-2624-40af-a9dc-9756110a4a04
                  companyId: F50072
                  originId: 9a623439-8275-4230-a157-6c623a2ea7b8
                  originOrderId: EKOBEPVFJ
                  externalId: cust-ref-9f3b
                  budgetId: 775596ae-2624-40af-a9dc-9756110a4a03
                  status: orderCancelled
                  isMultiBeneficiary: true
                  budget: companyBalance
                  beneficiaryId: ben90944601
                  beneficiaryName: Nichole Grant
                  beneficiaryAddress: 46315 Bailey MillSouth CamilleNiue
                  beneficiaryAccountNumber: '10387899'
                  beneficiarySortCode: 12-34-56
                  beneficiaryIban: PT72105510150936500020992
                  beneficiaryBankCode: QHKEMKK1
                  beneficiaryBankAddress: 883 Bernie MountainNew EstachesterVietnam
                  beneficiaryCountryCode: GB
                  beneficiaryRoutingInfo: >-
                    Payment will be routed from Barclays Bank and then through
                    Lloyds bank
                  remitterName: Joseph Bloggs
                  reference: >-
                    withdrawal transaction at Osinski, Zboncak and Bayer using
                    card ending with ***3963 for IDR 670.50 in account
                    ***32418758
                  amount: 773.08
                  currency: USD
                  sellCurrency: USD
                  buyCurrency: USD
                  settlementAmount: 33920.34
                  settlementFee: 1.34
                  settlementAmountWithoutFee: 33920.34
                  customerRate: 0.8637052
                  customerInverseRate: 0.71942446043
                  confirmationKey: F36555/pdf/F36555-000265963.pdf
                  uniqueId: 69e4a1e8-db35-4301-b5a8-67a2cb063609
                  uetr: eb6305c8-0d2a-4e1e-a30f-3ef5b1e5c2f8
                  paymentConfirmationAvailable: true
                  paymentNetwork: UKFPS
                  type: exchange
                  order:
                    id: 1380
                    companyId: F50072
                    originId: 9a623439-8275-4230-a157-6c623a2ea7b8
                    status: needsApproval
                    type: payment
                    userId: 34edaf73-49be-4669-83ee-1b1f8c680d26
                    ownerId: 775596ae-2624-40af-a9dc-9756110a4a04
                    userName: John Doe
                    lastSourceEventDatetime: '2019-08-24T14:15:22Z'
                    orderSource: string
                    parentOriginId: string
                    settlementDate: string
                    initiator: John Doe
                    metadata: '{ paymentsCount: 1 }'
                    events:
                      - null
                    payments:
                      - null
                    childFundingBudget:
                      budgetId: 775596ae-2624-40af-a9dc-9756110a4a03
                      boxCollectionId: string
                      budgetName: Marketing sub-balance
                    createdAt: '2019-08-24T14:15:22Z'
                    updatedAt: '2019-08-24T14:15:22Z'
                  deleted: true
                  budgetName: string
                  transactionGroupId: 1c0547bd-30e6-4d14-b82e-78cd128fbfd9
                  transactionBoxes:
                    - id: 2af0e603-0c72-4a7c-8020-52916d7a9960
                      accountId: F50091
                      budgetId: 775596ae-2624-40af-a9dc-9756110a4a03
                      transactionId: '42782085'
                      transactionBoxableId: '42782085'
                      transactionBoxableType: payment
                      paymentId: 42782085
                      orderId: E61BG8PJCXQ4-Fee
                      eventSource: Orders
                      chargeBearer: string
                      blockId: '454'
                      blockTag: abd8d22e-d701-45c4-960a-d198e0e16a14
                      blockFriendlyId: abd8d22e-d701-45c4-960a-d198e0e16a14
                      paymentType: UK.OBIE.BalanceTransfer
                      creditDebitIndicator: Debit
                      thirdPartyReference: abd8d22e-d701-45c4-960a-d198e0e16a14-FEE
                      internalAccountTransferId: BR89
                      affectsLedgerBalance: false
                      isCurrencyAlignment: false
                      runningBalance: '957.92'
                      transactionReference: ''
                      statementReference: ''
                      debtorAccount:
                        id: ed8388b1-4d01-41e7-a04a-2be9a56adb68
                        ownerId: d6061bbee6
                        accountId: F50091
                        schemeName: UK.OBIE.SortCodeAccountNumber
                        identification: '23188474064478'
                        name: Joe Bloggs 202106171735
                        address: 21 test street
                        institutionAddress: 29 test street
                        institutionBic: '1'
                        institutionName: Test Name
                        transactionBoxId: 1ee51a67-d6ba-480e-9686-f2fadb1fa1ef
                        sourceBudgetId: 775596ae-2624-40af-a9dc-9756110a4a03
                        sourceBudgetName: Marketing budget
                        destinationBudgetId: 775596ae-2624-40af-a9dc-9756110a4a03
                        destinationBudgetName: Travel budget
                      creditorAccount:
                        id: ed8388b1-4d01-41e7-a04a-2be9a56adb68
                        ownerId: d6061bbee6
                        accountId: F50091
                        schemeName: UK.OBIE.SortCodeAccountNumber
                        identification: '23188474064478'
                        name: Joe Bloggs 202106171735
                        address: 21 test street
                        institutionAddress: 29 test street
                        institutionBic: '1'
                        institutionName: Test Name
                        transactionBoxId: 1ee51a67-d6ba-480e-9686-f2fadb1fa1ef
                        sourceBudgetId: 775596ae-2624-40af-a9dc-9756110a4a03
                        sourceBudgetName: Marketing budget
                        destinationBudgetId: 775596ae-2624-40af-a9dc-9756110a4a03
                        destinationBudgetName: Travel budget
                      fx:
                        sourceCurrency: USD
                        sourceAmount: '1.16'
                        destinationCurrency: USD
                        destinationAmount: '1.00'
                        rate: '0.8621'
                      debitId: 1097
                      creditId: 1098
                      boxTransactionId: 17098
                      budget:
                        accountId: F50091
                        budgetId: 775596ae-2624-40af-a9dc-9756110a4a03
                        budgetName: Account Balance
                        boxId: 5426d2ca50
                      type: credit
                      marqetaTransactionToken: 34edaf73-49be-4669-83ee-1b1f8c680d26
                      boxId: 34edaf73-49be-4669-83ee-1b1f8c680d26
                      marqetaTransactionIdentifier: '940'
                      directDebitId: 775596ae-2624-40af-a9dc-9756110a4a03
                      amount: 20
                      currency: USD
                      valueDateTime: '2021-01-30T08:30:00Z'
                      bankFeedTransactions:
                        - null
                      transactionCreditorAccount:
                        id: ed8388b1-4d01-41e7-a04a-2be9a56adb68
                        ownerId: d6061bbee6
                        accountId: F50091
                        schemeName: UK.OBIE.SortCodeAccountNumber
                        identification: '23188474064478'
                        name: Joe Bloggs 202106171735
                        address: 21 test street
                        institutionAddress: 29 test street
                        institutionBic: '1'
                        institutionName: Test Name
                        transactionBoxId: 1ee51a67-d6ba-480e-9686-f2fadb1fa1ef
                        sourceBudgetId: 775596ae-2624-40af-a9dc-9756110a4a03
                        sourceBudgetName: Marketing budget
                        destinationBudgetId: 775596ae-2624-40af-a9dc-9756110a4a03
                        destinationBudgetName: Travel budget
                      transactionDebtorAccount:
                        id: ed8388b1-4d01-41e7-a04a-2be9a56adb68
                        ownerId: d6061bbee6
                        accountId: F50091
                        schemeName: UK.OBIE.SortCodeAccountNumber
                        identification: '23188474064478'
                        name: Joe Bloggs 202106171735
                        address: 21 test street
                        institutionAddress: 29 test street
                        institutionBic: '1'
                        institutionName: Test Name
                        transactionBoxId: 1ee51a67-d6ba-480e-9686-f2fadb1fa1ef
                        sourceBudgetId: 775596ae-2624-40af-a9dc-9756110a4a03
                        sourceBudgetName: Marketing budget
                        destinationBudgetId: 775596ae-2624-40af-a9dc-9756110a4a03
                        destinationBudgetName: Travel budget
                      uetr: eb6305c8-0d2a-4e1e-a30f-3ef5b1e5c2f8
                      createdAt: '2019-08-24T14:15:22Z'
                      updatedAt: '2019-08-24T14:15:22Z'
                  annotationGroup:
                    id: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                    accountId: F50091
                    transactionGroupId: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                    paymentId: 1234
                    status: draft
                    origin: user
                    annotations:
                      - id: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                        annotationGroupId: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                        accountId: F50091
                        amount: 100
                        annotationValues:
                          - null
                        createdBy: f7aa80c9-4d4a-4a52-8ae2-b73638b3f2d8
                        updatedBy: f7aa80c9-4d4a-4a52-8ae2-b73638b3f2d8
                        createdAt: '2019-08-24T14:15:22Z'
                        updatedAt: '2019-08-24T14:15:22Z'
                    createdAt: '2019-08-24T14:15:22Z'
                    updatedAt: '2019-08-24T14:15:22Z'
                  attachment:
                    id: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                    accountId: F50091
                    isLost: false
                    note: >-
                      I did not lose the file to attach so I do not need to fill
                      in this field.
                    transactionGroupId: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                    paymentId: 1234
                    count: 2
                    attachmentFiles:
                      - id: c32ba075-f6e9-45db-aae8-a8f1aeaa13b6
                        accountId: F50091
                        attachmentId: c32ba075-f6e9-45db-aae8-a8f1aeaa14b3
                        productId: 3ef24d53-6e22-4103-a16b-d268e4f7346d
                        fileName: >-
                          2021-09-01T13:04:57Z_288946aa-0469-4518-a962-40e9be858d1e_2.pdf
                        year: '2021'
                        month: '9'
                        file: true
                        type: pdf
                        createdBy: f7aa80c9-4d4a-4a52-8ae2-b73638b3f2d8
                        updatedBy: f7aa80c9-4d4a-4a52-8ae2-b73638b3f2d8
                        createdAt: '2019-08-24T14:15:22Z'
                        updatedAt: '2019-08-24T14:15:22Z'
                    createdAt: '2019-08-24T14:15:22Z'
                    updatedAt: '2019-08-24T14:15:22Z'
                  forwardDetails:
                    payments:
                      - null
                    events:
                      - null
                    currencyPurchases:
                      - null
                    deposits:
                      - null
                    drawdowns:
                      - null
                  paymentFiles:
                    - fileType: MT103
                      url: >-
                        https://files.equalsmoney.com/payment-information/eb6305c8.xml?X-Amz-Signature=...
                      expiresAt: '2024-01-30T11:17:15.000Z'
                  swiftGpi:
                    uetr: eb6305c9-1f7f-49de-aed0-16487c27b42d
                    status: ACCC
                    initiatedAt: '2026-06-16T10:00:00.000Z'
                    lastUpdatedAt: '2026-06-16T10:12:00.000Z'
                    instructedAmount: '1000.00'
                    instructedCurrencyCode: USD
                    events:
                      - trackerEventType: CRED
                        fromBankIdentifier: BANKGB2L
                        toBankIdentifier: BANKDEFF
                        status: ACSP
                        amount: '1000.00'
                        currencyCode: USD
                        eventTimestamp: '2026-06-16T10:09:00.000Z'
                  teams: string
                  createdAt: '2019-08-24T14:15:22Z'
                  updatedAt: '2019-08-24T14:15:22Z'
      security:
        - CommonAuth:
            - activities:read:any
            - activities:read:own
            - transactions:transactions:read:any
            - transactions:transactions:read:own
            - transactions:transactions:read
      x-codeSamples:
        - lang: Shell
          label: cURL
          source: |-
            curl --request GET \
              --url 'https://api.equalsmoney.com/v2/activity/payment/origin/{originId}?accountId={{accountId}}' \
              --header 'Authorization: <api-key>'
components:
  securitySchemes:
    CommonAuth:
      type: apiKey
      in: header
      name: Authorization

````