v1

latestOpenAPI 3.1.02026-07-24680631.6 KB

Get quote & transfer fund

The quote is created where the customer enters the amount of USD that is required to be transferred where the response is shared with the amount in INR with charges. Quote is valid only for 30 minutes. As a user of this API you could choose to maintain the expire time at your end to re-generate the quote as soon as it is expired and if the user has not made the payment

get/fund/customer/lrs/quote/get

Query parameters

amountinteger required

The amount to transfer in USD. Validation: The amount should not exceed 25000 USD

customerIdstring required
currencyFromstring

Optional - This is defaulted to INR

currencyTostring

Optional - This is defaulted to USD

inputCurrencystring

Optional - This is defaulted to whatever is given as “currencyTo” Valid values: “inr”, “usd”

Headers

api-keystring

API Key

auth-keystring

Auth key generated using API & Access key

Response

200

statusinteger

Example response

{
  "status": 200,
  "doc": {
    "quoteId": "9145533",
    "expireTime": "2022-12-06T14:22:23.489+00:00",
    "sourceCurrencyCode": "INR",
    "targetCurrencyCode": "USD",
    "baseAmount": 1560914.7,
    "toAmount": 20000,
    "rate": 0.012813,
    "sourceCountry": "in",
    "targetCountry": "us",
    "tcs": 43045.74,
    "gst": 1090.96,
    "bankCharge": 200,
    "handleCharge": 225,
    "totAdditionalAmount": 44561.7,
    "finalPaymentAmount": 1605476.4
  }
}