createCustomer
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
externalUserId | string | Yes | Your user’s unique ID |
externalOrganizationId | string | No | Organization ID for B2B |
email | string | No | Customer email |
name | string | No | Customer name |
metadata | Record<string, any> | No | Custom key-value pairs |