Skip to main content
POST
Quote TCS and all-in total for a remittance

Errors

Every refusal uses the standard envelope and carries 40359 Invalid LRS request. — a malformed body and a refused quote alike. details is keyed by the request field the refusal is about, the same way Create Order keys a bad field, so read the key and fix that field before retrying.
Purpose code not enabled
A principal above ₹25,00,000 is not an error. It answers 200 with refusal_reason: "lrs_remittance_cap_exceeded" and the seven figures remittance_inr, taxable_inr, tcs_rate, tcs_inr, total_payable_inr, tcs_reason and tcs_category set to null. Check refusal_reason before you read the figures.
Branch on the details key, not on code. code is 40359 for every refusal; the key names the field to fix.

Authorizations

X-Client-ID
string
header
required

Client Application ID - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.

X-Client-Secret
string
header
required

Client Secret Key - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.

X-Merchant-ID
string
header
required

Merchant Identifier - The unique ID for the merchant account. This is required for PSP (Payment Service Provider) merchants who manage multiple merchant accounts. You can find merchant IDs in the Merchant Management section of the dashboard.

Headers

X-API-Version
enum<string>
default:3.0.0

Optional. Send 3.0.0. It is not a credential. The response's X-API-Version header echoes the value you sent, or your account's default version if you send none.

Available options:
3.0.0

Body

application/json
pan
string
required

Verified buyer PAN.

Example:

"ABCDE1234F"

amount
number
required

Proposed remittance amount in INR rupees.

Example:

1200000

purpose_code
string
required

LRS purpose code of the remittance (S0303, S0304, S0305, S0306, S1107). Must be enabled for LRS on the account the payment settles to. It decides how TCS is charged.

Example:

"S0305"

payment_id
string

Send to re-quote a payment you have already submitted details for. The quote uses the TCS rate fixed at that first submit and leaves this payment's own amount out of committed_inr.

Maximum string length: 64
Example:

"PR6938527534"

Response

TCS and total quoted.

success
boolean
Example:

true

message
string
Example:

"LRS amount quoted"

data
object