Request Quote ID (BTC<>INR)
Method
POST https://prod.ninjapay.me/sapi/v1/requestBTCQuoteID
Parameters
Body (application/json)
{
fiat_amount: number, // The fiat amount that the business wishes to send (max 97,000INR).
payment_mode: string; // upi or ninjatag
sending_asset: string; // Add "btc" for btc to inr conversion.
receiver_upi_id?: string, // The UPI ID to which the fiat amount will be sent.
receiver_ninjatag?: string, // The Ninjatag of the recipient you want quote for.
refund_wallet: string // If upi transfer fails, btc amount will be refunded to the merchant wallet(Only "lbtc" supported currently)
}
Response
{
"quote_id": string, // The quote ID to be used in the subsequent api's.
"linked_upi_id": string // The primary UPI ID linked to the receiver ninjatag.
}
Code Example
Example Response
Last updated