Skip to content
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

AssetCodeNetworkConfirmationsMinimum
USDT · TRC20USDT_TRC20TRON token20$1
USDT · BEP20USDT_BEP20BNB Smart Chain token15$1
USDT · ERC20USDT_ERC20Ethereum token12$10
USDT · PolygonUSDT_POLYGONPolygon token64$1
USDC · ERC20USDC_ERC20Ethereum token12$10
USDC · BEP20USDC_BEP20BNB Smart Chain token15$1
USDC · PolygonUSDC_POLYGONPolygon token64$1
USDC · TRC20USDC_TRC20TRON token20$1
USDC · SolanaUSDC_SOLSolana token1$1
USDT · SolanaUSDT_SOLSolana token1$1
BTCBTCBitcoin2$5
LTCLTCLitecoin6$1
ETHETHEthereum12$10
BNBBNBBNB Smart Chain15$1
POLPOLPolygon64$1
TRXTRXTRON20$1
SOLSOLSolana1$1
TONTONTON1$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/currencies

Returns 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/estimate
Query
amountstringrequired
Amount in currency_from.
currency_fromstringrequired
Fiat code or asset symbol, e.g. KES.
currency_tostringrequired
Asset code, e.g. USDT_TRC20.
Shell
curl "https://lipacoin.io/api/v1/estimate?amount=2500&currency_from=KES&currency_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.