Step 2: Request OTP Through Email
POST {{stripeUrl}}/admin/v1/MyAuthenticationFactorInitiator
This step requests the OTP be sent through email.
The client must include the following attributes:
- deviceId: received in the Step 1 response
- requestId: received in the Step 1 response
- userName: username of user
In the response, the otpCode is sent to the email address
Request Body
{"schemas"=>["urn:ietf:params:scim:schemas:oracle:idcs:AuthenticationFactorInitiator"], "deviceId"=>"bcb65790a29143ca960fa67fb530da63", "requestId"=>"f8ee0085-1091-4eb3-b1d4-657ea6e1f3b7o-o1541112590", "userName"=>"joe.bloggs@example.com", "authFactor"=>"EMAIL"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string | ||
Date | string | ||
x-content-sha256 | string |
RESPONSES
status: Created
{"deviceId":"bcb65790a29143ca960fa67fb530da63","requestId":"f8ee0085-1091-4eb3-b1d4-657ea6e1f3b7o-o1541112590","authFactor":"EMAIL","userName":"joe.bloggs@example.com","displayName":"joe.bloggs@example.com","schemas":["urn:ietf:params:scim:schemas:oracle:idcs:AuthenticationFactorInitiator"]}