customer_billing.attempt.failed
Triggered when a billing attempt fails but there may be more retry attempts remaining.
customer_billing.attempt.failed
customer_billing.attempt.failed
Payload Structure
{
"payload": {
"customerId": "7733540520067",
"merchantId": "inveterate",
"createdAt": "2025-05-30T10:40:38.660Z",
"updatedAt": "2025-05-30T10:40:38.660Z",
"customer": {
"id": "7733540520067",
"email": "[email protected]",
"phoneNumber": null
},
"detail": {
"amount": 100,
"currency": "USD",
"errorMessage": "Payment method was revoked",
"billingDate": "2025-06-30T07:00:00.000Z",
"attemptedAt": "2025-06-30T07:00:00.000Z",
"lastAttemptedAt": "2025-06-30T07:00:00.000Z",
"billingAttempts": 3,
"billingTierId": "3a636361"
}
},
"metadata": {
"id": "f8e4a11b-d12f-18f4-98e5-49bb16c7bc4e",
"retryCount": 0,
"shopDomain": "inveterate.myshopify.com",
"topic": "customer_billing.attempt.failed",
"version": "2025-06",
"triggerredAt": "2025-05-30T10:40:38.682Z"
}
}
Payload Fields
payload
createdAt
(string): ISO timestamp when the event was createdupdatedAt
(string): ISO timestamp when the event was last updatedmerchantId
(string): Merchant identifiercustomerId
(string): Customer identifiercustomer
(object): Customer informationid
(string): Customer identifieremail
(string): Customer's email addressphoneNumber
(string|null): Customer's phone number
detail
(object): Billing attempt detailsamount
(number): Amount that failed to be chargedcurrency
(string): Currency code (e.g., "USD")errorMessage
(string): Description of the billing failurebillingDate
(string): ISO timestamp of billing dateattemptedAt
(string): ISO timestamp of billing attempted datelastAttemptAt
(string): ISO timestamp of last billing attempted datebillingAttempts
(number): Number of billing attempts made so farbillingTierId
(string): ID of the billing tier being charged
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?