Create customer
lago_create_customerCreates a customer in Lago (additive). Lago API: POST /customers with body { "customer": { ... } }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Customer URL. | |
| name | No | Full name of the customer. | |
| No | Email of the customer. | ||
| phone | No | Phone number. | |
| country | No | Billing country code (ISO 3166 alpha-2). | |
| currency | No | Customer currency (ISO 4217). | |
| metadata | No | Structured metadata to attach to the customer (Lago expects an array of {key, value, display_in_invoice?} objects). | |
| timezone | No | Customer timezone, e.g. America/New_York. | |
| legal_name | No | Legal company name. | |
| external_id | Yes | The customer external unique identifier (required, provided by your application). | |
| legal_number | No | Legal company number. | |
| tax_identification_number | No | Tax identification number. |