Skip to content
Mollie logo

Connectors / Finance · HTTP Connector

Mollie integration and API

Create a payment, create a refund and create a customer in Mollie, and start a workflow when Mollie sends “Payment paid”.

What can you do with Mollie on Tray.ai?

Mollie is a European payment service provider that lets businesses accept online and in-person payments, run subscriptions, send payment links and issue refunds. Tray.ai connects to Mollie through the HTTP Connector, so your workflows can call the Mollie API alongside the rest of your stack.

  • When Mollie sends “Payment paid”, mark the order paid in your accounting system.
  • When Mollie sends “Payment failed”, email the customer and flag the account in your CRM.
  • Create a payment link for each approved quote in your CRM.
  • Cancel a subscription when a customer closes their account in your billing system.
Connects through
HTTP Connector
Authentication
A bearer token or OAuth 2.0
Base URL
https://api.mollie.com/v2

Set it up

Connect Mollie to Tray.ai

Each step uses Mollie's own API details, from its documentation.

Save Mollie's API token

Save the token Mollie issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.mollie.com/v2 as the base URL. Or paste a cURL example from Mollie's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List payments”

It's one of 19 documented actions, under Payments. The response comes back as data the next step can map into your other apps.

Start workflows from Mollie events

Give Mollie the URL of a Tray.ai webhook trigger. “Payment paid” can then start a workflow, and so can 5 other events.

Workflows to build with Mollie

Connect Mollie with Xero, Gmail and Slack

Each one uses actions and events from Mollie's own API documentation.

Record paid Mollie payments in Xero

When

Payment paid

Then

  1. Find the matching invoice in Xero
  2. Record the payment against the invoice

With Xero

Send a new Mollie payment link after a failed payment

When

Payment failed

Then

  1. Create a payment link for the amount due
  2. Email the link to the customer from Gmail

With Gmail

Record Mollie refunds in Xero

When

Refund refunded

Then

  1. Create a credit note in Xero
  2. Post the refund to the finance channel in Slack

With Xero and Slack

Apps you can build on Mollie data

Internal tools your team can build with an AI assistant, each one using Mollie calls from its API documentation.

Refund request desk

Lists payments for a customer and lets support issue or cancel a refund.

Failed payment follow-up

Collects failed and expired payments and lets staff send the customer a new payment link.

Sales invoice tracker

Lists sales invoices and shows when each one is paid.

Give your AI agents Mollie tools

Build an MCP server on Mollie in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Create a payment
  • Create a refund
  • Create a customer
  • Create a subscription
  • Create a payment link
  • Create a sales invoice
  • List payments
  • Update a payment

What the Mollie API covers

6 resources and 19 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Payments

  • Create a payment
  • List payments
  • Update a payment
  • Cancel a payment

Refunds

  • Create a refund
  • List refunds
  • Cancel a refund

Customers

  • Create a customer
  • List customers
  • Update a customer
  • Create a customer payment

Subscriptions

  • Create a subscription
  • Update a subscription
  • Cancel a subscription

Payment links

  • Create a payment link
  • List payment links
  • Update a payment link

Sales invoices

  • Create a sales invoice
  • List sales invoices

Events Mollie can send to a Tray.ai webhook trigger

  • Payment paid
  • Payment failed
  • Payment expired
  • Refund refunded
  • Payment link paid
  • Sales invoice paid

Checked against Mollie's own documentation on 2026-10-22

docs.mollie.com/reference/overview

Frequently asked questions

What can a Tray.ai workflow do in Mollie?

The Mollie API documents 19 actions across 6 resources (Payments, Refunds, Customers, Subscriptions, Payment links, Sales invoices). For example: Create a payment; Create a refund; Create a customer. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Mollie?

The Mollie API uses a bearer token and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Mollie events can start a Tray.ai workflow?

Mollie sends 6 events to a webhook URL, for example: Payment paid; Payment failed; Payment expired; Refund refunded; Payment link paid; Sales invoice paid. A Tray.ai webhook trigger receives them and starts a workflow.

See Mollie working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.