# Organizations

Everything in Payezy belongs to an organization. Its type decides how it is verified; its status decides what it may do.


## Three types

| Type | Who creates it | Verified by | Used for |
| --- | --- | --- | --- |
| `individual` | The person, a platform invitation or enrollment link, or a platform directly | KYC: Payezy review, then the banking partner | A personal account. A person can own one. |
| `business` | Same as individual | KYB: Payezy review, then the banking partner | A company account. A person can belong to many. |
| `platform` | Invite-only: Payezy staff send an apply link | Payezy review | A fintech that enrolls and oversees its own customers |

A single person can hold several of these at once. For example, Ada owns Acme Robotics (business), runs Northstar Payroll (platform), and is a member of a business that banks through Northstar. Each membership carries its own role.

## Statuses


1. `kyc_required`: the organization exists. Reads work, money movement does not.
2. `kyc_pending`: the application was submitted and is in review.
3. `active`: verified. Accounts are open and money can move.


From `active` an organization can become `restricted` (outgoing payments paused by Payezy or its platform; incoming money still arrives), `suspended` (by Payezy) or `closed`. A review that sends the application back returns it to `kyc_required`; a rejection makes it `restricted`.

| Status | Read balances and history | Receive money | Send payments and withdrawals |
| --- | --- | --- | --- |
| `kyc_required`, `kyc_pending` | Yes | No accounts yet | No |
| `active` | Yes | Yes | Yes |
| `restricted` | Yes | Yes | No |
| `suspended`, `closed` | Yes | No | No |

Calls that move money return `org_not_verified`, `org_restricted`, `org_suspended` or `org_closed` when the status does not allow it.

## Ids are never probeable

An organization id you are not a member of returns `not_found`, exactly like one that does not exist. Always take ids from `GET /v1/me` (Get the caller and their organizations), a list call or your own records.
