Get info about previously created Quote
- Mock serverhttps://docs.leanx.me/_mock/openapi/v2/quote/{id}
- Leanx Test serverhttps://api.leanxtest.me/v2/quote/{id}
- Leanx Production serverhttps://api.leanx.me/v2/quote/{id}
curl -i -X GET \
'https://docs.leanx.me/_mock/openapi/v2/quote/{id}?country=BGD' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Successful Response
Quote id. Send it as quote on POST /v2/payment; a quote can back one payment only.
Source currency, the one amount is in.
What the beneficiary receives, in the destination currency. Send it verbatim as amount on POST /v2/payment.
Exchange rate from the source currency to the destination currency. This is the rate your customer sees.
When the quote stops being usable (UTC), currently 15 minutes after timestamp. Read this value rather than hard-coding the window.
Exchange rate from your settlement wallet currency to the destination currency. For settlement only: do not show it to your customer or use it to compute a payout.
Smallest payout your account may send on this corridor, in the destination currency. Set per account, so read it from every quote rather than caching it.
{ "amount": 100, "amount_destination": 8488.79, "country": "IND", "currency": "USD", "expires": "2024-12-01T01:17:03.000000Z", "id": "00000000-0000-4000-A000-000000000000", "max_amount_destination": 100000, "min_amount_destination": 100, "rate": 84.887912, "timestamp": "2024-12-01T01:02:03.000000Z", "wallet_rate": 84.887912 }