Turnkey

Store the borrower's WebAuthn passkey attestation pending provisioning

post/v3/turnkey/enrollment

Request

  • Base URL: https://api.creditcoop.xyz
  • URL: https://api.creditcoop.xyz/v3/turnkey/enrollment
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://clerk.creditcoop.xyz/oauth/authorize, token URL https://clerk.creditcoop.xyz/oauth/token)

Request body

authenticatorobject required

WebAuthn passkey attestation captured on the borrower device

organizationIdstring

Required only for multi-org users; inferred otherwise

subjectRefstring

Topology v2 only: must equal the caller's own Clerk id if supplied (bound, not a default) — omit to use it automatically

subjectKind'borrower_member'

'borrower_member' is the only accepted value for new enrollments; v1 'borrower' provisioning is retired and refused by the service

Response

Default Response

organizationIdstring
statusstring
credentialFingerprintstring

Fingerprint of the just-registered credential (matches the value shown in GET /v3/turnkey/enrollments)

Changes

No recorded changes to this operation across all 1 revision of this API.