Challenges
Create an OTP challenge for a step-up action
Issues a fresh email OTP via mfa-api bound to the caller's (user, action, device, ip) tuple.
post/v1/challenges
Request
- Base URLhttps://identity-api.paymongo.com
- URLhttps://identity-api.paymongo.com/v1/challenges
- AuthHTTP bearer
Request body
Example request
{
"data": {
"attributes": {
"action": "update_user",
"factor": "email"
}
}
}Response
Created
Example response
{
"data": {
"attributes": {
"expiration_at": 1735689600,
"factor": "email"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.