Internal
Seed an owner user into an existing organization (internal)
Upserts a user attached to organization_id. If a non-deleted user already exists for the org, identity columns are overwritten; otherwise a new owner user is created with a randomly-generated password.
post/v1/users/setup
Request
- Base URLhttps://identity-api.paymongo.com
- URLhttps://identity-api.paymongo.com/v1/users/setup
- AuthAPI key in header X-Internal-Api-Key
Request body
Example request
{
"accepted_terms": true,
"contact_number": "+639171234567",
"email": "merchant@example.com",
"enforce_unique_contact_number": true,
"first_name": "Juan",
"last_name": "dela Cruz",
"organization_id": "org_abc123"
}Response
OK
Example response
{
"data": {
"created": true,
"email": "merchant@example.com",
"organization_id": "org_abc123",
"user_id": "42"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.