WakaPay Docs

API Reference

two-factor

← All tags

Purpose

This group contains endpoints tagged together in the OpenAPI spec. Use the summaries below to understand what each endpoint does.

When to use

  • Prefer calling APIs from your backend to avoid exposing secrets.
  • Handle errors consistently and log request IDs for support.
post/two-factor/disable

Disable 2FA (requires verification code from email)

Auth

No detailed description provided for this operation in the OpenAPI spec.

operationId: TwoFactorController_disabletag: two-factorpermalink
post/two-factor/enable

Enable 2FA after verifying with TOTP code from authenticator app

Auth

No detailed description provided for this operation in the OpenAPI spec.

operationId: TwoFactorController_enabletag: two-factorpermalink
post/two-factor/send-disable-code

Send 6-digit verification code to email for 2FA disable (expires in 15 min)

Auth

No detailed description provided for this operation in the OpenAPI spec.

operationId: TwoFactorController_sendDisableCodetag: two-factorpermalink
post/two-factor/send-setup-code

Send 6-digit verification code to email for 2FA setup (expires in 15 min)

Auth

No detailed description provided for this operation in the OpenAPI spec.

operationId: TwoFactorController_sendSetupCodetag: two-factorpermalink
post/two-factor/setup

Start 2FA setup (requires verification code from email, returns secret and QR)

Auth

No detailed description provided for this operation in the OpenAPI spec.

operationId: TwoFactorController_setuptag: two-factorpermalink