Comment on page
Withdrawal by client
Method for withdrawal by merchant's clients from merchant account balances. When requesting withdrawal of funds, a merchant must have liquidity on his balance in corresponding cryptocurrency. The method can be also used for automatization of withdrawals from the merchant's account by the merchant itself.
Content type: application/x-www-form-urlencoded / application/json
Request
Request Type: POST
Endpoint:
https://app.0xprocessing.com/Api/Withdraw
The request must contain an APIKEY header with your API key. The key can be generated in the menu Merchant\Classic processing\General settings
Parameters:
Name | Description | Type |
---|---|---|
Currency | String | |
Amount | Withdrawal amount in cryptocurrency | Double |
Address | String | |
DestinationTag | Destination Tag for XRP output. Optional parameter | String |
ClientId | Unique client ID in your system | String |
ExternalId | Withdrawal ID in your system | String |
Test | Indicates whether the withdrawal will be a test withdrawal | Boolean |
Reply
Response Type: JSON
Parameters:
Name | Description | Type |
---|---|---|
Id | Withdrawal ID in the 0Xprocessing system | Integer |
Currency | Withdrawal currency | String |
Amount | Withdrawal amount in cryptocurrency | Double |
Address | Wallet address | String |
DestinationTag | Destination Tag for XRP output. Optional parameter | String |
ClientId | Unique client ID in your system | String |
AutoWithdraw | Specifies whether the withdrawal will be processed automatically. A value of false means that the withdrawal must be processed by the manager | Boolean |
ExternalId | Withdrawal ID in your system | String |
Example response JSON:
1
{
2
"id": 100,
3
"address": "TToSLiYx6gfCrrhnWKXJmrsCivXR1111L",
4
"currency": "TRX",
5
"amount": 100.0,
6
"destinationTag": null,
7
"ExternalID":"abcd1234",
8
"clientId": "Client",
9
"autoWithdraw": false
10
}
The withdrawals report can be implemented by means of webhooks or by checking of withdrawal status.
Last modified 1mo ago