Skip to main content

ABHA address login via IRIS - verify

Completes IRIS login with an ABHA address. Send the txnId and the IRIS PID. Returns users and tokens.token (send it as X-token to the profile, PHR card and QR code APIs).

POST/abha/api/v3/phr/web/login/abha/verify

Endpoint: POST /abha/api/v3/phr/web/login/abha/verify

Flow: ABHA Address Login - IRIS - step 2 of 5

  • Previous: ABHA address login via IRIS - send authentication request
  • Next: Get ABHA-address profile

Headers (plus Authorization: Bearer <gateway token>):

Header Required Description
REQUEST-ID yes Unique UUID for every request.
TIMESTAMP yes Current UTC timestamp in ISO-8601 format.

Request body for this use case:

Field Value / Type Required Description
scope ["ABHA-login", "Aadhaar-iris-verify"] yes Scope that selects this use case. Send exactly the values listed for this API.
authData object yes Authentication payload for this use case.
authData.authMethods ["iris"] yes Authentication method used in this step.
authData.iris object yes IRIS authentication block.
authData.iris.txnId string yes Transaction ID returned by the previous step of this flow.
authData.iris.irisAuthPid string yes Base64 PID block captured from a registered IRIS RD device.

Note: Biometric ABHA-address login uses scope ABHA-login, not ABHA-address-login (the same in Swagger and Postman).

Responses

200

Success: Verify via Biometric - Iris Authentication

messagestring
authResultstring
usersobject[]
users.abhaAddressstring
users.fullNamestring
users.profilePhotostring
users.abhaNumberstring
users.statusstring
users.kycStatusstring
tokensobject
tokens.tokenstring
tokens.expiresIninteger
tokens.refreshTokenstring
tokens.refreshExpiresIninteger
400

Bad Request (request validation failed): Biometric is locked; Biometric data did not match

Error codes for this module

401

Unauthorized (invalid / expired gateway token, X-token or benefit access): Missing Credentials (generic)

Everything returns 401

codestring
messagestring
descriptionstring
500

Internal Server Error.

Error codes for this module