Send on-chain

post
Send on-chain

https://api.vndc.io/merchant/submit_send_onchain
Request
Response
Request
Headers
accept
required
string
application/json
Access-Client-Token
required
string
Content-Type
required
string
application/json
Body Parameters
coin
required
string
amount_send
required
string
address_wallet
required
string
Response
200: OK
401: Unauthorized
{
"code": "missingAuthorization",
"message": "Unauthorized access. Missing or invalid access client token"
}
Possible value are:
. missingAuthorization: Unauthorized access. Missing or invalid access client token
. notEnoughBalanceAvailable: Not enough available balance
403: Forbidden
{
"code": "createSendOnchainFailure",
"message": "Creating an order to send onchain failed"
}
404: Not Found
{
"code": "emptyCoin",
"message": "Coin is required"
}
Possible value are:
. emptyCoin: Coin is required
. invalidCoin: This coin is not supported
. emptyAddressWallet: Address wallet is required
. invalidWalletAddress: Address wallet is not valid
. emptyAmount: Amount is required
. invalidAmount: Account is not valid
. limitMinAmount: The amount is too small
. limitMaxAmount: The amount is too big

Possible "coin" values are: VNDC, CHI, BTC, ETH, USDT, USDScoin