Synswi
  1. MFA Login
Synswi
  • Guides
    • Getting Started With the API
  • API Reference
    • Accounts
      • Onboarding forms
        • Create a Onboarding Form
      • Get profile
      • Create new profile
      • Register webhook
      • Get Accounts
    • Account Setting
      • Get account setting
      • Update account setting
    • Devices
      • Get Devices
    • Dispute
      • Get disputes
    • Payment instruments
      • Create a payment instrument
      • Get payment instruments
      • Get a payment instrument by id
      • Create a Payment Instrument
    • Transactions
      • Get a transaction by id
      • Get transactions
      • Create a transaction
      • Update a transaction
      • Refund a transaction
    • Fees
      • Get current fee profile
    • Settlements
      • get settlements
      • get settlement entries
    • Identity
      • MFA
        • MFA Setup
          • Initiate MFA Setup
          • Verify MFA Setup
        • MFA Login
          • Switch MFA Login Method
            POST
          • Verify MFA Login
            POST
        • MFA Disable
          • Initiate MFA Disable
          • Verify MFA Disable
        • MFA Resend
          • Resend MFA Email Code
      • Register an user
        POST
      • Login
        POST
      • Validate Token
        POST
      • Create an api key
        POST
      • List api keys
        GET
      • Get Users
        GET
    • Programs
      • Accounts
    • Permission
      • Verify user permissions
      • Get Account Users
      • List Accounts
    • Events
      • Get Events
  • Schemas
    • Additional Purchase Data
    • MFAMethod
    • MFASetupRequest
    • MFAVerifyRequest
    • MFASwitchMethodRequest
    • MFADisableRequest
    • MFAResendRequest
    • MFASetupEmailResponse
    • MFASetupAuthenticatorResponse
    • MFAVerifySetupResponse
    • MFASwitchResponse
    • MFALoginVerifyResponse
    • MFADisableInitResponse
    • MFAVerifyDisableResponse
    • MFAResendResponse
    • ErrorResponse
    • ValidationErrorResponse
    • InvalidPasswordErrorResponse
    • UserNotFoundErrorResponse
    • MFAAlreadyEnabledErrorResponse
    • MFANotEnabledErrorResponse
    • MFAMethodNotEnabledErrorResponse
    • MFATokenInvalidErrorResponse
    • MFATokenExpiredErrorResponse
    • MFAWrongPurposeErrorResponse
    • InvalidMFACodeErrorResponse
    • TooManyMFAAttemptsErrorResponse
    • TooManyMFAEmailsErrorResponse
    • AuthenticatorNotConfiguredErrorResponse
    • InvalidMFAMethodErrorResponse
    • ResendOnlyForEmailErrorResponse
    • MaxResendLimitErrorResponse
    • ResendCooldownErrorResponse
  1. MFA Login

Switch MFA Login Method

POST
https://api-dev.synswi.com/identity/mfa/login/switch
Switch to a different MFA method during the login flow.
If switching to email, a new verification code is sent.

Request

Body Params application/jsonRequired

Example
{
    "mfaToken": "{{mfaToken}}",
    "method": "email"
}

Responses

🟢200
application/json
Method switched
Body

Example
{
    "message": "Switched to email. Verification code sent."
}
🟠400
🟠404
🟠429
Previous
Verify MFA Setup
Next
Verify MFA Login
Built with