{
"lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"billing_entity_code": "main",
"external_id": "customer_123",
"account_type": "customer",
"name": "example",
"firstname": "example",
"lastname": "example",
"customer_type": "company",
"sequential_id": 100,
"slug": "example",
"country": "example",
"address_line1": "example",
"address_line2": "example",
"state": "example",
"zipcode": "example",
"email": "billing@acme.example",
"city": "example",
"url": "example",
"phone": "example",
"logo_url": "example",
"legal_name": "example",
"legal_number": "example",
"currency": "USD",
"tax_identification_number": "example",
"timezone": "example",
"applicable_timezone": "Europe/Paris",
"external_salesforce_id": "example",
"finalize_zero_amount_invoice": "inherit",
"skip_invoice_custom_sections": false,
"invoice_grace_period": 1,
"periodic_invoice_issuing_date_anchor": "current_period_end",
"periodic_invoice_issuing_date_adjustment": "keep_anchor",
"payment_provider": "example",
"payment_provider_code": "example",
"provider_customer_id": "cus_example",
"provider_payment_methods": [
"card"
],
"document_locale": "example",
"created_at": "2022-04-29T08:59:51.123456Z",
"updated_at": "2022-04-29T08:59:51.123456Z",
"deleted_at": null,
"shipping_address": {
"address_line1": "example",
"address_line2": "example",
"city": "example",
"zipcode": "example",
"state": "example",
"country": "FR"
},
"x402_agent_address": "0x0000000000000000000000000000000000000000",
"metadata": [
{
"lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"key": "example",
"value": "example",
"display_on_invoice": false,
"created_at": "2022-04-29T08:59:51.123456Z",
"updated_at": "2022-04-29T08:59:51.123456Z"
}
],
"taxes": [
{
"lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"name": "VAT",
"code": "standard_vat",
"rate": 20,
"description": "Standard VAT",
"created_at": "2022-04-29T08:59:51.123456Z",
"updated_at": "2022-04-29T09:30:00.123456Z",
"deleted_at": null
}
],
"integration_customers": [
{
"lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
"external_customer_id": "customer_123",
"type": "netsuite",
"integration_code": "anrok",
"code": "default",
"is_default": false,
"category": "payment"
}
]
}Customers
The customer object
Fields of a customer in the Lago API, including billing details, billing entity and payment provider settings.
API v2 is in beta. Endpoints return the
X-Lago-Endpoint-Status: beta header.Customer.