Sub-Account KYC (Test Mode)

Mock verify PAN

Mock PAN verification — never hits the provider. Magic pan inputs:

InputOutcome
TESTSUCCESS0001verified
TESTFAIL0001failed
TESTERROR0001HTTP 500
TESTPENDING001pending (finalize as verified)
TESTPENDING_FAILpending (finalize as failed)

Persists a real kyc_verifications row and recomputes kyc_status.

post/api/v1/sub-accounts/test/{sub_auth_id}/kyc/verify-pan

Request

Path parameters

sub_auth_idstring required
Example:SA_XXXXXX

The sub-account's Auth ID.

Request body

panstring required

Example request

{
  "pan": "TESTSUCCESS0001"
}

Response

Mock verification result

verification_type'pan' | 'gst' | 'cin' | 'aadhaar' required
status'verified' | 'failed' | 'pending' required
kyc_calls_blockedboolean

Recomputed sub-account call-blocking state after this verification.

mockboolean

Present and true on responses from the test-mode endpoints.

Changes

No recorded changes to this operation across all 1 revision of this API.