v1

latestOpenAPI 3.1.02026-07-24680631.6 KB

Generate Direct Quote

The Direct Quote API allows the user to check the Forex Rate available at the bank, with out the need to pass the User's PAN

post/v1/client/transaction/direct-generate-quote

Headers

api-keystring required

API Key

auth-keystring required

The Auth key as received from Generate Auth Key API

userIdstring required

User Id as generated via the "Create Account (sign-Up) API". Identifier of an individual user, you can map this to the User identification at your end.

Request body

amountstring required

The amount in the input Currency

fromCurrencystring required

Currency in which remittence is sent (Will always be INR, for LRS transactions)

toCurrencystring required

Currency in which remittence is received by the Beneficiary (Beneficiary's Currency)

inputCurrencystring required

The currency in which the amount is collected from the application user

panNostring required

CONSTANT but VALID PAN Number to generate the quote (The API requires a VALID PAN to be called)

Response

200

statusinteger
messagestring

Example response

{
  "status": 200,
  "message": "Success",
  "data": {
    "amount": 203023,
    "exType": "source",
    "fromCurrency": "INR",
    "toCurreny": "USD",
    "exRate": 0.011705,
    "expiry": "2024-03-17T11:29:19Z",
    "gstAmt": 272.72,
    "totalAdditionalAmount": 272.72,
    "finalFromAmount": 203295.72
  }
}