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

# Get fiat withdrawal



## OpenAPI

````yaml /stocks/api-reference/openapi.json get /fiat-withdrawals/{id}
openapi: 3.1.0
info:
  contact:
    email: support@daya.co
    name: API Support
  description: >-
    Public developer API for the Stocks by Daya product. X-API-Key
    authenticated. Market data, portfolio, balances, activity, order placement,
    and fiat withdrawals. All responses use the standard envelope: { success,
    message?, data?, error?, timestamp }.
  title: Daya Stocks Public API
  version: 1.0.0
servers:
  - url: https://api.daya.co/stocks/v1
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /fiat-withdrawals/{id}:
    get:
      tags:
        - stocks-fiat-withdrawals
      summary: Get fiat withdrawal
      operationId: getFiatWithdrawalsByid
      parameters:
        - description: Withdrawal UUID
          in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                allOf:
                  - $ref: >-
                      #/components/schemas/github_com_dayacoins_daya-stocks-service_pkg_response.Envelope
                  - properties:
                      data:
                        $ref: >-
                          #/components/schemas/internal_publicapi_v1.PublicTransactionDetail
                    type: object
          description: Fiat withdrawal
        '400':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-stocks-service_pkg_response.Envelope
          description: Invalid id
        '401':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-stocks-service_pkg_response.Envelope
          description: Missing or invalid API key
        '404':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_dayacoins_daya-stocks-service_pkg_response.Envelope
          description: Withdrawal not found
components:
  schemas:
    github_com_dayacoins_daya-stocks-service_pkg_response.Envelope:
      properties:
        data: {}
        error:
          $ref: >-
            #/components/schemas/github_com_dayacoins_daya-stocks-service_pkg_response.ErrorData
        message:
          description: Message is an optional banner/toast string.
          type: string
        success:
          type: boolean
        timestamp:
          type: string
      type: object
    internal_publicapi_v1.PublicTransactionDetail:
      properties:
        amount_usd:
          example: '100.00'
          type: string
        completed_at:
          example: '2026-01-15T10:35:00Z'
          type: string
        created_at:
          example: '2026-01-15T10:30:00Z'
          type: string
        direction:
          enum:
            - in
            - out
          example: out
          type: string
        fx_rate:
          example: '1650.00'
          type: string
        id:
          example: 7c1f0b9e-2a3d-4c5e-8f6a-9b0c1d2e3f40
          type: string
        method:
          enum:
            - onchain
            - bank_transfer
          example: bank_transfer
          type: string
        status:
          enum:
            - pending
            - processing
            - completed
            - failed
          example: completed
          type: string
        updated_at:
          example: '2026-01-15T10:35:00Z'
          type: string
        amount:
          example: '165000.00'
          type: string
        asset:
          example: NGN
          type: string
        fee_amount:
          type: string
          description: Fee as charged, in fee_currency.
          example: '1.50'
        fee_currency:
          type: string
          example: USD
        price_usd:
          type: string
          description: >-
            The asset's USD unit price at transaction time (amount_usd /
            amount).
          example: '0.00060606'
      type: object
    github_com_dayacoins_daya-stocks-service_pkg_response.ErrorData:
      properties:
        code:
          type: string
        details: {}
        fields:
          additionalProperties:
            type: string
          type: object
        message:
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: >-
        Your Daya API key, sent in the X-API-Key header. Issue and scope keys in
        the Daya dashboard.
      in: header
      name: X-API-Key
      type: apiKey

````