Create customer
Creates a new customer. Handles individual customers, organizations and subsidiaries (filiais) via the type field — subsidiaries require parentCustomerId pointing to an organization. Optionally accepts a paymentAccount payload to create the associated legal entity and payment account in the same transaction.
Authorizations
API Key Authentication.
Body
Schema representing a customer.
An optional external identifier of the customer from the external system, used throughout the system to identify the customer.
^[a-zA-Z0-9_-]+$"705faf65-9c8b-4053-8c0b-2021281ce83f"
The name of the customer.
"Acme Inc."
Parent customer ID when customer is a subsidiary.
Custom fields that can be associated with the entity. The fields must be previously created in the system before they can be used.
{
"customField1": "value1",
"customField2": ["value2", "value3"]
}Customer type in organizations hierarchy.
individual, organization, subsidiary "individual"
Optional payment account to create together with the customer. When provided, a legal entity is created and linked to the customer in the same transaction.
Response
Schema representing a customer.
The unique identifier of the customer in our system.
An optional external identifier of the customer from the external system, used throughout the system to identify the customer.
^[a-zA-Z0-9_-]+$"705faf65-9c8b-4053-8c0b-2021281ce83f"
The name of the customer.
"Acme Inc."
Customer type in organizations hierarchy.
individual, organization, subsidiary "individual"
The prefix of the customer's invoices. This is generated by the system and cannot be updated.
"ACMEI"
Parent customer ID when customer is a subsidiary.
Archive timestamp for customers that were archived.
Custom fields that can be associated with the entity. The fields must be previously created in the system before they can be used.
{
"customField1": "value1",
"customField2": ["value2", "value3"]
}