v1
latestOpenAPI 3.0.02026-07-14327580.4 KBGateway
Confirmation request sending token, otp or other authentication details from HIP/HIU for confirmation
This API is called by HIP/HIUs to confirm authentication of users. The transactionId returned by the previous callback API /users/auth/on-init must be sent. If Authentication is successful the callback API will send an "access token" for subsequent purpose specific API calls. Note only credential.authCode or credential.demographic should be sent
- demographic details are only required for demographic auth as of now.
- demographic details are required only in MEDIATED cases and if the auth.mode so demands. e.g. if auth.mode is DEMOGRAPHICS. Usually for demographic authentication, the name, gender and DOB must be exactly as specified in User Account.
- demographic.identifier is optional, however maybe required if authentication so mandates.
- credential.authCode is required for other MEDIATED authentication like MOBILE_OTP, AADHAAR_OTP.
post/v0.5/users/auth/confirm
Headers
Authorizationstring required
Access token which was issued after successful login with gateway auth server, which will be sent by gateway to authenticate itself with API bridge.
X-CM-IDstring required
Suffix of the consent manager to which the request was intended.
Request body
Example request
{
"credential": {
"demographic": {
"dateOfBirth": "1972-02-29",
"identifier": {
"value": "+919800083232"
},
"name": "janki das"
}
},
"requestId": "5f7a535d-a3fd-416b-b069-c97d021fbacd"
}Response
Request accepted