Set Up Webhooks
Goal: Your own system receives withdrawal events in real time — e.g. for ERP integration, logging or analytics.
Plan: Enterprise plan with active subscription (for Shopify Plus stores; some partner/whitelisted stores are exempt).
Time: approx. 5 minutes.
Step 1: Open Webhook Settings
- In the app, go to Settings.
- Click Edit on the Webhooks card.
If you do not have access, the page shows a notice that webhooks are only available on the Enterprise plan and offers an upgrade path.
Step 2: Configure the Endpoint
- Enable the “Enable webhook” switch.
- Enter your Webhook Endpoint URL (must be HTTPS, e.g.
https://api.example.com/webhooks/widerruf). Local/private addresses are rejected. - Optional Authentication: add a header name + value (e.g.
X-API-Key/ your secret). The header is sent with every event. The value is write-only — it is masked after saving and can only be overwritten, not read back.
Screenshot spec: The Webhooks page in the app. Section “Configuration”: the “Enable webhook” switch is On, the endpoint URL field is filled (
https://api.example.com/webhooks/widerruf), the Authentication fields show Header NameX-API-Keyand a masked value (dots). Below: the “Shopify Flow” section with the “Enable Flow triggers” switch, and the “Events” section with three checkboxes.
Step 3: Select Events
| Event | Triggered when |
|---|---|
Withdrawal Created (WITHDRAWAL_CREATED) |
A customer submits a new withdrawal request |
Withdrawal Accepted (WITHDRAWAL_ACCEPTED) |
A withdrawal is set to Open status |
Withdrawal Rejected (WITHDRAWAL_REJECTED) |
A withdrawal is set to Declined status |
Select at least one event type.
Step 4: Save
Click Save. The app provisions the AWS EventBridge resources (connection, API destination, rule). Success message: “Your webhook configuration has been saved. AWS EventBridge resources are being synced.”
Event Payload
Every event is a JSON POST to your endpoint:
{
"event": "WITHDRAWAL_CREATED",
"shop": "example.myshopify.com",
"timestamp": "2026-08-03T14:22:31.000Z",
"data": {
"id": "a1b2c3d4-...",
"status": "REQUESTED",
"email": "customer@example.com",
"name": "Jane Doe",
"orderRef": "#1001",
"orderId": "gid://shopify/Order/123456",
"createdAt": "2026-08-03T14:22:31.000Z",
"locale": "de",
"country": "DE",
"items": {
"type": "order",
"currency": "EUR",
"items": [
{ "lineItemId": "gid://shopify/LineItem/9", "quantity": 1, "title": "Example product" }
],
"notes": ""
}
}
}
statusisREQUESTED(created),OPEN(accepted) orDECLINED(rejected).orderRef/orderIdare empty when the withdrawal is not linked to an order.locale/countrycarry the customer’s form language and storefront market (e.g.fr/FR),nullwhen unknown.- Delivery uses AWS EventBridge API destinations: 10 retries over up to 24 hours, rate-limited (10 requests/sec).
- Authentication: the configured API key header. There is no payload signature.
The payload examples are also shown in the app under Payload Documentation (collapsible).
Shopify Flow
On the same page you can enable Shopify Flow triggers (“Enable Flow triggers”). This publishes Flow triggers for the three withdrawal events (Withdrawal Created/Accepted/Rejected) so you can build Shopify Flow workflows (e.g. notify a Slack channel on every withdrawal). Create the workflows in the Shopify Flow editor.
The Flow trigger payload carries the same fields; locale and country are empty strings there when unknown (Flow text fields have no null value).
Delete the Webhook
Under Danger Zone on the page: “Delete Webhook” removes the configuration and all AWS EventBridge resources. Requires confirmation (“Delete Permanently”).
FAQ
How fast are events delivered?
Events are published immediately when the status changes; delivery to your endpoint is near real time (with retries up to 24 h if your endpoint is temporarily unavailable).
Do I need to host anything special?
No — just an HTTPS endpoint that accepts POST requests. Return a 2xx to acknowledge. Events are retried (10 attempts) if the endpoint fails.
Are events sent when the status is changed in the Shopify Admin (returns/refunds)?
The webhook events fire on the app’s own status transitions (submission, manual approve/deny in the app). Status changes that arrive from Shopify returns/refunds update the status in the app; if you need events for those too, combine this with native Shopify webhooks for returns/refunds.
Is there a test button?
No test-send button exists; the example payloads on the page show the exact format.