Creates a quote for an LRS remittance (resource: payin) or an LRS withdrawal (resource: payout). Use it to show the customer the exchange rate, the GST and the converted amount before they proceed. Payout quotes expire 30 minutes after they are created; for a payin quote, rely on the returned expires_at.
This is not the same endpoint as POST /quotes (createQuote). To create an LRS order, pass the payin quote's id as lrs.lrs_quote_id on POST /orders, with currency set to USD and amount equal to the USD side of the quote: from.amount when source_currency is USD, to.amount when it is INR.
For a payin quote, bank_code is required and must be a bank enabled for your account (see GET /lrs/banks). Either direction between INR and USD is supported. For a payout quote, only USD to INR is supported and bank_code must not be sent. LRS must be enabled for your account.
What the quote prices.
payin— an LRS remittance from a resident Indian customer. Requiresbank_code.payout— a withdrawal back to the customer in India. OnlyUSDtoINRis supported, andbank_codemust not be sent.
Code of the customer's bank, as returned by GET /lrs/banks. Required when resource is payin, and the bank must be enabled for your account. Rejected when resource is payout.
The amount to convert, in the smallest unit of source_currency (paisa for INR, cents for USD). 4400000 is ₹44,000.00 when source_currency is INR. Must be a whole number; a string of digits such as "4400000" is also accepted. Send a positive integer; an optional leading sign is accepted. A decimal or an exponent is rejected with 400. On a payin quote, the amount must fall within the minimum and maximum set for the bank, otherwise the request is rejected with 400 and the message states the limit.
The currency of source_amount. Must differ from target_currency.
- Production serverhttps://api.glomopay.com/api/v1/lrs/quotes
curl -i -X POST \
https://api.glomopay.com/api/v1/lrs/quotes \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"bank_code": "hdfc",
"source_amount": 4400000,
"source_currency": "INR",
"target_currency": "USD"
}'Quote created
Unique identifier of the quote. Pass it as lrs.lrs_quote_id on an LRS order.
The amount the quote converts to, in target_currency.
INRtoUSDpayin quote: GST is deducted fromfrom.amountbefore conversion, soto.amountis the USD remitted.USDtoINRpayin quote:to.amountis the INR equivalent offrom.amount, plus any transaction fee charged to the customer, with GST added.- Payout quote:
to.amountis the INR the customer receives after fees and GST are deducted.
On a payin quote, the side in USD is the amount an LRS order must be created for.
The exchange rate applied to the quote, as a decimal string in INR per 1 USD. It is expressed this way whichever direction the quote converts.
The bank_code the quote was created for. Present on payin quotes only.
GST on the conversion, in paisa, whichever direction the quote converts. 7906 is ₹79.06.
When the quote expires, as an ISO 8601 date-time in UTC. Payout quotes expire 30 minutes after created_at. For payin quotes, rely on this value rather than a fixed duration. An LRS order created from the quote expires at the same time, and an order cannot be created from an expired quote.
{ "id": "quote_6ab60de4Kx7Pq", "from": { "amount": 4400000, "currency": "INR" }, "to": { "amount": 51763, "currency": "USD" }, "fx_rate": "84.85", "bank_code": "hdfc", "total_tax": 7906, "expires_at": "2026-09-25T06:30:04.113Z", "created_at": "2026-09-25T06:00:04.113Z" }