kyc_verifications row and recomputes the sub-account’s KYC status, so you exercise the same state machine your production flow will hit.
Mock endpoints live under the
/sub-accounts/test/... path prefix and authenticate the same way as the real endpoints - your parent main account’s X-Auth-ID and X-Auth-Token headers.Magic inputs
For PAN and GST, the document value you send selects the outcome:GST uses the same matrix, but the
gstin must be a 15-character GSTIN-shaped value. TESTSUCCESS0001 is already 15 characters - use it as-is (do not append a suffix). Pad shorter magic inputs to 15 characters.Endpoints
All paths are prefixed withhttps://api.vobiz.ai/api/v1/sub-accounts/test/{sub_auth_id}.
Example: verified PAN
Driving the async (pending) path
Some verifications complete asynchronously in production (e.g. provider returns later via webhook). To exercise that path in test mode without webhooks:1
Submit a pending verification
Send a
TESTPENDING001 (or TESTPENDING_FAIL) value. The verification is recorded as pending.2
Finalize it
Promote the most recent pending mock verification of that type to a terminal outcome.
verification_type ∈ pan | aadhaar | gst | cin; outcome ∈ verified | failed.3
Confirm
Poll KYC status and confirm the verification flipped and
kyc_calls_blocked updated as expected.