Registers a user in Cognito and creates their profile. If org_name is provided without org_id, a new organization is created automatically. If org_id is provided, the user is added as an org member.
Documentation Index
Fetch the complete documentation index at: https://docs.pcxpay.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer JWT for user-facing flows (Bearer eyJraWQ...), or the literal string NONE when authenticating via API key.
"Bearer eyJraWQ..."
API key for server-to-server flows, or the literal string NONE when authenticating via JWT.
"pcx_abc123_xxxx"
"1990-01-15"
admin, super-admin, retail, freelancer, org-staff internal-admin, org-admin, merchant, user, staff Existing org to register the user into.
If provided (and org_id is absent), a new organization is created with this name before user registration.
passport, drivers_license, national_id, other passport, drivers_license, national_id, other Role for the user within the org (used when adding org member).