This endpoint will create a offramp request for a customer. If the fiat transfer fails after successful crypto receipt, an automatic refund will be initiated after 5 minutes. Use the refund-status endpoint to check refund status.
This endpoint will create an offramp request for a customer to convert crypto to fiat.Documentation Index
Fetch the complete documentation index at: https://developers.kotanipay.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The crypto amount
Fiat currency
KES, GHS, TZS, UGX, ZMW, XAF, XOF, CDF, RWF, ETB, ZAR Chain
ETHEREUM, CELO, AVALANCHE, POLYGON, ARBITRUM, OPTIMISM, STELLAR, TRON, FUSE, LIGHTNING, SOLANA, PROVENANCE, CARDANO, HEDERA, BASE, LISK, VICTION, SCROLL Stable Coin or Token
CUSD, USDC, USDT, USDT0, SAT, BTC, HASH, FUSE, HBAR, USDGLO, CKES, CGHS, MSAT, XLM, ADA Reference ID
Mobile Money receiver details
Bank receiver details
Lipa na M-Pesa (Till/Buy Goods) receiver — Kenya only
Paybill receiver — Kenya only
Sender address (optional - if not provided, will use integrator crypto wallet)
Callback Url
Rate ID
Optional refund destination for this transaction. For Lightning: provide a bolt11 invoice so Kotani can refund immediately if fiat disbursement fails, without waiting for you to submit one manually. Include generate_invoice_url so Kotani can refresh the invoice if it expires. For on-chain chains: provide address as the fallback refund destination. If omitted, Kotani notifies you via webhook and email when a refund is needed and you submit via POST /offramp/submit-refund-invoice/:referenceId.