WakaPay Docs

API Reference

auth

← All tags

Purpose

Auth endpoints and helpers handle authentication (e.g. JWT) and are required to access protected resources.

When to use

  • Use JWT bearer tokens for server-to-server calls where possible.
  • Rotate secrets and keep tokens short-lived; treat them as sensitive credentials.

Endpoints (19)

Click an endpoint to jump to its details.

post/auth/device-biometric-login
Unknown

Login with device token (no WebAuthn). Use after local biometric unlock on mobile.

post/auth/device-biometric-token
Unknown

Issue long-lived device token for biometric login (mobile without WebAuthn)

post/auth/forgot-password
Unknown

Request a password reset email. Works for existing users and for NEVER_LOGGED_IN (first-time set password).

post/auth/google
Unknown

Login with Google credential

post/auth/login
Unknown

No summary provided in OpenAPI spec.

get/auth/login-activity
Unknown

Get recent login activity and anomaly summary

delete/auth/pin
Auth

Disable PIN

post/auth/pin/change
Auth

Change PIN (requires current PIN)

post/auth/pin/request-reset
Auth

Request PIN reset (sends 6-digit OTP to email)

post/auth/pin/reset
Auth

Reset PIN using OTP from email

post/auth/pin/set
Auth

Set 4-digit PIN for P2P and withdrawal step-up

post/auth/register
Unknown

No summary provided in OpenAPI spec.

post/auth/reset-password
Unknown

Set new password using the token from the email link. For NEVER_LOGGED_IN accounts this activates the account.

post/auth/step-up/passkey-options
Auth

Get WebAuthn options for step-up passkey verification

get/auth/step-up/required
Auth

Check if step-up is required and which methods are available

post/auth/step-up/verify-passkey
Auth

Complete step-up with passkey; returns step-up token

post/auth/step-up/verify-pin
Auth

Complete step-up with PIN (valid only for P2P and withdrawal)

post/auth/step-up/verify-totp
Auth

Complete step-up with TOTP code; returns step-up token

post/auth/suspend-activities
Unknown

Suspend withdrawals and transfers (one-time link from alert)

post/auth/device-biometric-login

Login with device token (no WebAuthn). Use after local biometric unlock on mobile.

Unknown

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

operationId: AuthController_deviceBiometricLogintag: authpermalink
post/auth/device-biometric-token

Issue long-lived device token for biometric login (mobile without WebAuthn)

Unknown

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

operationId: AuthController_issueDeviceBiometricTokentag: authpermalink
post/auth/forgot-password

Request a password reset email. Works for existing users and for NEVER_LOGGED_IN (first-time set password).

Unknown

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

operationId: AuthController_forgotPasswordtag: authpermalink
post/auth/google

Login with Google credential

Unknown

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

operationId: AuthController_loginWithGoogletag: authpermalink
post/auth/login

Endpoint

Unknown

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

operationId: AuthController_logintag: authpermalink
get/auth/login-activity

Get recent login activity and anomaly summary

Unknown

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

operationId: AuthController_getLoginActivitytag: authpermalink
delete/auth/pin

Disable PIN

Auth

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

operationId: PinController_disablePintag: authpermalink
post/auth/pin/change

Change PIN (requires current PIN)

Auth

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

operationId: PinController_changePintag: authpermalink
post/auth/pin/request-reset

Request PIN reset (sends 6-digit OTP to email)

Auth

Rate and count limited. Min interval between resets and max resets per day apply.

operationId: PinController_requestResettag: authpermalink
post/auth/pin/reset

Reset PIN using OTP from email

Auth

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

operationId: PinController_resetPintag: authpermalink
post/auth/pin/set

Set 4-digit PIN for P2P and withdrawal step-up

Auth

PIN can be used in addition to 2FA or passkey only for P2P transfer and withdrawal. User can have both PIN and 2FA/passkey; client sends either.

operationId: PinController_setPintag: authpermalink
post/auth/register

Endpoint

Unknown

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

operationId: AuthController_registertag: authpermalink
post/auth/reset-password

Set new password using the token from the email link. For NEVER_LOGGED_IN accounts this activates the account.

Unknown

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

operationId: AuthController_resetPasswordtag: authpermalink
post/auth/step-up/passkey-options

Get WebAuthn options for step-up passkey verification

Auth

Same as passkey login: returns challenge and options for navigator.credentials.get() (no device authorization required). Send the resulting assertion to POST /auth/step-up/verify-passkey.

operationId: StepUpController_passkeyOptionstag: authpermalink
get/auth/step-up/required

Check if step-up is required and which methods are available

Auth

methods: passkey/2FA for all critical ops. methodsP2PWithdrawal: includes PIN (only valid for P2P and withdrawal).

operationId: StepUpController_requiredtag: authpermalink
post/auth/step-up/verify-passkey

Complete step-up with passkey; returns step-up token

Auth

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

operationId: StepUpController_verifyPasskeytag: authpermalink
post/auth/step-up/verify-pin

Complete step-up with PIN (valid only for P2P and withdrawal)

Auth

Returns step-up token. This token is accepted only by withdrawal and P2P transfer endpoints.

operationId: StepUpController_verifyPintag: authpermalink
post/auth/step-up/verify-totp

Complete step-up with TOTP code; returns step-up token

Auth

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

operationId: StepUpController_verifyTotptag: authpermalink
post/auth/suspend-activities

Suspend withdrawals and transfers (one-time link from alert)

Unknown

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

operationId: AuthController_suspendActivitiestag: authpermalink