cURL
curl --request POST \ --url https://api.sandbox.busha.so/v1/bill/quote \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "product_code": "<string>", "amount": "<string>", "recipient": "<string>", "source_currency": "<string>" } '
{ "status": "success", "message": "message for success", "data": { "product_name": "<string>", "product_code": "<string>", "category": "<string>", "recipient": "<string>", "amount": "1000.00", "currency": "NGN", "source_amount": "0.68", "source_currency": "USD", "fee": "0.00", "fee_currency": "USD", "total": "0.68", "total_currency": "USD", "rate": "1 USD = 1,478.24 NGN" } }
Returns a real-time cost breakdown before purchase. Shows bill amount, source amount, exchange rate (if cross-currency), fees, and total. Stateless — no DB record, no rate locking.
Bearer Authentication
Product code to purchase
Amount in bill currency
Meter number, smartcard, customer ID, etc.
Currency to charge from (defaults to bill currency if omitted)
Quote generated
General response Values
success
error
"success"
"message for success"
Show child attributes