Cryptocurrency codes
The Overpay system can process transactions in the following cryptocurrencies:
Cryptocurrency name | Cryptocurrency code |
---|---|
Axie Infinity | AXS |
Binance USD | BUSD |
Bitcoin | BTC |
Bitcoin BEP2 | BTCB |
Bitcoin Cash | BCH |
BNB | BNB |
Cardano | ADA |
CasinoCoin | CSC |
Dai | DAI |
Dash | DASH |
Dexsport | DESU |
Dogecoin | DOGE |
Ethereum | ETH |
Huobi Token | HT |
HUSD | HUSD |
Litecoin | LTC |
Tether | USDT |
TRON | TRX |
TrueUSD | TUSD |
USD Coin | USDC |
XRP | XRP |
Special requirements for cryptocurrency transactions
To make the Overpay system process a cryptocurrency transaction properly, follow the requirements below:
-
While sending cryptocurrency transactions, indicate the cryptocurrency code as a value of the
currency
parameter. -
The
amount
parameter supports integer values only. To send a payment or payout transaction request, please, make the following steps:-
If you deal with transaction amounts in minimal cryptocurrency units, convert a payment or payout amount into a sum in the main cryptocurrency units. For example,
12 345 satoshi
equals0.00012345 BTC
,12 345 gwei
equals0.000012345 ETH
. -
Multiply the sum in the main cryptocurrency units by 100 000 000, and round the fractional part of the number, if any, according to the mathematical rounding rules. For example,
0.00012345 BTC = 12345
,0.000012345 ETH = 1235
. -
Submit the number as a value of the
amount
parameter in your payment or payout transaction request.
-
Request example for a payment of 1.123 456 79 BTC
{
"request":{
"amount":112345679,
"currency":"BTC",
"description":"Test transaction in cryptocurrency",
"tracking_id":"your_unique_number",
"language":"en",
"test":true,
"billing_address":{
"first_name":"John",
"last_name":"Doe",
"country":"US",
"city":"Denver",
"state":"CO",
"zip":"96002",
"address":"1st Street"
},
"credit_card":{
"number":"4200000000000000",
"verification_value":"123",
"holder":"John Doe",
"exp_month":"05",
"exp_year":"2027"
},
"customer":{
"ip":"127.0.0.1",
"email":"[email protected]"
}
}
}