Create a User Withdrawal
Body
Request to withdraw funds
amountstring · decimalRequired
Amount to withdraw, we support high precision due to certain tokens
currency_idstringRequired
Currency ID, which can be retrieved using supported currencies.
user_reference_idstringRequired
The unique user reference to identify a user for transaction tracking
wallet_addressstringRequired
Destination wallet address for withdrawal
Responses
200
User withdrawal
application/json
Response for withdraw request
amountstringRequired
Withdrawal amount
currencystringRequired
Currency name
requires_approvalbooleanOptional
Whether transaction requires approval
statusstring · enumRequiredPossible values:
Transaction status. processing — submitted to provider; pending_approval — awaiting manual approval.
transaction_uuidstring · uuidRequired
Transaction identifier for tracking
wallet_addressstringRequired
Destination wallet address
422
Validation error - missing required fields, invalid UUID format, or invalid user_reference_id format (only alphanumeric, hyphens, and underscores allowed)
application/json
post/v1/user/withdraw
POST /v1/user/withdraw HTTP/1.1
Host: gateway.stage.pay.io
Content-Type: application/json
Accept: */*
Content-Length: 169
{
"amount": "100.50",
"currency_id": "c872e749-fd56-533e-b01f-de87ae38e7f1",
"user_reference_id": "hub_player_2",
"wallet_address": "0x1234567890123456789012345678901234567890"
}{
"amount": "100.50",
"currency": "USDC",
"requires_approval": false,
"status": "processing",
"transaction_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"wallet_address": "0x1234567890123456789012345678901234567890"
}Last updated