ads
POST /v1/webhooks/ads-checkout/{source_id}
A checkout provider's signed delivery (Stripe, Paddle, Freemius).
Authentication
This endpoint is public. It takes no credential and no organisation — it is what our own marketing site and AI answer engines read.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X POST https://api.zinndigital.com/v1/webhooks/ads-checkout/{source_id}Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Unauthenticated: the provider's signature over the raw body is the authentication (Stripe Stripe-Signature, Paddle Paddle-Signature, Freemius X-Signature), verified with the source's secret from Vault. Sales and trials become outcomes (idempotent per the provider's id, which is also the upload's transaction id); refunds mark the sale refunded; events of the other mode (test vs live) and types not acted on answer 200. New outcomes start the server-side push to the ad network within about two minutes. 404 unknown or switched-off source, 400 missing or bad signature, 413 body over 1 MiB, 503 the secret could not be read (retry).
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
source_id (path) | string | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
action | string<received, ignored, otherMode> | Yes | — |
created | integer | Yes | — |
updated | integer | Yes | — |
refunded | integer | Yes | — |
ignored_other_mode | integer | Yes | — |
push_started | boolean | Yes | — |
Errors this endpoint can return
400 · 404 · 413 · 503