Wallet

Get Withdrawal by ID

Returns a single withdrawal by transaction ID. For the withdrawal process and timing, see Withdrawals.

get/v1/wallet/withdrawals/{withdrawalID}

Request

  • Base URL
    https://api.ondoperps.xyz
  • URL
    https://api.ondoperps.xyz/v1/wallet/withdrawals/{withdrawalID}
  • Auth
    • HTTP bearer
    • or API key in header ONDO-KEY-ID

Path parameters

withdrawalIDstring required

Response

Withdrawal

successboolean required

Whether the request was successful

errorstring

Error message, present only on failure

error_codestring

Semantic error code. See each endpoint's error responses for the specific codes it can return.

deprecatedstring

Deprecation notice, if applicable

Example response

{
  "success": true,
  "result": {
    "coin": "USDC",
    "size": "100.00",
    "status": "complete",
    "chainId": "eth-mainnet",
    "from": {
      "id": "10458932786832481",
      "wallet": "margin"
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.