---
title: "Generate Direct Quote"
method: POST
path: "/v1/client/transaction/direct-generate-quote"
---

# Generate Direct Quote

`POST /v1/client/transaction/direct-generate-quote`

## Request

- Base URL: `https://uatclientapi-v2.stockal.com/client/v2`
- URL: `https://uatclientapi-v2.stockal.com/client/v2/v1/client/transaction/direct-generate-quote`
- Auth: none required
- TypeScript: <https://skmtc.dev/stockal/apis/uat-client-api-v2/docs/v1/client/transaction/direct-generate-quote/post.ts> (a function with typed inputs; its response is checked against the schema)

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

## Headers

- `api-key` string, required
- `auth-key` string, required
- `userId` string, required

## Request body

- object
  - `amount` string, required: The amount in the input Currency
  - `fromCurrency` string, required: Currency in which remittence is sent (Will always be INR, for LRS transactions)
  - `toCurrency` string, required: Currency in which remittence is received by the Beneficiary (Beneficiary's Currency)
  - `inputCurrency` string, required: The currency in which the amount is collected from the application user
  - `panNo` string, required: CONSTANT but VALID PAN Number to generate the quote (The API requires a VALID PAN to be called)

## Response `200`

200

- object
  - `status` integer
  - `message` string
  - `data` object
    - `amount` integer
    - `exType` string
    - `fromCurrency` string
    - `toCurreny` string
    - `exRate` number
    - `fees` integer
    - `otherCharges` integer
    - `expiry` string
    - `tcsAmt` integer
    - `gstAmt` number
    - `totalBankCharges` integer
    - `totalAdditionalAmount` number
    - `finalFromAmount` number
    - `handlecharge` integer

## Other responses

- `500`: 500

---

[API](https://skmtc.dev/stockal/apis/uat-client-api-v2.md) - [All operations](https://skmtc.dev/stockal/apis/uat-client-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/stockal/apis/uat-client-api-v2/revisions/08e36bbbd3be?raw)
