Confirm SCA factor enrollment
Finalize the factor enrollment started by POST /sca/factors. The request
body is discriminated by type: for TOTP, submit the shared secret from
the start call plus the first code; for PASSKEY, submit the WebAuthn
credential the device produced plus the origin it was produced against.
The threaded secret/credential binds the confirmation to its enrollment, so
no separate id is needed.
A TOTP confirmation returns one-time recovery codes (shown once); a passkey confirmation returns the enrolled factor.
This endpoint is only meaningful for customers in a region where SCA is required (e.g. EU). For customers outside SCA-regulated regions, this returns 409.
In sandbox, the TOTP code is always 123456.
Authorizations
API token authentication using format <api token id>:<api client secret>
Query Parameters
The unique identifier of the customer confirming a factor enrollment.
Body
- Option 1
- Option 2
The proof that finalizes enrollment, keyed by type: the TOTP shared secret + code, or the passkey origin + credential.
Discriminator selecting the TOTP confirm variant.
TOTP The shared secret returned as secret by the TOTP enrollment start, threaded back to bind the confirmation to that enrollment.
The current time-based one-time code from the customer's authenticator app. In sandbox, the code is always 123456.
"123456"
Response
Factor enrolled; the factor-specific result is returned.