Setup 2FA
Authentication
Setup 2FA
Generate a TOTP secret and QR code URI for setting up two-factor authentication
POST
Setup 2FA
Documentation Index
Fetch the complete documentation index at: https://docs-openpay.nipuntheekshana.com/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint requires a valid Bearer token in the
Authorization header.otpauth:// URI that can be rendered as a QR code for authenticator apps like Google Authenticator or Authy.
After scanning the QR code, the merchant must call Verify 2FA with a valid code to complete the setup.
Example Response (200)
Error Responses
409 Already Enabled