Internal
Lookup the account owner for an organization (internal)
Returns the user holding the account_owner role for the supplied organization_id, with role-set and any unresolved email_confirmation. Returns 404 when the org has no owner.
post/v1/users/lookup_account_owner
Request
- Base URLhttps://identity-api.paymongo.com
- URLhttps://identity-api.paymongo.com/v1/users/lookup_account_owner
- AuthAPI key in header X-Internal-Api-Key
Request body
Example request
{
"organization_id": "org_abc123"
}Response
OK
Example response
{
"data": {
"attributes": {
"accelerator_program_code": "sme",
"affiliate_partner": "partner-name",
"confirmed": true,
"contact_number": "+639171234567",
"email": "owner@example.com",
"email_confirmation": "new-owner@example.com",
"email_confirmation_updated_at": 1735689600,
"first_name": "Juan",
"last_name": "dela Cruz",
"organization_id": "org_abc123",
"roles": [
"account_owner"
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.