Crypto Withdraw
Creating a crypto withdrawal
POST https://API_BASE_DOMAIN/withdraw/crypto
Request Body
api_key*
string
Merchant's API Key
customer_id*
string
Customer's unique ID
username*
string
Customer's username
fullname*
string
Customer's name and surname
transaction_id*
string
Transaction ID created from your side (this value is sent by callback request when transaction is completed)
token*
string
Create a string imploding values with pipe and hash it with sha256 algorithm. PHP Example: hash("sha256", "api_key|api_secret|username|amount|account_number|transaction_id")
callback_url*
string
Transaction result will be send this endpoint
amount*
integer
Withdraw amount in integer
account_number*
string
Customer's wallet address (crypto will be transferred this address)
currency*
string
Only allowed values: "btc", "eth", "usdt_trc20", "usdt_erc20"
{
"success": true,
"data": {
"status": "success",
"message": "Withdraw request created successfully.",
"provision": {
"id": "d47b2aa9-21b0-4d5e-a8ae-5de103ae65f7",
"username": "12345",
"fullname": "John doee",
"amount": "255.00"
}
}
}{
"success": false,
"status_code": 422,
"error": "CustomerID is required (field=customer_id)",
"errors": {
"customer_id": [
"CustomerID is required (field=customer_id)"
],
"transaction_id": [
"TransactionID is required (field=transaction_id)"
]
}
}Last updated