# Create an organization

`POST /v1/orgs`

Opens an `individual` or `business` organization owned by the signed-in person. It starts in `kyc_required`; submit verification to activate it. Platforms create customers with `createPlatformCustomer` instead.

When to use it: Self-serve sign-up flows. Not for platforms adding customers.

## Request body

- `type` (enum, required): Platforms apply through createPlatform One of individual, business.
- `name` (string, required): 
- `platform_invite_token` (string): Opens the organization as a customer of the inviting platform
- `platform_slug` (string): Opens the organization through a platform's enrollment link

```json
{
  "type": "individual",
  "name": "Acme Robotics",
  "platform_invite_token": "platform invite token",
  "platform_slug": "platform slug"
}
```

Errors: individual_exists, invalid_type, name_required

```bash
curl -X POST "https://sandbox-api.payezy.io/v1/orgs" \
  -H "Authorization: Bearer $PAYEZY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "individual",
  "name": "Acme Robotics",
  "platform_invite_token": "platform invite token",
  "platform_slug": "platform slug"
}'
```
