Webhook events and payloads
Learn about when each webhook event occurs and what the payload contains.
> POST /payload HTTP/2
> X-Shopwaive-Delivery: 72d3162e-cc78-11e3-81ab-4c9367dc0958
> X-Shopwaive-Signature-256: sha256=d57c68ca6f92289e6987922ff26938930f6e66a2d161ef06abdf1859230aa23c
> Content-Type: application/json
> Content-Length: 6615
> X-Shopwaive-Event: available_balance
> X-Shopwaive-Hook-ID: 292430182
> X-Shopwaive-Hook-Installation-Target-ID: 79929171
> X-Shopwaive-Hook-Installation-Target-Type: organization
> {
> "action": "redeemed",
> "event": {
> "available_balance": {
> "pre": "53.40",
> "post": "28.40"
> },
> },
> "transaction": "25.00",
> "order_id": 230984933,
> "customer_email": "[email protected]",
> "organization" : {
> "id": 1296269,
> "url": "https://dianas-toys-and-such.myshopify.com",
> "platform": "shopify",
> "currency": "$",
> "contactEmail" "[email protected]"
> }
> }Availability for available_balance
available_balanceWebhook payload object for available_balance
available_balanceWebhook request body parameters
Last updated