Skip to main content
POST

Overview

When a payment needs verification details before it can settle, this is where you send them. One call carries every field the payment is waiting on, and you can send them as you collect them rather than all at once. Use it when you receive a VERIFICATION_NEEDED webhook with verification_status of ACTION_REQUIRED.

When this applies

Every payment is made against an order, however it was collected: Hosted Checkout, S2S UPI Intent, a payment link or a Virtual Bank Account credit. If that order is missing anything the payment needs before it can settle, the platform emits VERIFICATION_NEEDED naming exactly which fields are absent. This endpoint is how you supply them programmatically, rather than editing the order in the dashboard.
1

Payment recorded

The buyer pays and a payment is created against the order.
2

Missing fields reported

VERIFICATION_NEEDED fires with an action_required_fields array naming each one.
3

Supply the details

POST them to this endpoint, under the same codes the event used.
4

Read what is left

The response carries outstanding — the codes still owed after that call.

A worked example

Your answers go in fields, keyed by code; files you have already uploaded go in documents as { "code": …, "ref": … }. A document entry can carry waiver_reason (up to 500 characters) instead of ref, never both. LRS payments also send persons and top_up; see LRS Submit Verification Details.
JSON only. Files are never posted here. Upload a file with POST /pg/payments/{payment_id}/documents/, which returns a ref, then name that ref under its code in documents.

Which codes to send

The codes come from the payment, not from a fixed list. Read them off action_required_fields on the webhook, or call GET /pg/payments/{payment_id}/verification/ at any time for the full set with a satisfied flag on each item. What a payment is asked for depends on what it is, and it changes as the underlying regulatory requirements do — read the codes rather than hardcoding them, and a revision reaches you without a release on your side. These are the ones a goods payment is asked for: Document codes work the same way; a goods payment is asked for invoice.
type_of_goods is not sent here. It is part of the order’s product details, declared when you create the order, and it is never listed as outstanding.

Sending iec

A goods payment is asked for the buyer’s IEC, and it is checked with the issuer during the call, against the buyer name on the order. Send the 10-digit IEC, or the firm’s PAN if that is its IEC. The response tells you how the check went:
  • It passed. The call succeeds and iec leaves outstanding.
  • It was rejected. The call is a 400 whose details.iec says why. The rest of the call is still saved.
  • The check could not run. The call is a 503 with ERR_B2B_GOODS_IEC_002. Retry the same call.
An order gets 5 IEC checks. Once they are used the call answers ERR_B2B_GOODS_IEC_001 and the payment cannot be verified through this endpoint — contact EximPe support.
Send whichever of business_model and purpose_code is missing. Once set, sending a different value is a 400: Already set on the order; it cannot be changed here. Re-sending the same value is accepted. A purpose code that does not belong to the business model is refused with ERR_IMPORT_VERIFICATION_003, details.purpose_code naming the pair.

Send as much or as little as you have

Send three fields today and two tomorrow and you have sent five. Nothing you sent earlier is wiped by a later call, and a field’s newest value wins.
finalize defaults to true. It applies only to a complete set and never forces an incomplete one through, so a partial send is accepted either way — you do not have to set it. Pass finalize: false only to save without filing.
The response status tells you the outcome: incomplete, complete, in_review or action_required. The shape of your call is the same for every payment.
Once you have filed, sending is closed.

The response

in_review and action_required appear when the set is handed to a verification step: LRS, B2B services and B2B goods payments, and payments collected through a partner rail. in_review means the set was complete and filed; action_required means it was complete and the payment was not passed. A set with no review step stops at complete. When the set was complete but not filed, the response also carries a refusal object; this applies to every flow, not only LRS.

Goods payments

A B2B goods payment (S0101) is filed through this endpoint like the others. When every item is satisfied the set is filed on that call, the response answers in_review, and the payment moves to UNDER_REVIEW. declaration has to be true, and the IEC has to have passed its check. Once it is filed, EximPe review decides: Document entries in the VERIFICATION_STATUS event carry code, message, doc_status (PENDING, VERIFIED or REJECTED) and, when the reviewer left one, rejection_reason.

Errors

A refused send answers in the standard error envelope. details is keyed by the offending code, except for 40360, where it is a plain string. One call reports every problem at once:
Some refusals carry a code of their own: The message wording varies by flow (Invalid B2B services request., Invalid LRS request., Invalid verification request.). Do not parse message; branch on error.code.
An unknown key is a 400, not a silent drop. Every key is checked before any is written, so a misspelled invoice_number is refused rather than leaving the payment waiting for a field you believe you sent.

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

Path Parameters

payment_id
string
required

UID of the payment the details are for.

Body

application/json
fields
object

Answers keyed by checklist code, e.g. {"buyer_city": "Bengaluru", "invoice_number": "INV-2026-0041"}. Values are strings, numbers or booleans. Dates are YYYY-MM-DD; invoice_amount is a decimal string in rupees and declaration is a boolean. An unknown key is a 400 rather than a silent drop — a typo you never hear about would leave the payment waiting forever for a field you believe you sent. Omit a key rather than sending null or an empty string; a blank value is also a 400.

Example:
documents
object[]

Documents by reference, or waivers. Each entry names exactly one of ref and waiver_reason; sending both, neither, or the same code twice in one call is a 400.

persons
object[]

The people on an LRS remittance, sent beside fields and documents. Education (S0305, S1107): exactly one entry, the student; the payer is identified by remitter_pan in fields. Travel: every traveller, but only when your account collects traveller details. Sending persons again replaces the list. Not used on a B2B-services payment.

finalize
boolean
default:true

Whether to file a complete set for verification. Never forces an incomplete set through.

top_up
string[]

LRS only. The ids of the payments that top up this one, sent on the short payment's own call. Send the full list every time: an id left out is unlinked and [] removes every link. Once the details are on file it can be sent alone. Any refused id refuses the whole call. A B2B-services payment has no top-ups and ignores this key.

Example:

Response

Details received. The body says where the payment now stands and what is still owed.

success
boolean
Example:

true

message
string
Example:

"Verification details received"

data
object