Start SCA factor enrollment
Begin enrolling an SCA factor for the customer. Enrollment covers the
explicit, opt-in factors a customer chooses to add — the request body’s
type selects TOTP or PASSKEY. Returns the factor-specific material
needed to finish via POST /sca/factors/confirm.
SMS_OTP is implicit and is not enrolled through this endpoint. Every
customer in an SCA-regulated region has a verified phone number from
customer creation (via the Contact Verification flows —
POST /customers/{customerId}/verify-phone and .../verify-phone/confirm),
so SMS is always available as a factor with no extra setup and appears
among the customer’s enrolled factors in GET /sca/factors.
A customer may have up to two passkeys. Starting a passkey enrollment
with two already enrolled returns 409 (PASSKEY_ALREADY_ENROLLED). Delete
one via DELETE /sca/factors/{credentialId} first.
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.
Authorizations
Query Parameters
Body
- TOTP Factor Enroll Request
- Passkey Factor Enroll Request
Which SCA factor to begin enrolling, selected by type. SMS_OTP is not enrollable (it uses the customer's verified phone), so only TOTP and PASSKEY are valid here.
Response
Enrollment started; the factor-specific completion material is returned.
- Option 1
- Option 2
The factor-specific material needed to complete enrollment, keyed by type: a TOTP shared secret + provisioning URI, or the WebAuthn registration options for a passkey.