Order Completed Webhook
POST /api/shopify/webhooks/order-completed
Purpose
Webhooks serve three key functions:- Capture the selected payment method
- Record the transaction outcome
- Feed data into the learning loop
Example Payload
Headers
Shopify-style webhook authentication using HMAC signature.Shopify Webhooks Used
The Shopify integration uses multiple webhook events to reconstruct the full transaction lifecycle and improve decision accuracy:orders/paidorder_transactions/createtender_transactions/createcheckouts/create
Webhooks are required for learning and optimization. No changes to payment processing are required.