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

# Get payment

> Retrieves payment details by ID



## OpenAPI

````yaml get /v1/payments/{paymentId}
openapi: 3.0.3
info:
  title: Ledger Client API
  version: 1.0.0
  description: API for ledger operations - parties, accounts, transactions
servers: []
security: []
tags:
  - name: Account Statements
    description: Retrieve account transaction history
  - name: Accounts
    description: Account management operations
  - name: Open Banking - Accounts
    description: PSD2 Account Information Service (AIS) - Account endpoints
  - name: Open Banking - Funds Confirmation
    description: PSD2 Confirmation of Funds Service (PIIS)
  - name: Open Banking - Payments
    description: PSD2 Payment Initiation Service (PIS)
  - name: Open Banking - Transactions
    description: PSD2 Account Information Service (AIS) - Transaction endpoints
  - name: Parties
    description: Party management operations
  - name: Payments
    description: Payment operations
  - name: Transaction Postings
    description: Retrieve transaction postings
  - name: Transactions
    description: Transaction execution operations
paths:
  /v1/payments/{paymentId}:
    get:
      tags:
        - Payments
      summary: Get payment
      description: Retrieves payment details by ID
      parameters:
        - description: Payment ID
          example: 019bdb2a-960f-789d-8955-21720e6cdeed
          name: paymentId
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/UUID'
      responses:
        '200':
          description: Payment details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPaymentResponse'
        '404':
          description: Payment not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: Internal server error
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    UUID:
      format: uuid
      pattern: >-
        [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
      type: string
    GetPaymentResponse:
      description: Payment details
      type: object
      properties:
        id:
          format: uuid
          description: Payment ID
          pattern: >-
            [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
          type: string
          example: 019bdb2a-960f-789d-8955-21720e6cdeed
        debtorPartyId:
          format: uuid
          description: Debtor party ID
          pattern: >-
            [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
          type: string
          example: 019bdb2a-960f-789d-8955-21720e6cdeee
          nullable: true
        debtorAccountId:
          format: uuid
          description: Debtor account ID
          pattern: >-
            [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
          type: string
          example: 019bdb2a-960f-789d-8955-21720e6cdeef
          nullable: true
        creditorPartyId:
          format: uuid
          description: Creditor party ID
          pattern: >-
            [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
          type: string
          example: 019bdb2a-960f-789d-8955-21720e6cdef1
          nullable: true
        creditorAccountId:
          format: uuid
          description: Creditor account ID
          pattern: >-
            [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
          type: string
          example: 019bdb2a-960f-789d-8955-21720e6cdef2
          nullable: true
        debtor:
          description: Debtor (payer) information
          type: object
          allOf:
            - $ref: '#/components/schemas/PaymentPartyResponse'
        creditor:
          description: Creditor (payee) information
          type: object
          allOf:
            - $ref: '#/components/schemas/PaymentPartyResponse'
        amount:
          description: Amount in minor units (cents)
          type: integer
          example: 10000
        currency:
          description: Currency code
          type: string
          example: EUR
        endToEndId:
          description: End-to-end identifier
          type: string
          example: E2E-123456
          nullable: true
        remittanceInformation:
          description: Payment description/reference
          type: string
          example: 'Invoice payment #12345'
        status:
          description: Payment status
          type: string
          allOf:
            - $ref: '#/components/schemas/PaymentStatus'
        scheme:
          description: Payment scheme
          type: string
          allOf:
            - $ref: '#/components/schemas/PaymentScheme1'
        direction:
          description: Payment direction
          type: string
          allOf:
            - $ref: '#/components/schemas/PaymentDirection'
        settlementDate:
          format: date
          description: Settlement date
          type: string
          example: '2026-01-22T00:00:00.000Z'
          nullable: true
        gatewayTransactionId:
          description: Gateway transaction ID
          type: string
          example: '48573921'
          nullable: true
        returnGatewayTransactionId:
          description: Return gateway transaction ID
          type: string
          example: '48573921'
          nullable: true
        createdAt:
          format: date-time
          description: Payment creation timestamp
          type: string
          example: '2026-01-22T13:47:21.542Z'
        updatedAt:
          format: date-time
          description: Payment last update timestamp
          type: string
          example: '2026-01-22T13:47:21.542Z'
    Problem:
      description: >-
        RFC 9457 problem details. See [Error Handling](/ledger/error-handling)
        for the response shape.
      required:
        - status
        - title
        - instance
      type: object
      properties:
        status:
          format: int32
          description: HTTP status code
          type: integer
          example: 500
        title:
          description: Short, human-readable summary of the problem type
          type: string
        instance:
          description: URI reference identifying this occurrence of the problem
          type: string
        detail:
          description: >-
            Human-readable explanation specific to this occurrence of the
            problem
          type: string
          nullable: true
    PaymentPartyResponse:
      description: Payment party details
      type: object
      properties:
        name:
          description: Party name
          type: string
          example: Jane Smith
        iban:
          description: IBAN
          type: string
          example: DE89370400440532013000
        currency:
          description: Currency code
          type: string
          example: EUR
        agent:
          description: Bank BIC
          type: string
          example: REVOLT21
          nullable: true
        address:
          description: Address
          type: object
          allOf:
            - $ref: '#/components/schemas/PaymentAddressResponse'
          nullable: true
    PaymentStatus:
      description: Payment status
      enum:
        - PENDING
        - COMPLETED
        - FAILED
        - RETURNED
      type: string
    PaymentScheme1:
      description: Payment scheme type
      enum:
        - SCT
        - SCT_INST
        - INTERNAL
        - SWIFT
      type: string
    PaymentDirection:
      description: Payment direction
      enum:
        - OUTBOUND
        - INBOUND
      type: string
    PaymentAddressResponse:
      description: Address details
      type: object
      properties:
        townName:
          description: Town name
          type: string
          example: Berlin
          nullable: true
        streetName:
          description: Street name
          type: string
          example: Hauptstrave
          nullable: true
        buildingNumber:
          description: Building number
          type: string
          example: '42'
          nullable: true
        postCode:
          description: Post code
          type: string
          example: '10115'
          nullable: true
        country:
          description: Country code
          type: string
          example: DE
          nullable: true

````