{
"event": "OTP_FAILED",
"session_id": "fb5aa994-ed1c-4c3e-b29a-b2a53222e584",
"task_id": 25605,
"external_user_id": "3dcbb19a-b2f1-4a7b-8792-d76027b627b3",
"merchant": {
"id": 11,
"name": "Uber"
},
"data": {
"card_id": "123456789",
"metadata": {
"reference_token": "abc123",
"trace_id": "def456"
}
},
"timestamp": 1710864923198
}Webhook Events
OTP_FAILED
Fired when the OTP code used to login to a merchant is incorrect and the user needs to re-enter it (if a CARD_FAILED webhook is not received).
WEBHOOK
otp_failed
{
"event": "OTP_FAILED",
"session_id": "fb5aa994-ed1c-4c3e-b29a-b2a53222e584",
"task_id": 25605,
"external_user_id": "3dcbb19a-b2f1-4a7b-8792-d76027b627b3",
"merchant": {
"id": 11,
"name": "Uber"
},
"data": {
"card_id": "123456789",
"metadata": {
"reference_token": "abc123",
"trace_id": "def456"
}
},
"timestamp": 1710864923198
}Fired when the OTP code used to login to a merchant is incorrect and the user needs to re-enter it (if a
CARD_FAILED webhook is not received).Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password. Use your client_id as the username and your secret as the password value.
Body
application/json
Name of the webhook event.
Example:
"OTP_FAILED"
Unique identifier for the session.
Example:
"fb5aa994-ed1c-4c3e-b29a-b2a53222e584"
Unique identifier for the task.
Example:
25605
Unique identifier for the user.
Example:
"3dcbb19a-b2f1-4a7b-8792-d76027b627b3"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Unix timestamp of the webhook event in UTC.
Example:
1710864923198
Was this page helpful?
⌘I