Skip to main content

Verify OTP

This is a service used to verify or authenticate customers using One Time Password (OTP) to their mobile number via SMS. Customers need to input the unique random number generated by Finnet for the authentication process.

Technical Specification

Body Request

NoNameTypeMandatoryMin LengthMax LengthDescription
1 originalPartnerReferenceNoStringM164Transaction identifier number from partner
2 actionStringM110Purpose of the OTP verification, filled with otpLinkage
3 otpStringM18OTP from SMS sent to customer phone number.

Sample Request

{
"originalPartnerReferenceNo": "123456789876543431",
"action": "otpCreation",
"otp": "696969"
}

Body Response

NoNameTypeMandatoryMin LengthMax LengthDescription
1 responseCodeEnumM17BI SNAP Response Code.
2 responseMessageStringM1150BI SNAP Response Message.
3 originalPartnerReferenceNoStringO164Transaction identifier number from partner
4 linkageTokenStringO1204Access Token expiry time in ISO8601 format
5 phoneNoStringO116Customer's phone number to be created
6 qParamsURLStringO1100Redirect URL for binding actions
7 qParamsObjectO11Query parameters for the qParamsURL
8 additionalInfoObjectO12Additional Info

Sample Response

{
"responseCode": "2000400",
"responseMessage": "Request has been processed successfully",
"partnerReferenceNo": "78912343452347001",
"linkageToken": {},
"phoneNo": "+6281977817919",
"qParamsUrl": "https://webview.finnet.co.id/partner/creation/pin-registration",
"qParams": {
"action": "otpLinkage"
},
"additionalInfo": {
"clientId": "9719394d-af91-4f9c-9d16-6b6233a45889",
"redirectToDeepLink": "https://snapstag.finnet.co.id/health"
}
}