# PayPal Withdrawal
curl -X POST https://api.swiftpay.cx/api/withdrawals \
-H "Authorization: Bearer mp_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"amount": 50.00,
"destinationType": "paypal",
"destinationDetails": {
"paypalEmail": "[email protected]"
}
}'
# Crypto Withdrawal
curl -X POST https://api.swiftpay.cx/api/withdrawals \
-H "Authorization: Bearer mp_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"amount": 100.00,
"destinationType": "crypto",
"destinationDetails": {
"cryptoCoin": "USDT",
"cryptoNetwork": "TRC20",
"cryptoAddress": "Txxxxxxxxxxxxxxxxxxxxxxx"
}
}'