Skip to main content
POST
Confirm SCA factor enrollment

Authorizations

Authorization
string
header
required

API token authentication using format <api token id>:<api client secret>

Query Parameters

customerId
string
required

The unique identifier of the customer confirming a factor enrollment.

Body

application/json

The proof that finalizes enrollment, keyed by type: the TOTP shared secret + code, or the passkey origin + credential.

type
enum<string>
required

Discriminator selecting the TOTP confirm variant.

Available options:
TOTP
secret
string
required

The shared secret returned as secret by the TOTP enrollment start, threaded back to bind the confirmation to that enrollment.

code
string
required

The current time-based one-time code from the customer's authenticator app. In sandbox, the code is always 123456.

Example:

"123456"

Response

Factor enrolled; the factor-specific result is returned.

The enrollment result, keyed by type.

type
enum<string>
required

Discriminator identifying this as the TOTP enrollment result.

Available options:
TOTP
recoveryCodes
string[]
required

The one-time recovery codes for this TOTP factor.

Example: