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:

NameDescriptionType

Currency

Withdrawal currency Values

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:

NameDescriptionType

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.

WebhooksCheck withdrawal status by Withdrawal ID

Last updated