Challenges

Verify a step-up challenge with an OTP code, TOTP code, or a passkey token

Verifies a step-up action for the caller. Supply code for the email/SMS OTP path; add factor: "totp" to verify a code from an enrolled authenticator app instead; or supply token (an Ideem authenticate() token) to satisfy the same gate with an enrolled passkey. Passkey and TOTP are accepted only for the wallet/step-up actions. code and token are mutually exclusive.

post/v1/challenges/verify

Request

  • Base URL
    https://identity-api.paymongo.com
  • URL
    https://identity-api.paymongo.com/v1/challenges/verify
  • Auth
    HTTP bearer

Request body

Example request

{
  "data": {
    "attributes": {
      "action": "update_user",
      "client": "mobile",
      "code": "123456",
      "factor": "totp"
    }
  }
}

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.