externalUserId (if provided) must be unique per partner. Reuse will cause a conflict.type to INDIVIDUAL for personal accounts or BUSINESS for corporate accounts. Business users use KYB verification instead of KYC.userId — you’ll need it for all subsequent API calls for this user.externalUserId to map Capa users to your internal user model.type to BUSINESS for corporate flows.| HTTP Status | Code | Message |
|---|---|---|
| 401 | UNAUTHORIZED | ”API Key is missing” |
| 401 | UNAUTHORIZED | ”Invalid API Key format” |
| 401 | UNAUTHORIZED | ”Invalid API Key” |
| 403 | INVALID_PARTNER_FLOW | ”The partner has an invalid flow.” |
| HTTP Status | Code | Message |
|---|---|---|
| 400 | INVALID_USER_INPUT_ERROR | ”Invalid User Input” (validation errors for type, email, externalUserId, alias) |
| 400 | BAD_REQUEST | ”Provided email is not valid” |
| 500 | INTERNAL_SERVER_ERROR | ”User creation failed” |
Api key for the affiliated partner that is performing the request
The type of user.
INDIVIDUAL, BUSINESS "INDIVIDUAL or BUSINESS"
The email of the user.
"money@capa.fi"
The external user id of the user.
"1441d100-8cc3-40ca-9e55-6183d6f11f18"
An optional alias or display name for the user.
"John Doe"