GetCustomerOTP¶
Endpoint¶
GET /customer/auth/otp
Description¶
Generates a new TOTP setup secret and provisioning URI.
This method does not enable OTP. OTP is enabled only after SetCustomerOTP succeeds.
Authorization¶
Requires SESSION_CUSTOMER token.
Response¶
{
"otp_url": "otpauth://totp/ION%20Trader:client%40example.com?secret=JBSWY3DPEHPK3PXP&issuer=ION%20Trader&algorithm=SHA1&digits=6&period=30",
"secret": "JBSWY3DPEHPK3PXP",
"algorithm": "SHA1",
"digits": 6,
"period": 30
}