customer.credits.expired
Triggered when a customer's credits have expired and are removed from their balance.
customer.credits.expired
customer.credits.expiredPayload Structure
{
"payload": {
"merchantId": "inveterate",
"customerId": "7733592490115",
"newBalance": 0,
"previousBalance": 5,
"reason": "EXPIRED",
"expiredAt": "2025-05-30T11:29:07.875Z",
"email": "[email protected]",
"firstName": "1",
"lastName": "1",
"amount": 5
},
"metadata": {
"id": "e62649ec-851a-6f7a-1f78-fe9e66f8a81b",
"retryCount": 0,
"shopDomain": "inveterate.myshopify.com",
"topic": "customer.credits.expired",
"version": "2025-06",
"triggerredAt": "2025-05-30T11:29:08.049Z"
}
}Payload Fields
payload
merchantId(string): Merchant identifiercustomerId(string): Customer identifieremail(string): Customer's email addressfirstName(string): Customer's first namelastName(string): Customer's last nameamount(number): Amount of credits that expirednewBalance(number): Customer's new credit balance after expirationpreviousBalance(number): Customer's credit balance before expirationreason(string): Reason for the credit change (always "EXPIRED" for this event)expiredAt(string): ISO timestamp when the credits expired
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?
