billing

POST /v1/webhooks/nowpayments/renewals/{autoRenewId}

Ingest a signed NOWPayments IPN for a crypto auto-renew payment.

All billing endpoints

All developer docs →

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/nowpayments/renewals/{autoRenewId}

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 by design, exactly like /v1/webhooks/nowpayments: the x-nowpayments-sig HMAC-SHA512 over the raw body is the authentication, verified before the path is used. Each crypto auto-renew choice has its own NOWPayments plan whose IPN URL names it — a recurring payment's IPN carries no order or subscription id, so the URL is the attribution. A finished payment credits the fiat amount the plan asked for, once per payment_id, and settles an open renewal invoice from that credit; anything else (pending, partially paid, another currency, an unknown id) is acknowledged with 200 and credits nothing.

Parameters

NameTypeRequiredWhat it is
autoRenewId (path)UuidYesThe crypto auto-renew choice whose NOWPayments plan this IPN was sent from.

Response

NameTypeRequiredWhat it is
statusstring<handled, ignored, duplicate>Yeshandled — acted on. ignored — a valid event of a type Zinn® does not consume. duplicate — already processed; Stripe may stop redelivering.
modestring<test>NoPresent only when a payment provider's TEST-mode event reached the live endpoint: it was verified with the test secret and deliberately not acted on (status is ignored).

Errors this endpoint can return

400 · 503