Create a User Withdrawal
This API endpoint allows users to initiate a withdrawal request to transfer funds from user account to an personal wallet address. The withdrawal requires specifying the amount, currency type, destination wallet, and user identification for processing.
Request to withdraw funds
Amount to withdraw, we support high precision due to certain tokens
Currency ID, which can be retrieved using supported currencies.
The unique user reference to identify a user for transaction tracking
Destination wallet address for withdrawal
User withdrawal
Response for withdraw request
Withdrawal amount
Currency name
Status explanation, present when status is pending_approval or unresolved
Whether transaction requires manual approval before processing
Transaction status. processing — submitted to provider; pending_approval — awaiting manual approval.
Transaction identifier for tracking
Destination wallet address
Validation error - missing required fields, invalid UUID format, or invalid user_reference_id format (only alphanumeric, hyphens, and underscores allowed)
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