Creates and Send a One-Time Passcode (OTP) via Email

POST {{baseUrl}}/email-otps

Create and Send a One-Time Passcode (OTP) via Email to the address provided.

Request Body

{"countryCode"=>"BR", "emailAddress"=>"john.dunne@domain.com", "locale"=>"en-GB", "userConsent"=>"ACCEPT"}

HEADERS

KeyDatatypeRequiredDescription
X-Encrypted-PayloadbooleanWhether the request payload is encrypted with the Encyption Key generated from the Developer Zone Portal.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"otpId":"568def8e-d17b-11ea-87d0-0242ac12343","transactionId":"689def8e-d17b-89ea-87d0-0242ac12343"}