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, TON, USDT (TON) withdrawal. 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, TON, USDT (TON) withdrawal. 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:

                        {
                        "id": 100,
                        "address": "TToSLiYx6gfCrrhnWKXJmrsCivXR1111L",
                        "currency": "TRX",
                        "amount": 100.0,
                        "destinationTag": null,
                        "externalId":"abcd1234",
                        "clientId": "Client",
                        "autoWithdraw": false
                        }

The withdrawals report can be implemented by means of webhooks or by checking of withdrawal status.

Last updated