Accept payments
Currencies & estimates
Asset codes are SYMBOL_NETWORK for tokens (USDT_TRC20, USDC_SOL) and the bare symbol for native coins (BTC, ETH, TON).
Supported assets
| Asset | Code | Network | Confirmations | Minimum |
|---|---|---|---|---|
USDT_TRC20 | TRON token | 20 | $1 | |
USDT_BEP20 | BNB Smart Chain token | 15 | $1 | |
USDT_ERC20 | Ethereum token | 12 | $10 | |
USDT_POLYGON | Polygon token | 64 | $1 | |
USDC_ERC20 | Ethereum token | 12 | $10 | |
USDC_BEP20 | BNB Smart Chain token | 15 | $1 | |
USDC_POLYGON | Polygon token | 64 | $1 | |
USDC_TRC20 | TRON token | 20 | $1 | |
USDC_SOL | Solana token | 1 | $1 | |
USDT_SOL | Solana token | 1 | $1 | |
BTC | Bitcoin | 2 | $5 | |
LTC | Litecoin | 6 | $1 | |
ETH | Ethereum | 12 | $10 | |
BNB | BNB Smart Chain | 15 | $1 | |
POL | Polygon | 64 | $1 | |
TRX | TRON | 20 | $1 | |
SOL | Solana | 1 | $1 | |
TON | TON | 1 | $1 |
Prices can be set in fiat — USD, EUR, GBP, KES, NGN, UGX, TZS, ZAR, GHS — or directly in any asset code. Some tokens aren't deployed on every testnet; GET /v1/currencies with a test key returns exactly what's available in test mode.
List currencies
GET
/v1/currenciesReturns the assets available in your key's mode, with your account's per-asset settings.
Response
{
"object": "list",
"data": [
{
"code": "USDT_TRC20",
"symbol": "USDT",
"name": "Tether USD",
"label": "USDT · TRC20",
"network": "tron",
"network_name": "TRON Nile",
"decimals": 6,
"contract": "TXYZopYRdj2D9XRtbG411XZZ3kM5VkAeBf",
"min_amount_usd": 1,
"confirmations": 20,
"enabled": true,
"settlement": "hold"
}
]
}Estimate a price
GET
/v1/estimateQuery
amountstringrequiredAmount in currency_from.
currency_fromstringrequiredFiat code or asset symbol, e.g. KES.
currency_tostringrequiredAsset code, e.g. USDT_TRC20.
Shell
curl "https://lipacoin.io/api/v1/estimate?amount=2500¤cy_from=KES¤cy_to=USDT_TRC20" \
-H "Authorization: Bearer $LIPACOIN_SECRET_KEY"Response
{
"currency_from": "KES",
"amount_from": "2500",
"currency_to": "USDT_TRC20",
"estimated_amount": "19.38",
"rate": "129.0123"
}rate is units of currency_from per one unit of the asset. Estimates use the same rounding as payments but are not locked — the amount is fixed only when a payment is created.