ON_TRIAL_CANCELED
Triggered when a trial is canceled
Payload
bodyobjectRequired
created_atstringRequired
The date and time when the Trial was created
customerCustomerDTORequired
idstringRequired
The Flake ID of the Customer
minecraftMinecraftCustomerDTORequired
→ MinecraftCustomerDTOprofileGenericProfileDTORequired
→ GenericProfileDTOsteamSteamCustomerDTORequired
→ SteamCustomerDTOnamestringOptional
customer_idstringRequired
The Flake ID of the Customer associated with the Trial
idstringRequired
The Flake ID of the Trial
period_scalestringRequired
The period scale of the Trial
period_valueintegerRequired
The period value of the Trial
product_idstringRequired
The Flake ID of the Product associated with the Trial
product_namestringRequired
The name of the Product associated with the Trial
product_version_idstringRequired
The Flake ID of the Product Version associated with the Trial
statusstringRequired
The current status of the Trial. Possible options: created, active, canceled, completed
store_idstringRequired
The Flake ID of the Store associated with the Trial
canceled_atstringOptional
Indicates when the Trial was canceled
checkout_idstringOptional
The Flake ID of the Checkout associated with the Trial
checkout_line_idstringOptional
The Flake ID of the Checkout Line associated with the Trial
ends_atstringOptional
The end date of the Trial
product_image_urlstringOptional
The image URL of the Product associated with the Trial
starts_atstringOptional
The start date of the Trial
event_idstringRequired
The ID of the Webhook Event
event_typeenumRequired
The type of webhook event
Possible enum values
ON_ORDER_COMPLETEDON_REFUNDON_CHARGEBACKON_CHARGEBACK_CLOSEDON_DELIVERY_ITEM_ADDEDON_DELIVERY_ITEM_ACTIVATEDON_DELIVERY_ITEM_USEDON_DELIVERY_ITEM_REVOKEDON_DELIVERY_ITEM_EXPIREDON_DELIVERY_ITEM_RENEWEDON_SUBSCRIPTION_ACTIVATEDON_SUBSCRIPTION_RENEWEDON_SUBSCRIPTION_CANCELEDON_DISCORD_ACCOUNT_LINKED_TO_CHECKOUTON_CONNECTED_USER_REGISTEREDON_CONNECTED_USER_BECAME_PAYABLEON_CONNECTED_USER_BECAME_UNPAYABLEON_CONNECTED_USER_PAYOUT_CREATEDON_CONNECTED_USER_PAYOUT_COMPLETEDON_CONNECTED_USER_TRANSACTION_INSERTEDON_CONNECTED_USER_TRUST_STATUS_CHANGEDON_TRIAL_ACTIVATEDON_TRIAL_COMPLETEDON_TRIAL_CANCELEDON_PURCHASE_FOLLOW_UP_ATTEMPT_EMAIL_SENTON_PURCHASE_FOLLOW_UP_ATTEMPT_SUCCEEDEDON_ABANDONED_CHECKOUT_RECOVERY_ATTEMPT_EMAIL_SENTON_ABANDONED_CHECKOUT_RECOVERY_ATTEMPT_SUCCEEDEDON_PAYMENT_COMPLETEDON_PAYMENT_FAILED
Example payload
{
"event_type": "ON_TRIAL_CANCELED",
"event_id": "411486491630370816",
"body": {
"id": "411486491630370816",
"store_id": "411486491630370816",
"customer_id": "411486491630370816",
"customer": {
"id": "411486491630370816",
"steam": {
"id": "76561197960287930",
"name": "John",
"avatar_url": "string"
},
"minecraft": {
"id": "string",
"name": "Notch",
"avatar_url": "string"
},
"profile": {
"id": "string",
"platform": "string",
"name": "John",
"avatar_url": "string"
},
"name": "John"
},
"product_id": "411486491630370816",
"product_version_id": "411486491630370816",
"product_name": "Example Product",
"period_value": 1,
"period_scale": "month",
"status": "created",
"created_at": "2024-06-10T08:30:00Z",
"checkout_id": "411486491630370816",
"checkout_line_id": "411486491630370816",
"product_image_url": "https://example.com/image.jpg",
"starts_at": "2024-06-10T00:00:00Z",
"ends_at": "2024-06-17T23:59:59Z",
"canceled_at": "2024-06-15T10:15:00Z"
}
}