customer.payment_methods.updated
Triggered when a customer's payment method is updated.
customer.payment_methods.updated
customer.payment_methods.updatedPayload Structure
{
"payload": {
"customerId": "23076025210636",
"merchantId": "inveterate",
"createdAt": "2025-06-16T01:13:06.342Z",
"updatedAt": "2025-06-16T01:13:06.342Z",
"customer": {
"id": "23076025210636",
"email": "[email protected]"
},
"detail": {
"paymentMethodId": "gid://shopify/CustomerPaymentMethod/47d624851460af123479714ff98ff616",
"paymentMethodType": "CustomerCreditCard"
}
},
"metadata": {
"id": "213c98aa-f4bd-90b4-aebe-9b1501fdd0c3",
"retryCount": 0,
"shopDomain": "inveterate.myshopify.com",
"topic": "customer.payment_methods.updated",
"version": "2025-06",
"triggerredAt": "2025-06-16T01:13:06.358Z"
}
}Payload Fields
payload
customerId(string): Customer identifiermerchantId(string): Merchant identifiercreatedAt(string): ISO timestamp when the event was createdupdatedAt(string): ISO timestamp when the event was last updatedcustomer(object): Customer informationid(string): Customer identifieremail(string): Customer's email address
detail(object): Payment method detailspaymentMethodId(string): Unique identifier for the payment methodpaymentMethodType(string): Type of payment method (e.g., "CustomerCreditCard")
metadata
id(string): Unique event identifierretryCount(number): Number of retry attempts for this eventshopDomain(string): Shopify domain of the merchanttopic(string): Event topic nameversion(string): API versiontriggerredAt(string): ISO timestamp when the event was triggered
Last updated
Was this helpful?
