# Get payout

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/payouts/{payout_id}:
    get:
      summary: Get payout
      deprecated: false
      description: >-
        Retrieve a payout by transaction identifier to inspect its final state
        and metadata.
      operationId: get-payout
      tags:
        - Vrtx Closed loop/Money Movement
        - Money Movement
      parameters:
        - name: payout_id
          in: path
          description: Payout transaction identifier.
          required: true
          example: b6327558-741e-411c-866b-0eec8ea26005
          schema:
            type: string
      responses:
        '200':
          description: Payout returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayoutResponse'
          headers: {}
          x-apidog-name: OK
        '401':
          description: Not Authorized
          content:
            application/json:
              schema: &ref_0
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                ErrorExample:
                  summary: ErrorExample
                  value:
                    error_message: You are not authorized to access this resource.
                    details:
                      - field: authorization
                        message: Valid Bearer token required
                        code: unauthorized_access
                    status_code: 401
                    error_code: UNAUTHORIZED_ACCESS
          headers: {}
          x-apidog-name: Unauthorized
        '403':
          description: Not Allowed
          content:
            application/json:
              schema: *ref_0
              examples:
                ErrorExample:
                  summary: ErrorExample
                  value:
                    error_message: Forbidden
                    details:
                      - field: authorization
                        message: Insufficient permissions to access this resource
                        code: forbidden
                    status_code: 403
                    error_code: FORBIDDEN
          headers: {}
          x-apidog-name: Forbidden
        '404':
          description: Payout not found
          content:
            application/json:
              schema: *ref_0
              examples:
                NotFound:
                  summary: NotFound
                  value:
                    error_code: NOT_FOUND
                    error_message: Resource not found
                    details:
                      - field: resource
                        message: The requested resource was not found
                        code: not_found
                    status_code: 404
          headers: {}
          x-apidog-name: Not Found
      security:
        - bearerAuth3: []
          x-apidog:
            schemeGroups:
              - id: nRYo8nhuTIRxJr1c6oSoz
                schemeIds:
                  - bearerAuth3
            required: true
            use:
              id: nRYo8nhuTIRxJr1c6oSoz
            scopes:
              nRYo8nhuTIRxJr1c6oSoz:
                bearerAuth3: []
      x-apidog-folder: Vrtx Closed loop/Money Movement
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1053095/apis/api-24814166-run
components:
  schemas:
    PayoutResponse:
      type: object
      required:
        - id
        - sender_account_number
        - receiver_account_number
        - amount
        - currency
        - status
        - created_at
      description: Payout transaction returned by the API.
      properties:
        id:
          $ref: '#/components/schemas/UUID'
          examples:
            - be19db21-4d67-48e7-9b9e-0294049c0ffe
          description: Transaction ID
        sender_account_number:
          type: string
          examples:
            - '919900000019'
          pattern: '[089]\d{11}'
          description: Sender account number
        receiver_account_number:
          type: string
          examples:
            - '819900000027'
          pattern: '[089]\d{11}'
          description: Receiver account number
        amount:
          type: string
          examples:
            - '250.00'
          pattern: ^-?\d+(\.\d+)?$
          description: Amount in major currency units
        currency:
          type: string
          examples:
            - SAR
          pattern: ^[A-Z]{3}$
          description: ISO 4217 currency
        external_reference:
          type: string
          examples:
            - PO-001
          maxLength: 120
          description: External reference
          nullable: true
        purpose:
          type: string
          examples:
            - Vendor settlement
          maxLength: 255
          description: Purpose for the payout
          nullable: true
        notes:
          type: string
          examples:
            - Urgent
          maxLength: 512
          description: Additional notes
          nullable: true
        status:
          type: string
          minLength: 2
          examples:
            - SUCCESS
          maxLength: 32
          description: Processing status
        created_at:
          $ref: '#/components/schemas/OffsetDateTime'
          examples:
            - '2025-10-16T12:21:00.000Z'
          description: Creation timestamp
      x-apidog-orders:
        - id
        - sender_account_number
        - receiver_account_number
        - amount
        - currency
        - external_reference
        - purpose
        - notes
        - status
        - created_at
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    OffsetDateTime:
      type: string
      format: date-time
      examples:
        - '2022-03-10T16:15:50.000Z'
      x-apidog-folder: ''
    UUID:
      type: string
      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}
      x-apidog-folder: ''
    ErrorResponse:
      type: object
      properties:
        error_code:
          type: string
        error_message:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail'
        status_code:
          type: integer
          format: int32
      x-apidog-orders:
        - error_code
        - error_message
        - details
        - status_code
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
    ErrorDetail:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        code:
          type: string
      x-apidog-orders:
        - field
        - message
        - code
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    bearerAuth:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: Enter your JWT access token for authentication
    bearerAuth1:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
    bearerAuth2:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: Enter your JWT access token for authentication
    bearerAuth3:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT issued by Keycloak. The client_id/azp in the token must map to a
        configured tenant (public, fai, neomrs; e.g., fai-sandbox -> fai) or
        requests will return 403.
    bearerAuth4:
      type: jwt
      scheme: bearer
      bearerFormat: JWT
      description: Enter your JWT access token for authentication
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://api.sandbox.vrtx.sa
    description: Sandbox
security:
  - bearer: []

```
