Receiving withdrawal information

The method allows you to get information about the output

Receiving withdrawal information

post
Header parameters
x-api-public-keystringOptional

Public API-key

x-api-signaturestringOptional

Signing the request body with a private API-key

Content-typestringOptional

Request content type

Example: application/json
Body

The body of the request for output information

withdrawalIdstringRequired

Withdrawal ID in the system

Example: a807d48d-d786-4a0d-a2c1-e14656e1b521
Responses
200Success
application/json
post
POST /api-gateway/get-withdrawal HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 55

{
  "withdrawalId": "a807d48d-d786-4a0d-a2c1-e14656e1b521"
}
200Success
{
  "success": true,
  "response": {
    "id": "a807d48d-d786-4a0d-a2c1-e14656e1b521",
    "addressId": "ed7c4941-a5ab-4f53-afb1-195f3a217a62",
    "currency": "USDT",
    "network": "ethereum",
    "tx": "0xb502e6ba8745a99f3484d75c027c55cacc26d6342b3a129f97d802899435ef12",
    "status": "pending",
    "address": "0x00000005707bf50efa35a2db020ede9ac08ae226",
    "tag": null,
    "amount": "123.12",
    "feeCurrency": "0x00000005707Bf50EfA35a2db020eDe9Ac0780b9f",
    "feeSource": "advanced_balance",
    "feeAmount": "1.12",
    "createdAt": "2025-07-15T10:50:46.075Z"
  }
}

Last updated