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

# Get a withdrawal

> Retrieves an on-chain withdrawal by ID, including its current status and
transaction details when available.

Withdrawal processing is asynchronous. Treat `pending` as non-final and
use a webhook or this endpoint to observe completion or failure.



## OpenAPI

````yaml https://core.sandbox.gnosispay.in/partner-api/openapi.json get /v1/withdrawals/{withdrawal_id}
openapi: 3.1.0
info:
  title: Gnosis Pay Partner API
  version: 1.0.0
  description: >-
    Server-to-server API for onboarding users, creating accounts and cards,
    moving

    funds, and managing the card lifecycle. Call this API only from a trusted

    backend. Every request requires a partner access token, and every resource
    is

    scoped to the authenticated partner.
servers:
  - url: https://core.prod.gnosispay.com/partner-api
    description: Production
    variables: {}
  - url: https://core.sandbox.gnosispay.in/core
    description: Sandbox
    variables: {}
security:
  - BearerAuth: []
tags:
  - name: Accounts
  - name: Cards
  - name: Card transactions
  - name: KYC
  - name: Deposits
  - name: Withdrawals
  - name: PCI
  - name: 3DS
  - name: Webhooks
paths:
  /v1/withdrawals/{withdrawal_id}:
    get:
      tags:
        - Withdrawals
      summary: Get a withdrawal
      description: |-
        Retrieves an on-chain withdrawal by ID, including its current status and
        transaction details when available.

        Withdrawal processing is asynchronous. Treat `pending` as non-final and
        use a webhook or this endpoint to observe completion or failure.
      operationId: withdrawals.get.v1
      parameters:
        - name: withdrawal_id
          in: path
          required: true
          description: The withdrawal ID.
          schema:
            $ref: '#/components/schemas/uuid'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnchainWithdrawal'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    uuid:
      type: string
      format: uuid
    OnchainWithdrawal:
      type: object
      required:
        - id
        - account_id
        - chain_id
        - safe_address
        - token
        - token_name
        - amount
        - to_address
        - tx_hash
        - block_number
        - status
        - api_initiated
        - created_at
        - updated_at
      properties:
        id:
          $ref: '#/components/schemas/uuid'
          description: Unique withdrawal identifier.
        account_id:
          $ref: '#/components/schemas/uuid'
          description: Account sending the withdrawal.
        chain_id:
          type: integer
          format: int32
          description: Numeric blockchain network ID.
        safe_address:
          type: string
          description: Account funding address that sent the tokens.
        token:
          type: string
          description: Token contract address.
        token_name:
          type: string
          description: Human-readable token name.
        amount:
          type: string
          description: Amount in the token's smallest unit.
        to_address:
          type: string
          description: Destination address.
        tx_hash:
          type: string
          description: >-
            Blockchain transaction hash; empty until the transaction is
            submitted.
        block_number:
          type: integer
          format: int64
          description: Block number containing the transaction; zero until it is confirmed.
        status:
          $ref: '#/components/schemas/OnchainWithdrawalStatus'
          description: Current withdrawal status.
        api_initiated:
          type: boolean
          description: Whether the withdrawal was requested through an API.
        created_at:
          type: string
          format: date-time
          description: When the withdrawal was first recorded.
        updated_at:
          type: string
          format: date-time
          description: When the withdrawal was last updated.
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          format: int32
          description: HTTP status code.
        message:
          type: string
          description: Generic human-readable text for the status code. Do not parse it.
        reason:
          type: string
          description: >-
            Stable machine-readable code identifying the specific cause, present
            only

            for errors that expose one (e.g. `CREATE_CARD_LIMIT_EXCEEDED`).
            Branch on

            this rather than on `message`.
    OnchainWithdrawalStatus:
      type: string
      enum:
        - pending
        - completed
        - failed
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.