Mollie Webhook
POST
/billing/webhook
const url = 'https://api.mengi.cloud/billing/webhook';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.mengi.cloud/billing/webhookHandle Mollie webhooks for payment and subscription updates. Mollie sends POST with form data containing ‘id’ of the payment/subscription.
Returns 200 on success, 500 on failure to allow Mollie to retry. Handlers must be idempotent to safely handle retries.
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
example