# Appstle Subscriptions webhooks

Appstle Subscriptions webhooks are HTTP POST requests that tell your server when a subscription contract on a Shopify store changes, or when a billing attempt succeeds, fails or is skipped.

Agent skill: `npx skills add hookdeck/webhook-skills --skill appstle-webhooks` ([details](https://hookdeck.com/webhooks/appstle/skill))

> Independent reference generated from hookdeck/webhook-registry (commit ff7f882, 20 Nov 2026). [Appstle Subscriptions's official docs](https://developers.appstle.com/subscription/webhooks#signature-verification).

[Overview](https://hookdeck.com/webhooks/appstle) · [Webhook events (11)](https://hookdeck.com/webhooks/appstle/events) · [MCP events](https://hookdeck.com/webhooks/appstle/mcp-events) · [Verify signatures](https://hookdeck.com/webhooks/appstle/verify) · [Production guide](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts) · [Agent skill](https://hookdeck.com/webhooks/appstle/skill)

## Key facts

| Fact | Value | Source |
|---|---|---|
| Signature header | `svix-signature` Format: v1,<base64>, space-separated when there are several | [Appstle Subscriptions docs](https://developers.appstle.com/subscription/webhooks#signature-verification) |
| Scheme | `HMAC-SHA256` | [Appstle Subscriptions docs](https://developers.appstle.com/subscription/webhooks#signature-verification) |
| Signed material | `{svix-id}.{svix-timestamp}.{raw body}` The two headers and the body as received, joined with periods. | [Appstle Subscriptions docs](https://developers.appstle.com/subscription/webhooks#signature-verification) |
| How events are identified | `type field in the body` | [Appstle Subscriptions docs](https://developers.appstle.com/subscription/webhooks#payload-structure) |
| Body format | `JSON` | [Appstle Subscriptions docs](https://developers.appstle.com/subscription/webhooks) |
| Send timestamp | `svix-timestamp` Reject deliveries older than 5 minutes. | [Appstle Subscriptions docs](https://developers.appstle.com/subscription/webhooks#signature-verification) |
| Other headers | `svix-id, svix-timestamp` | [Appstle Subscriptions docs](https://developers.appstle.com/subscription/webhooks#signature-verification) |
| Envelope | `type, data` | [Appstle Subscriptions docs](https://developers.appstle.com/subscription/webhooks#signature-verification) |
| Agent skill | `npx skills add hookdeck/webhook-skills --skill appstle-webhooks` | [Agent skill →](https://hookdeck.com/webhooks/appstle/skill) |

[Verify Appstle Subscriptions webhooks](https://hookdeck.com/webhooks/appstle/verify)

## How Appstle Subscriptions webhooks work

Webhooks push these changes to your server, so you don't have to poll the Appstle API. When an event you selected for an endpoint happens, Appstle sends an HTTP POST with a JSON body, and any `2xx` response acknowledges it.

Every body is `{type, data}`, and `type` names the event, such as `subscription.billing-failure`. Seven events carry a Shopify subscription contract in `data`, where `id` is a `gid://` string. Four carry a billing attempt record, where `id` is Appstle's own number for the attempt and `contractId` is the subscription as a bare number. Appstle documents no payload version.

## Setting up Appstle Subscriptions webhooks

- Webhooks are included in Appstle's Enterprise and Enterprise Plus plans. On another plan, ask `support@appstle.com`.
- In the Appstle dashboard, open Webhook Integration under More, click Enable Webhook, then Launch webhook portal. Add your endpoint URL there and select its events.
- To test, open the endpoint in the portal and send it an example event. Appstle suggests a tunnel such as ngrok for local work, and [Hookdeck Inspect](https://inspect.hookdeck.com/webhooks/appstle) shows a delivery without running a server.
- The webhook portal lists every delivery attempt and lets you retry a failed delivery by hand.

## Delivery behaviour

- **Timeout:** not published. Appstle says slow responses time out and trigger retries. [Guide](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts#timeouts)
- **Retries:** exponential backoff. Appstle doesn't publish the number of attempts or how long they run. [Guide](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts#retries)
- **After retries run out:** not published. retry a failed delivery by hand from the webhook portal. [Guide](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts#retries)
- **Duplicates:** possible. a retried delivery keeps its `svix-id`, so deduplicate on that. [Guide](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts#duplicates)

## Known failure modes

1. **Duplicate deliveries.** Appstle says webhooks may be delivered more than once. Record each `svix-id`, which stays the same when a delivery is retried, and skip any you've already handled. [Handle duplicates](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts#duplicates)
2. **One billing failure, several events.** `subscription.billing-failure` fires after every failed try, with the same `id` and a higher `attemptCount`. `retryingNeeded: true` means Appstle has scheduled another try, so don't treat each event as a new failure. [Handle duplicates](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts#duplicates)
3. **Wrong subscription ID on billing events.** A contract event's `data.id` is a `gid://` string, while a billing event's `data.id` is the attempt and `data.contractId` is the subscription as a bare number. Route on `type`, then read the field for that shape. [Choosing events](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts#choosing-events)
4. **Failure reason won't parse.** `billingAttemptResponseMessage` is usually a JSON string with `error_code`, but sometimes plain text. Parse it in a `try`/`catch`, compare `error_code` in upper case, and treat anything else as a generic failure. [Other Appstle limits](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts#other-limits)

From [Hookdeck's Appstle Subscriptions guide](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts).

## Appstle Subscriptions webhook best practices

- **[Verify against the raw body](https://hookdeck.com/webhooks/appstle/verify).** Parsing and serialising the JSON again can change its bytes, so verify first and parse afterwards.
- **[Return a 2xx quickly](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts#timeouts).** Appstle says slow responses time out and trigger retries. Do the work in a background job, and return a `2xx` even when your own logic fails.
- **[Deduplicate on `svix-id`](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts#duplicates).** Deliveries can repeat, and a retried delivery keeps its `svix-id`. Appstle tells you to use it for idempotency.
- **[Route on `type` before reading IDs](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts#choosing-events).** Contract events and billing events identify the subscription in different fields and formats.
- **[Look up payment challenges yourself](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts#choosing-events).** 3D Secure and other payment challenges send no event. Find attempts in `SECURITY_CHALLENGE` through the Admin API.
- **[Check the portal after an outage](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts#retries).** Appstle doesn't publish how long it retries, so look for failed deliveries in the webhook portal and retry them by hand.

## Common Appstle Subscriptions webhook events

### Subscription contracts

- [subscription.created](https://hookdeck.com/webhooks/appstle/events#subscription.created): Subscription contract is created
- [subscription.updated](https://hookdeck.com/webhooks/appstle/events#subscription.updated): Contract details change
- [subscription.paused](https://hookdeck.com/webhooks/appstle/events#subscription.paused): Contract is paused, including by a store's failed-payment action
- [subscription.cancelled](https://hookdeck.com/webhooks/appstle/events#subscription.cancelled): Contract is cancelled, including by a store's failed-payment action

### Billing attempts

- [subscription.billing-success](https://hookdeck.com/webhooks/appstle/events#subscription.billing-success): Billing attempt's payment goes through
- [subscription.billing-failure](https://hookdeck.com/webhooks/appstle/events#subscription.billing-failure): A payment try fails, sent once per failed try
- [subscription.billing-skipped](https://hookdeck.com/webhooks/appstle/events#subscription.billing-skipped): Scheduled order is skipped, often for stock or failed payment
- [subscription.upcoming-order-notification](https://hookdeck.com/webhooks/appstle/events#subscription.upcoming-order-notification): Queued order comes inside its notice period

## Events by resource

| Resource | Events | Payloads |
|---|---|---|
| [subscription](https://hookdeck.com/webhooks/appstle/events#resource-subscription) | 11 | 5 |

[All 11 events](https://hookdeck.com/webhooks/appstle/events)

## In this hub

- [Webhook events](https://hookdeck.com/webhooks/appstle/events): Every covered Appstle Subscriptions event, with payloads where the registry has them.
- [MCP events](https://hookdeck.com/webhooks/appstle/mcp-events): How an agent subscribes to Appstle Subscriptions events as MCP events.
- [Verify signatures](https://hookdeck.com/webhooks/appstle/verify): Signature facts, verification code and common failures.
- [Production guide](https://hookdeck.com/webhooks/appstle/guide-duplicates-ordering-retries-timeouts): Production problems, such as timeouts and retries, and how to handle them.
- [Agent skill](https://hookdeck.com/webhooks/appstle/skill): Install the webhook skill in your coding agent. `npx skills add hookdeck/webhook-skills --skill appstle-webhooks`
---

Not affiliated with Appstle Subscriptions. Facts are compiled from public sources and linked inline. [View as JSON](https://hookdeck.com/webhooks/appstle.json) · [Report a correction](https://hookdeck.com/contact)
