Withdraw
Request withdrawal of funds
Withdraw cryptocurrency to any specified address
POST https://api.legranpay.io/v1/merchant/withdraws/request
Headers
Name
Type
Description
X-MERCHANT-KEY*
String
You merchant key
X-MERCHANT-SIGNATURE*
String
You merchant secret key
Request Body
Name
Type
Description
currency*
String
Example: USDT
blockchain*
String
Unique name of blockchain. Check currency section for more information.
For example: POLYGON_MUMBAI
amount*
String
For example: "0.1"
address*
String
Receiver's wallet
validate
Boolean
It is used to bypass the manual validation restriction.
{
"error": false,
"data": {
"uid": "28dc3cd5-9752-4ac2-b3db-b3ce47f2b7f9",
"createdAt": 1687554178
}
}{
"error": true,
"code": 1006,
"message": "Withdrawal is not available with the indicated parameters. Check the currency and blockchain API for more details"
}Possible errors
500
1005
1006
1007
1014
1016
Last updated