Skip to content

Quote Get

Request

Fetch quote info

Security
bearerAuth
Path
idstring, (uuid)(Id)required

Quote id

curl -i -X GET \
  'https://docs.leanx.me/_mock/openapi/v3/quotes/{id}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Successful Response

Bodyapplication/json
idstring, (uuid)(Id)
Default:"Quote ID"
countrystring(ApiCountry)required

Destination country

Enum:"BGD""IND""PAK""PHL""NPL""EGY""VNM""NGA"
payment_typestring(PaymentType)required

Payment type for the quote

Enum:"B2B""B2C""C2B""C2C"
payment_methodstring(PaymentMethod)required

Payment method/rail for the quote

Enum:"bank_transfer""cash_pickup""mobile_wallet""instant_payment"
currencystring(CurrencyCode)required

Source currency

Enum:"BHD""EUR""KWD""MYR""OMR""QAR""SAR""SGD""TRY""AED"
amount_sourcenumber, > 0(Amount Source)required

Amount in the source currency

amount_destinationnumber, > 0(Amount Destination)required

Amount in the destination currency

ratenumber(Rate)required

Currency rate

timestampstring, (date-time)(Timestamp)required

Quote creation timestamp

limitsobject(QuoteLimits)
Default:"Quote limits"
wallet_infoobject(QuoteWalletInfo)required
Response
{ "amount_destination": 8488.79, "amount_source": 100, "country": "IND", "currency": "USD", "id": "00000000-0000-7000-8000-000000000000", "limits": { "expires": "2024-12-01T01:17:03.000000Z", "max_amount_destination": 100000, "min_amount_destination": 100 }, "payment_method": "bank_transfer", "rate": 84.887912, "timestamp": "2024-12-01T01:02:03.000000Z", "wallet_info": { "currency": "USDT", "rate": 84.887912 } }