Meritt Get started

Through the API

Affiliate program for Mollie

With Mollie, your server reports the sale to Meritt through the API, in three calls, as soon as Mollie confirms the payment. Attribution and the ledger are the same as for Stripe.

What Meritt reads

Worth knowing

Setting it up

  1. Create an API key under Payment system; the calls are documented on the same screen.
  2. At checkout, read the click cookie on your domain and store it in metadata.
  3. When Mollie sends you a webhook whose fetched payment is paid, call POST /v1/conversions with the amount, the currency, the click and the customer id.
  4. On a webhook whose fetched refund is refunded, call POST /v1/conversions/reverse with the payment reference.

How long it takes

One key, and two calls added to your webhook handling.

Questions

Why not report the sale at checkout?

At that moment the payment is not confirmed, and when it is, in the webhook, the cookie is gone. The Mollie passthrough field carries the click between the two.

Is a sale reported twice counted twice?

No. With the same reference, the second call answers “already received” and nothing is added.

What about Mollie subscriptions?

According to Mollie, the subscription's metadata is copied onto every payment it generates: the click travels from one term to the next.

How large can metadata be?

About 1 kB according to Mollie: the click id fits easily.

Mollie documentation checked on October 19, 2026: docs.mollie.com › webhooks, docs.mollie.com › create payment, docs.mollie.com › create subscription

See also

Affiliate program for Mollie

Free until your first commission. No card asked for.