v1

latestOpenAPI 3.1.02026-07-26165182724.7 KB
Business Enrollment

Complete TOTP enrollment (business)

Confirms the secret returned by /business/start/setup-two-factor by submitting the current 6-digit code from the authenticator app. Returns the one-time recovery codes — show them to the operator once.

post/business/resume/setup-two-factor

Request body

businessIdstring uuid required
secretstring required

Secret returned by /business/start/setup-two-factor.

codestring required

Example request

{
  "businessId": "8b1d5f2a-3c4e-4a6b-9f0d-7e2c1a4b5d6e"
}

Response

TOTP is now enrolled. Recovery codes returned once.

recoveryCodesstring[]

One-time recovery codes.