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

# Fetch Payout Information

> Fetch payouts information by `order_id` or `payout_id`

1. By `order_id`

Make a GET request to /payouts/order_id={}

2. By `payout_id`

Make a GET request to /payouts/{payout_id}



## OpenAPI

````yaml /api_reference/nft.yaml get /payouts/{payout_id}
openapi: 3.1.0
info:
  version: '1.0'
  title: NFT API
  summary: API to enable direct NFT purchasing
  description: Reference for Sardine Crypto API
servers:
  - url: https://api.sandbox.sardine.ai/v1
    description: Sandbox
  - url: https://api.sardine.ai/v1
    description: Prod Server
security:
  - {}
paths:
  /payouts/{payout_id}:
    get:
      summary: Fetch Payout Information
      description: |-
        Fetch payouts information by `order_id` or `payout_id`

        1. By `order_id`

        Make a GET request to /payouts/order_id={}

        2. By `payout_id`

        Make a GET request to /payouts/{payout_id}
      operationId: get-payouts
      parameters:
        - name: order_id
          in: query
          description: Order ID associated with the payout
          schema:
            type: string
            format: uuid
        - name: payout_id
          in: path
          required: true
          description: Payout ID associated with a specific payout
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  orderId:
                    type: string
                    description: Order ID associated with the Payout
                  total:
                    type: number
                    description: Total amount in fiat USD that was paid out
                  referenceId:
                    type: string
                    description: Unique uuid passed by merchant when creating the Payout
                  payouts:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: Unique ID of Payout
                        orderId:
                          type: string
                          description: Order ID the Payout is associated with
                        status:
                          type: string
                          enum:
                            - funded
                            - declined
                            - complete
                          description: Status of the Payout
                        payoutType:
                          const: crypto
                          description: Type of payout, restricted to `crypto`
                        receipt:
                          type: object
                          properties:
                            walletAddress:
                              type: string
                              description: Wallet address that receives the Payout
                            assetSymbol:
                              type: string
                              description: >-
                                Type of cryptocurrency that the Payout occurs
                                in. 
                            assetAmount:
                              type: integer
                              description: Amount in `assetSymbol` that is paid out
                            network:
                              type: string
                              description: Blockchain network on which the Payout occurs
                            txHash:
                              type:
                                - string
                                - 'null'
                              description: >-
                                Transaction hash that is set once the
                                transaction settles on chain
                x-examples:
                  Example 1:
                    orderId: a9a54943-468a-4e0c-9d3d-84b7dbc663f0
                    orderValue: 20
                    payouts:
                      - id: 7fea91c2-a491-49fb-9312-d372f4334ce1
                        orderId: a9......
                        status: FUNDED
                        payoutType: CRYPTO
                        receipt:
                          walletAddress: 0x...
                          assetSymbol: USDC
                          assetAmount: 15
                          network: polygon
                          txHash: null // Will be null immediately after POST request
                      - id: 887d8f92-f129-4ecb-b909-0e12aff70e74
                        status: FUNDED
                        payoutType: CRYPTO
                        receipt:
                          walletAddress: 0x...
                          assetSymbol: USDC
                          assetAmount: 5
                          network: polygon
                          txHash: null
              examples:
                Fetch all payouts for an Order:
                  value:
                    orderId: a9a54943-468a-4e0c-9d3d-84b7dbc663f0
                    total: 20
                    payouts:
                      - id: 7fea91c2-a491-49fb-9312-d372f4334ce1
                        orderId: a9a54943-468a-4e0c-9d3d-84b7dbc663f0
                        status: FUNDED
                        payoutType: CRYPTO
                        receipt:
                          walletAddress: 0x...
                          assetSymbol: USDC
                          assetAmount: 15
                          network: polygon
                          txHash: null
                      - id: 887d8f92-f129-4ecb-b909-0e12aff70e74
                        status: FUNDED
                        payoutType: CRYPTO
                        orderId: a9a54943-468a-4e0c-9d3d-84b7dbc663f0
                        receipt:
                          walletAddress: 0x...
                          assetSymbol: USDC
                          assetAmount: 5
                          network: polygon
                          txHash: null
                Fetch a single payout:
                  value:
                    id: ffb97f3a-93c5-49ee-854d-e4edaba7c232
                    payoutType: CRYPTO
                    status: COMPLETE
                    orderId: a9a54943-468a-4e0c-9d3d-84b7dbc663f0
                    receipt:
                      address: '0xDAFEA492D9c6733ae3d56b7Ed1ADB60692c98Bc5'
                      assetSymbol: USDC
                      assetAmount: 150
                      network: polygon
                      txHash: >-
                        0x0553b035e1d2e8672299daa824710cd740b076229936ee0decb2cae089c7111t
      security:
        - ClientToken: []
      servers:
        - url: https://api.sandbox.sardine.ai/v1
          description: Sandbox
        - url: https://api.sardine.ai/v1
          description: Prod Server
components:
  securitySchemes:
    ClientToken:
      type: http
      scheme: basic

````