cURL
curl --request POST \ --url https://api.pcxpay.com/v1/virtual-accounts/withdraw/crypto \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "account_id": "<string>", "amount": 100, "payment_rail": "ethereum", "currency": "usdc", "to_address": "<string>", "user_id": "<string>", "description": "<string>" } '
{ "status": "success", "message": "Operation completed successfully", "data": {} }
Initiates a crypto-rail withdrawal from a virtual account to an on-chain address via the Bridge provider.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
100
"ethereum"
"usdc"
Destination wallet address
Crypto withdrawal initiated
success
error
"success"
"Operation completed successfully"