Create Offramp Request
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.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Onramp reference ID
The crypto amount
Fiat currency
Deposit status
Lipa na M-Pesa (Till/Buy Goods) receiver — Kenya only
Paybill receiver — Kenya only
Transaction hash
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.