Package Information
Available Nodes
Documentation
n8n-nodes-mollie
This is an n8n community node that lets you use Mollie payment API in your n8n workflows.
Mollie is a payment service provider that allows businesses to accept online payments through various payment methods including credit cards, PayPal, Apple Pay, and more.
n8n is a fair-code licensed workflow automation platform.
Table of Contents
Installation
Follow the installation guide in the n8n community nodes documentation.
Community Node Installation
- Go to Settings > Community Nodes
- Select Install
- Enter
n8n-nodes-molliein Enter npm package name - Agree to the risks of using community nodes
- Select Install
After installation, you can use the Mollie node in your workflows.
Manual Installation (for development)
- Clone this repository
- Navigate to the repository folder
- Run
npm install - Run
npm run build - Link the package to your n8n installation:
npm link cd ~/.n8n/nodes npm link n8n-nodes-mollie - Restart n8n
Authentication
This node supports two authentication methods:
API Key Authentication
Simple authentication using your Mollie API key.
Prerequisites:
- A Mollie account (sign up here)
- API key from your Mollie Dashboard
Setup:
- Go to your Mollie Dashboard
- Navigate to Developers > API keys
- Copy your Live API key or Test API key
- In n8n, create a new Mollie API credential
- Paste your API key
- Set Test Account to
trueif using a test key,falsefor live keys - Save the credential
API Key Format:
- Test keys start with
test_ - Live keys start with
live_
OAuth2 Authentication
OAuth2 authentication provides more granular permission control and is required for some operations.
Prerequisites:
- A Mollie account
- OAuth app configured in Mollie Dashboard (optional - shared app provided by default)
Setup with Default Shared App:
- In n8n, create a new Mollie OAuth2 API credential
- Set Test Account to
truefor testing orfalsefor production - (Optional) Select Additional Scopes if you need permissions beyond the defaults
- Click Connect my account
- Follow the OAuth flow to authorize access
- Save the credential
Setup with Custom OAuth App:
- Go to your Mollie Dashboard
- Navigate to Developers > OAuth Apps
- Create a new OAuth app
- Set the redirect URL to:
https://your-n8n-instance.com/rest/oauth2-credential/callback - Note your Client ID and Client Secret
- In n8n, create a new Mollie OAuth2 API credential
- Enter your Client ID and Client Secret
- Set Test Account appropriately
- Select any Additional Scopes you need
- Click Connect my account
- Follow the OAuth flow to authorize access
- Save the credential
Available Scopes:
The node requests these scopes by default:
organizations.read- View the merchant's organizational detailsprofiles.read- View the merchant's payment profiles
Additional scopes you can select:
payments.read- View payments, chargebacks, and payment methodspayments.write- Create and manage paymentsrefunds.read- View refundsrefunds.write- Create and manage refundscustomers.read- View customerscustomers.write- Create and manage customersmandates.read- View mandatesmandates.write- Create and manage mandatessubscriptions.read- View subscriptionssubscriptions.write- Create and manage subscriptionsprofiles.write- Create and manage profilesinvoices.read- View invoicessettlements.read- View settlementsorders.read- View ordersorders.write- Create and manage ordersshipments.read- View shipmentsshipments.write- Create and manage shipmentsorganizations.write- Manage organizational detailsonboarding.read- View onboarding statusonboarding.write- Manage onboardingbalances.read- View balances
Operations
Payment
Get Many
Retrieve a list of payments.
Parameters:
- Return All: Whether to return all results or limit to a specific number
- Limit: Maximum number of payments to return (1-250, default: 100)
- Filters:
- Status: Filter by payment status
- All
- Open
- Canceled
- Pending
- Authorized
- Expired
- Failed
- Paid
- Status: Filter by payment status
Output:
Returns an array of payment objects with the following fields:
id- Mollie payment IDamount- Payment amount (as number)currency- Payment currency code (e.g., EUR, USD)status- Payment statusdescription- Payment descriptionmethod- Payment method usedcheckoutLink- URL to the payment checkout pagecreatedAt- ISO timestamp when payment was createdexpiresAt- ISO timestamp when payment expiresexpiredAt- ISO timestamp when payment expired (if applicable)paidAt- ISO timestamp when payment was paid (if applicable)amountRefunded- Total refunded amount (as number)amountRemaining- Remaining capturable amount (as number)settlementAmount- Settlement amount (as number)- Plus all other fields from the Mollie API response
Get
Retrieve a single payment by ID.
Parameters:
- Payment ID: The Mollie payment ID (e.g.,
tr_WDqYK6vllg)
Output:
Returns a single payment object with the same fields as described in "Get Many".
Compatibility
- Requires n8n version 0.198.0 or later
- Tested with n8n version 1.0.0+
- Compatible with Mollie API v2
Usage
Example: List Recent Paid Payments
- Add the Mollie node to your workflow
- Select your authentication method and credential
- Choose Payment as the resource
- Choose Get Many as the operation
- Set Return All to
false - Set Limit to
50 - Under Filters, set Status to
Paid - Execute the node
This will return the 50 most recent paid payments from your Mollie account.
Example: Get Specific Payment Details
- Add the Mollie node to your workflow
- Select your authentication method and credential
- Choose Payment as the resource
- Choose Get as the operation
- Enter the Payment ID (e.g., from a webhook or previous node)
- Execute the node
This will return detailed information about the specific payment.
Test Mode
Both authentication methods include a Test Account parameter:
- Set to
trueto work with test payments (using test API keys) - Set to
falseto work with live production payments
When Test Account is enabled, all API requests will include testmode=true, ensuring you only see test data.
Future Operations
This node is designed to be extended with additional operations. Planned future operations include:
- Create Payment - Create a new payment
- Create Payment Link - Generate a payment link
- Create Refund - Refund a payment
- Customer Operations - Manage customers
- Subscription Operations - Manage subscriptions
- Order Operations - Manage orders
Contributions are welcome!
Resources
- n8n community nodes documentation
- Mollie API documentation
- Mollie Authentication documentation
- Mollie Dashboard
Version History
1.0.0
- Initial release
- Support for API Key and OAuth2 authentication
- List Payments operation with pagination
- Get Payment operation
- Test mode support
- Comprehensive error handling including rate limiting
License
Support
For issues, questions, or contributions, please visit the GitHub repository.
Credits
Developed based on the Make.com Mollie integration specification, adapted for n8n workflows.