First-party app
Mollie

Mollie

Accept payments, manage refunds, customers, mandates and subscriptions on Mollie, the European payment gateway.

stable Commerce & PaymentsFinance & Accounting

About

Mollie ships in the w6w first-party pack. It declares 41 actions, 2 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.mollie
Version
0.1.0
Author
w6w
Licence
MIT
Categories
Commerce & Payments · Finance & Accounting

Overview

Mollie is a European payment gateway: accept payments over 30+ methods (iDEAL, cards, Bancontact, SEPA Direct Debit, PayPal, Klarna, and more) via Payments, hosted Payment Links, and recurring subscriptions billed against a saved Mandate, then track, refund and reconcile them.

This app covers that core payment-gateway surface — Payments, Refunds, Chargebacks, Methods, Payment Links, Customers, Mandates and Subscriptions — the path a workflow needs to accept a payment and later reconcile, refund, or bill a recurring charge against it. Monetary amounts are always {currency, value} objects with value an exact decimal STRING ("10.00"), never an integer of cents.

Mollie’s Orders API (and its companion Shipments API) is deprecated by Mollie itself as of this writing — the vendor’s own docs mark every orders-api operation deprecated: true and steer integrations at the Payments API’s lines field instead — so this app does not implement it.

The wider Mollie Connect surface (OAuth-based platform/marketplace access on behalf of other Mollie merchants — Organizations, Clients, Client Links, Balance Transfers, Onboarding, Capabilities, Permissions) and Business operations (Balances, Settlements, Invoices, Payouts, Sales Invoices, Business Accounts, Terminals, Wallets, Delayed Routing, Unmatched Credit Transfers, Sessions/Checkout Sessions) are a different activation and a different account relationship, and are left out rather than half-covered.

Build with Mollie

Three routes to the same 41 actions. The Workflow tab is generated from Mollie's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

List All Chargebacks

chargeback-list

Retrieve a cursor-paginated list of chargebacks across the whole account (or profile).

Create Customer

customer-create

Create a customer, for repeat/recurring payments and payment-method mandates.

Delete Customer

customer-delete

Permanently delete a customer, and all mandates and subscriptions belonging to it. Cannot be undone.

Get Customer

customer-get

Retrieve a single customer by ID.

List Customers

customer-list

Retrieve a cursor-paginated list of customers.

Create Customer Payment

customer-payment-create

Create a payment already linked to this customer.

List Customer Payments

customer-payment-list

Retrieve a cursor-paginated list of payments made by one customer.

Update Customer

customer-update

Update a customer's name, email, locale or metadata.

Create Mandate

mandate-create

Register a SEPA Direct Debit or PayPal mandate directly, without a first payment. Required fields differ by method — SEPA needs consumerAccount (IBAN); PayPal needs consumerEmail plus a billing-agreement or vault ID.

Get Mandate

mandate-get

Retrieve a single mandate for a customer.

List Mandates

mandate-list

Retrieve a cursor-paginated list of mandates for one customer.

Revoke Mandate

mandate-revoke

Revoke a mandate. Any active subscription using it will stop being charged. Cannot be undone.

Get Payment Method

method-get

Retrieve details (min/max amount, image, issuers) for one payment method.

List Enabled Payment Methods

method-list

List payment methods currently enabled for this profile.

List All Payment Methods

method-list-all

List every payment method the profile could activate, enabled or not.

Cancel Payment

payment-cancel

Cancel a payment while it is still cancelable (open, pending or authorized, depending on the method).

Get Payment Chargeback

payment-chargeback-get

Retrieve a single chargeback for a payment.

List Payment Chargebacks

payment-chargeback-list

Retrieve a cursor-paginated list of chargebacks for one payment.

Create Payment

payment-create

Create a payment. Returns a `_links.checkout.href` the customer completes it at.

Get Payment

payment-get

Retrieve a single payment by ID.

Create Payment Link

payment-link-create

Create a reusable, shareable checkout link. Omit amount to let the customer enter one.

Delete Payment Link

payment-link-delete

Permanently delete a payment link. This cannot be undone.

Get Payment Link

payment-link-get

Retrieve a single payment link by ID.

List Payment Links

payment-link-list

Retrieve a cursor-paginated list of payment links.

Update Payment Link

payment-link-update

Update a payment link's description, archived state, or redirect URL.

List Payments

payment-list

Retrieve a cursor-paginated list of payments. Maximum 250 per page.

Cancel Refund

payment-refund-cancel

Cancel a refund that has not been processed yet. Only some methods support this.

Create Refund

payment-refund-create

Refund a payment, in full or in part. `amount` is required — there is no implicit full refund.

Get Payment Refund

payment-refund-get

Retrieve a single refund for a payment.

List Payment Refunds

payment-refund-list

Retrieve a cursor-paginated list of refunds for one payment.

Update Payment

payment-update

Update select fields of a payment (only while it is still `open`).

Get Current Profile

profile-get

Retrieve the website profile this connection's API key belongs to.

List Profiles

profile-list

List every website profile on the organization. With a plain API key (scoped to one profile) this returns just that profile.

List All Refunds

refund-list

Retrieve a cursor-paginated list of refunds across the whole account (or profile).

Cancel Subscription

subscription-cancel

Cancel a subscription. No further payments will be charged.

Create Subscription

subscription-create

Start a recurring subscription against a customer that already has a valid mandate (e.g. from a prior `first` payment).

Get Subscription

subscription-get

Retrieve a single subscription for a customer.

List Customer Subscriptions

subscription-list

Retrieve a cursor-paginated list of subscriptions for one customer.

List All Subscriptions

subscription-list-all

Retrieve a cursor-paginated list of subscriptions across the whole account (or profile).

List Subscription Payments

subscription-payment-list

Retrieve a cursor-paginated list of payments a subscription has resulted in.

Update Subscription

subscription-update

Update a subscription's amount, description, interval, schedule or mandate.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying Mollie's real ids.

{
  "manifestVersion": "2",
  "name": "mollie-example",
  "steps": [
    {
      "id": "customer-get",
      "uses": {
        "app": "io.w6w.mollie",
        "action": "customer-get",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "customerId": "<customerId>"
      }
    }
  ]
}

Here are some of the things you can do

  • Get Customer

    read
    customer-get
  • List All Chargebacks

    search
    chargeback-list
  • Create Customer

    perform
    customer-create
  • List Customers

    search
    customer-list
  • Create Customer Payment

    perform
    customer-payment-create

+36 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for Mollie, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to Mollie. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "customer-get",
  payload: {
    customerId: "<value>",
    // testmode: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action customer-get --payload '{"customerId":"<value>"}'

Give an AI agent Mollie — without giving it Mollie's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.mollie#customer-get",
    "input": {
      "customerId": "<customerId>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's Mollie connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

Mollie's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. Mollie itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

Mollie declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

Mollie platform status

Component status from status.mollie.com's Instatus feed (/api/v2/components.json). Covers the Mollie API, Mollie Connect, Webhook, payment links and hosted checkout components this app depends on; individual local/international payment-method components are reported for context but do not drive the verdict.

quota

Rate-limit headroom

Reads the documented RateLimit/RateLimit-Policy structured headers. Mollie's own docs say this feature is rolled out gradually per account — a response with no such header reports `unknown`, not a failure.