Validate OTP

post
Valideate OTP

https://stg-backend.seerbitapi.com/v2/validate/otp
This operation is used to validate transaction inititated with a card that uses OTP.
Request
Response
Request
Path Parameters
otp
required
string
This is the TOKEN sent to customer's phone or email
linkingReference
required
string
This is the internal gateway reference
message
optional
string
This is the service reponse message from seerbit
code
optional
string
This is the service repsonse code form seerbit
Response
200: OK
Response
{
"status":"SUCCESS",
"data":{
"code":"00",
"payments":{
"reference":"lAEl1569487495957",
"linkingReference":"F417367591569487528343" },
"message":"Approved"
}
}
Request
curl -X POST \
https://seerbitapi.com/api/v2/validate/otp \
-H 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJjbGllbnRJZCI6InRlc3QiLCJDbGllbnRTZWNyZXQiOiJ0ZXN0IiwiZXhwIjoxNTU4MDEwNzc3LCJpc3MiOiJDRyJ9.kuAhc4B3xSGlk4Gyf4AYi2Z1i7KL5phX_cqtRJj9J7zKKmk90GDBC840krDG2D1G9Ww_XJsonfxzUIaojw2W_Q' \
-H 'Content-Type: application/json' \
-d '{
"linkingReference":"F417367591569487528343",
"otp":"12345678"
}'