Skip to main content

ABHA Redirection Integration

Redirection Request details

Request URL parameters

Refer following table for required query parameters in the redirection request.

ParameterTypeDescription
tsrequiredUTC timestamp formatted as ddmmyyyyhh24misss. For example, 06-Dec-2022, 10:40am, and 987 milliseconds in IST should be formatted as 061220220510987 in UTC.
datarequiredBase64 encoded encrypted string representation of JSON formatted request details (see below for content to be encrypted).
ivrequiredBase64 encoded random IV of 16 bytes used during encryption. Finarkein ABHA will use this to decrypt the data URL parameter and serve the request.
idrequiredUnique identifier shared separately along with the encryption key. Encrypted as Base64(XOR) along with the ts URL parameter.

Redirection request encrypted data fields

ParameterTypeDescription
xidrequiredA unique identifier for every redirection request. Format: UUID
applicationNorequiredInternal system/policy/offer number linked to the request.
onCompleteRedirectUrlrequiredUpon completion of the consent journey, Finarkein ABHA frontend will redirect the user to this URL along with response parameters. Format: URI
altRedirectUrlnullableOptional redirect URL in case the customer cancels the journey; by default, onCompleteRedirectUrl is used. Format: URI

Redirection Response details

In the response from Finarkein ABHA to your web service, below URL parameters would need to be accepted on your side.

Response URL parameters

ParameterTypeDescription
tsrequiredUTC timestamp formatted as ddmmyyyyhh24misss. For example, 06-Dec-2022, 10:40am, and 987 milliseconds in IST will be formatted as 061220220510987 in UTC.
datarequiredBase64 encoded encrypted string representation of JSON formatted response details (see below for encrypted fields).
ivrequiredBase64 encoded random IV of 16 bytes used during encryption by Finarkein ABHA. Use this to decrypt the data URL parameter and process the response.

Response encrypted response data fields

ParameterTypeDescription
xidrequiredThe unique identifier passed in the request for the redirection. Format: UUID
applicationNorequiredInternal system/policy/offer number sent in the redirection request.
abhaNonullableABHA Number created/verified by the user. This field is present only if status = 'SUCCESS'.
statusrequiredStatus of the redirection to Finarkein ABHA journey page. Possible values are: SUCCESS, FAILED, CANCELLED. Format: Enum