Provision the caller's user profile from their KYC identity
POST/me/profile/ensure
Idempotent. When the caller already has a profile, returns its id. When the caller has a KYC identity but no profile, provisions one (address + profile, linked via profile_id) and returns its id. 412 when the caller has no identity to provision from.
Responses
- 200
- 401
- 404
- 412
- 500
Profile id
Unauthorized
User not found
Identity verification required
Internal server error