Make transfer

circle-info

This method is only available to users who have a API Wallet subscription

Make transfer

POST https://api.xbwallet.me/transfer

Request Body

Name
Type
Description

merchant_id

UUID

Merchant ID your shop/wallet

currency

Currency

API Currency transfer (bitcoin, litecoin, ethereum, tron, binancecoinbep20, usdttrc20, usdterc20, usdtbep20, daierc20, daibep20, busdbep20)

secret_hash

String

Signing the request with a secret key

secret_hash = sha1(merchant_id&currency&recipient&amount&fee&secret)

recipient

String

Address recipient

amount

Number

Transfer amount

fee

Number

GWEI for Ethereum/ERC20 (will be calculated automatically by default), satoshi per byte for Bitcoin/Litecoin (default will be 5 and 10 satoshi per byte respectively) to specify default values, pass 0, for other currencies also pass 0 for signature calculation

pin

String

PIN code from Wallet API settings

{
    "txid": "23246a0064d58e49f8be68037d5ec1c66ab26eeaec4faf55d4213bfb131c199f",//hash transaction
    "fee": 5//final fee, for tokens the commission is indicated in the main currency, trc20 - tron, erc20 - ethereum, bep20 - binance coin, for bep20 and erc20 tokens the final fee will actually be less
}

Last updated