Simulate Otp Entry
Simulate entering OTP into 3DS Challenge UI
post/v1/three_ds_decisioning/simulate/enter_otp
Endpoint for simulating entering OTP into 3DS Challenge UI. A call to /v1/three_ds_authentication/simulate that resulted in triggered SMS-OTP challenge must precede. Only a single attempt is supported; upon entering OTP, the challenge is either approved or declined.
Body Parameters
tokenstring
A unique token returned as part of a /v1/three_ds_authentication/simulate call that resulted in PENDING_CHALLENGE authentication result.
formatuuid
otpstring
The OTP entered by the cardholder
Request example Request
curl https://api.lithic.com/v1/three_ds_decisioning/simulate/enter_otp \
-H 'Content-Type: application/json' \
-H "Authorization: $LITHIC_API_KEY" \
-d '{
"token": "fabd829d-7f7b-4432-a8f2-07ea4889aaac",
"otp": "123456"
}'