Webhook Events

customer.updated

Fired when a customer is updated. Doc-only for parsing.

post/webhook-events/customer.updated

Response

Webhook payload

event_type'subscription.created' | 'subscription.draft.created' | 'subscription.activated' | 'subscription.updated' | 'subscription.paused' | 'subscription.cancelled' | 'subscription.resumed' | 'subscription.plan_changed' | 'subscription.phase.created' | 'subscription.phase.updated' | 'subscription.phase.deleted' | 'feature.created' | 'feature.updated' | 'feature.deleted' | 'feature.wallet_balance.alert' | 'entitlement.created' | 'entitlement.updated' | 'entitlement.deleted' | 'wallet.created' | 'wallet.updated' | 'wallet.terminated' | 'wallet.transaction.created' | 'wallet.transaction.updated' | 'payment.created' | 'payment.updated' | 'payment.failed' | 'payment.success' | 'payment.pending' | 'customer.created' | 'customer.updated' | 'customer.deleted' | 'invoice.update.finalized' | 'invoice.update.payment' | 'invoice.update.voided' | 'invoice.update' | 'invoice.payment.overdue' | 'wallet.credit_balance.dropped' | 'wallet.credit_balance.recovered' | 'wallet.ongoing_balance.dropped' | 'wallet.ongoing_balance.recovered' | 'wallet.ongoing_balance.updated' | 'subscription.spend.threshold_reached' | 'subscription.spend.threshold_recovered' | 'subscription.line_item_spend.threshold_reached' | 'subscription.line_item_spend.threshold_recovered' | 'subscription.group_spend.threshold_reached' | 'subscription.group_spend.threshold_recovered' | 'entitlement.grant.exhausted' | 'subscription.renewal.due' | 'invoice.communication.triggered' | 'credit_note.created' | 'credit_note.updated' | 'checkout.session.initiated' | 'checkout.session.completed' | 'checkout.session.failed' | 'checkout.session.expired' | 'event.rejected'

Changes

Changed in 12 of the 108 revisions of this API.2718

    • added the optional property customer/environment_id to the response with the 200 status

      response-optional-property-added

    • removed the optional property customer/contact from the response with the 200 status

      response-optional-property-removed

    • removed the optional property customer/created_at from the response with the 200 status

      response-optional-property-removed

    • removed the optional property customer/created_by from the response with the 200 status

      response-optional-property-removed

    • removed the optional property customer/environment_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property customer/integrations from the response with the 200 status

      response-optional-property-removed

    • removed the optional property customer/status from the response with the 200 status

      response-optional-property-removed

    • removed the optional property customer/tenant_id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property customer/updated_at from the response with the 200 status

      response-optional-property-removed

    • removed the optional property customer/updated_by from the response with the 200 status

      response-optional-property-removed

    • added the new subscription.plan_changed enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new entitlement.grant.exhausted enum value to the event_type response property for the response status 200

      response-property-enum-value-added

  • f8ecf435d25d101See the full diff
    • added the new event.rejected enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    • added the new invoice_line_item enum value to the customer/integrations/items/entity_type response property for the response status 200

      response-property-enum-value-added

    • added the new subscription.group_spend.threshold_reached enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    • added the new subscription.group_spend.threshold_recovered enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    • added the new subscription.line_item_spend.threshold_reached enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    • added the new subscription.line_item_spend.threshold_recovered enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    • added the new subscription.spend.threshold_reached enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    • added the new subscription.spend.threshold_recovered enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    • added the new wallet.ongoing_balance.updated enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    • added the new wallet.transaction.updated enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    • added the optional property customer/contact to the response with the 200 status

      response-optional-property-added

    • the response's body type/format changed from / to object/ for status 200

      response-body-type-changed

    • added the optional property customer to the response with the 200 status

      response-optional-property-added

    • added the optional property event_type to the response with the 200 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the response's body type/format changed from object/ to / for status 200

      response-body-type-changed

    • removed the optional property customer from the response with the 200 status

      response-optional-property-removed

    • removed the optional property event_type from the response with the 200 status

      response-optional-property-removed

    This revision also has 121 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 7857ddc6e44d11See the full diff
    • added the new checkout.session.expired enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    • added the optional property customer/timezone to the response with the 200 status

      response-optional-property-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new checkout.session.completed enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    • added the new checkout.session.failed enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    • added the new checkout.session.initiated enum value to the event_type response property for the response status 200

      response-property-enum-value-added

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the optional property customer/integrations/items/metadata to the response with the 200 status

      response-optional-property-added

    • removed the optional property customer/parent_customer from the response with the 200 status

      response-optional-property-removed

    • removed the optional property customer/parent_customer_id from the response with the 200 status

      response-optional-property-removed

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog