# Invite a customer

`POST /v1/platforms/{orgId}/invitations`

Emails a prospective customer a link to open an account under the platform.

When to use it: The customer should enter and verify their own details. Customer types follow your platform profile.

Requires: organization platform (active); permission platform:customers_add

## Request body

- `email` (string (email), required): 
- `customer_type` (enum):  One of individual, business, any.
- `customer_name` (string): 
- `external_ref` (string): 
- `delivery` (enum): How an invitation reaches the invitee. `screen` sends no email and returns the link to the sender instead; it is only accepted in test environments (staging, local) and refused in production, which always emails. One of email, screen.

```json
{
  "email": "grace@globex.example",
  "customer_type": "business",
  "customer_name": "Globex Supplies",
  "external_ref": "globex-002",
  "delivery": "screen"
}
```

Errors: customer_type_not_offered, invalid_email, platform_in_review

```bash
curl -X POST "https://sandbox-api.payezy.io/v1/platforms/$ORG_ID/invitations" \
  -H "Authorization: Bearer $PAYEZY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "grace@globex.example",
  "customer_type": "business",
  "customer_name": "Globex Supplies",
  "external_ref": "globex-002",
  "delivery": "screen"
}'
```
