# Customer updated

Webhook sent when a customer is updated.

Endpoint: POST CustomerUpdated
Version: 2.0.0
Security: signatureAuth

## Security:

  - `signatureAuth` (unknown)
    apiKey in header Signature

## Header parameters:

  - `solidgate-event-id` (string, required)
    Unique event identifier, equal to `event_id` in the body. Stays the same across redeliveries, use it to deduplicate events.

  - `solidgate-event-type` (string, required)
    Event type, equal to `event_type` in the body. Use it to route the event before parsing the body.

  - `solidgate-event-occurred-at` (string, required)
    Date and time when the event occurred, equal to `occurred_at` in the body. Use it to order events chronologically.

  - `solidgate-attempt` (integer, required)
    Delivery attempt for this event. `0` on the first delivery, greater than `0` when the event is redelivered, so you can tell a retry from a first delivery without a lookup.

## Request fields (application/json):

  - `event_id` (string, required)
    Unique event identifier. Stays the same across redeliveries, use it to deduplicate events.
    Example: c3d4e5f6-a7b8-9012-cdef-123456789012

  - `event_type` (string, required)
    Event type.
    Enum: "CUSTOMER_UPDATED"

  - `occurred_at` (string, required)
    Date and time when the event occurred.
    Example: 2026-04-03T16:21:00.000000Z

  - `data` (object, required)
    Event payload containing the affected customer record.

  - `data.customer` (object, required)
    Represents a customer profile.

  - `data.customer.id` (string, required)
    Unique customer identifier.
    Example: cust_01KMG2ABYPF6XS5DMJQ817C429

  - `data.customer.email` (string, required)
    Customer email.
    Example: customer@example.com

  - `data.customer.first_name` (string)
    Customer first name.
    Example: John

  - `data.customer.last_name` (string)
    Customer last name.
    Example: Doe

  - `data.customer.phone` (string)
    Customer phone number.
    Example: +1234567890

  - `data.customer.merchant_reference` (string)
    Merchant-defined reference for the customer.
    Example: 12345

  - `data.customer.address` (object)
    Customer address.

  - `data.customer.address.city` (string)
    City name.
    Example: Anytown

  - `data.customer.address.country` (string)
    Country according to the ISO-3166 alpha-3 country code.
    Example: USA

  - `data.customer.address.line1` (string)
    Address line 1.
    Example: 123 Main St

  - `data.customer.address.line2` (string)
    Address line 2.
    Example: Suite 456

  - `data.customer.address.state` (string)
    State or province.
    Example: CA

  - `data.customer.address.postal_code` (string)
    Postal or ZIP code.
    Example: 12345

  - `data.customer.tax` (object, required)
    Provides customer tax information.

  - `data.customer.tax.taxability` (string, required)
    Indicates if the customer is subject to tax.
The list of enum values may be extended without notice.
    Enum: "EXEMPT", "TAXABLE"

  - `data.customer.tax.registrations` (array)
    Tax registrations associated with the customer.
    Example: [{"scheme":"VAT","id":"DE123456789","country":"DEU","validation":{"status":"VALID","validated_at":"2024-01-15T10:30:00.000000Z","source":"VIES"}}]

  - `data.customer.tax.registrations.scheme` (string, required)
    Tax registration scheme.
The list of enum values may be extended without notice.
    Enum: "VAT"

  - `data.customer.tax.registrations.id` (string, required)
    Tax registration number for the specified scheme.
    Example: DE123456789

  - `data.customer.tax.registrations.country` (string, required)
    ISO 3166-1 alpha-3 country code.
    Example: DEU

  - `data.customer.tax.registrations.validation` (object, required)
    Validation result for tax registration.

  - `data.customer.tax.registrations.validation.status` (string, required)
    Status of the tax registration validation.
    Enum: "VALID", "INVALID", "PENDING", "FAILED"

  - `data.customer.tax.registrations.validation.validated_at` (string)
    Date and time when the validation completed. Absent while `status` is `PENDING` or `FAILED`.
    Example: 2024-01-15T10:30:00.000000Z

  - `data.customer.tax.registrations.validation.source` (string, required)
    Method or external system used for validation.
The list of enum values may be extended without notice.
    Enum: "VIES", "MANUAL"

  - `data.customer.status` (string, required)
    Customer status.
The list of enum values may be extended without notice.
    Enum: "ACTIVE", "INACTIVE"

  - `data.customer.configuration` (object)
    Customer-level configuration settings.

  - `data.customer.configuration.default_billing_currency` (string)
    ISO 4217 currency code used as default for billing.
    Example: USD

  - `data.customer.configuration.default_payment_instrument_id` (string)
    Unique identifier of the default payment instrument for this customer.
    Example: pi_01J1Z2X3Y4W5V6U7T8S9R0

  - `data.customer.configuration.preferred_locales` (array)
    Ordered list of preferred locales as BCP 47 tags.
    Example: ["en-US","de-DE"]

  - `data.customer.metadata` (object)
    Arbitrary key-value metadata set by merchant.
    Example: {"internal_ref":"cust-123","segment":"enterprise"}

  - `data.customer.balances` (array)
    Customer balances.
    Example: [{"currency":"USD","amount":1000}]

  - `data.customer.balances.currency` (string, required)
    ISO 4217 currency code.
    Example: USD

  - `data.customer.balances.amount` (integer, required)
    Available balance amount in minor units.
    Example: 1000

  - `data.customer.created_at` (string, required)
    Date and time when the customer was created.
    Example: 2024-01-01T10:00:00.000000Z

  - `data.customer.updated_at` (string, required)
    Date and time when the customer was updated.
    Example: 2024-01-02T15:00:00.000000Z

  - `data.customer.type` (string, required)
    Customer type.
    Enum: "INDIVIDUAL"

  - `data.customer.type` (string, required)
    Customer type.
    Enum: "BUSINESS"

  - `data.customer.business_details` (object)
    Business-specific details for a customer profile.

  - `data.customer.business_details.name` (string)
    Legal business name.
    Example: Acme Corporation

  - `data.customer.business_details.legal_address` (object)
    Registered legal address of the business.

  - `data.customer.business_details.legal_address.city` (string, required)
    City name.
    Example: Anytown

  - `data.customer.business_details.legal_address.country` (string, required)
    Country according to the ISO-3166 alpha-3 country code.
    Enum: "AUS", "BRA", "CAN", "CHN", "IND", "KOR", "MEX", "MYS", "NZL", "USA"

  - `data.customer.business_details.legal_address.line1` (string, required)
    Address line 1.
    Example: 123 Main St

  - `data.customer.business_details.legal_address.line2` (string)
    Address line 2.
    Example: Suite 456

  - `data.customer.business_details.legal_address.state` (string, required)
    State or province.
    Example: CA

  - `data.customer.business_details.legal_address.postal_code` (string, required)
    Postal or ZIP code.
    Example: 12345

  - `data.customer.business_details.legal_address.country` (string, required)
    Country according to the ISO-3166 alpha-3 country code.
    Example: DEU

## Response 200:

  - `200` (unknown)
    OK

