Withdraw
Withdraw stablecoin
Withdraw USDT from your Mavapay stablecoin wallet to an external address. The amount is specified in USDT cents (2 decimal places). For example, 100 = 1 USDT.
post/withdraw/stablecoin
Request body
Example request
{
"amount": "500000",
"network": "trc20",
"currency": "USDT",
"address": "TLt6fwdcdD18S36L9oiikn4Z8hebgwbzwS",
"customerReference": "customer-provided-reference"
}Response
Withdraw response
Example response
{
"status": "ok",
"data": {
"id": "d1614a76-9c7f-4111-98a7-43199f307e5b",
"walletId": "d1614a76-9c7f-4111-98a7-43199f307e5b",
"ref": "99eeff854ffd345fffs67890",
"hash": "189727ef2e0f35921af7858b96e27cbad960b0ec2bb2a4ab73b6a231f9ce8727",
"amount": 1000,
"autopayout": true,
"createdAt": "2021-07-01T12:00:00Z",
"updatedAt": "2021-07-01T12:00:00Z",
"metadata": {
"id": "d1614a76-9c7f-4111-98a7-43199f307e5b",
"orderId": "99854-2345",
"bankCode": "090267",
"bankAccountName": "Satoshi Nakamoto",
"bankAccountNumber": "0123456789",
"createdAt": "2021-07-01T12:00:00Z",
"updatedAt": "2021-07-01T12:00:00Z"
}
}
}