FlowEvents
Customer events
What data you get for customer.created, .updated, .deleted, and customer.tax_id.created/.updated/.deleted.
Fires when a customer, or their tax ID, is created, updated, or deleted.
Each event arrives as an event object.
The examples on this page show its data.object.
Prop
Type
{
"id": "cus_01J9ABCDEFGHJKMNPQRSTV",
"object": "customer",
"name": "Somchai Jaidee",
"email": "somchai@example.com",
"phone": "+66812345678",
"address": {
"city": "Bangkok",
"country": "TH",
"line1": "123 Sukhumvit Rd",
"postal_code": "10110"
},
"capabilities": { "charge": true, "payout": false },
"tax_ids": [],
"metadata": {}
}customer.updated uses the same shape — including when it fires because a customer's
default payment method changed.
customer.deleted sends the customer as it was just before it was deleted. The three
customer.tax_id.* events send the tax ID object, not the customer; fetch the customer
by id to see all of its current tax_ids.