Mollie icon

Mollie

Consume Mollie API (v.0.8.6)

Payments → Create

AI-generated

Overview

This node integrates with the Mollie API to create payments. It allows users to initiate payment transactions by specifying details such as order ID, currency, amount, description, and optional redirect and webhook URLs. This node is useful for automating payment processing workflows, such as charging customers for orders in e-commerce platforms or managing payment collections in service applications.

Use Case Examples

  1. Creating a payment for an order with a specified amount and currency, including a description and redirect URL for post-payment navigation.
  2. Setting up a payment with additional webhook URL to receive payment status updates asynchronously.

Properties

Name Meaning
Live Api Key Determines whether to use the live API key or test key for the Mollie API connection.
Order ID Unique identifier for the order associated with the payment.
Currency Currency code for the payment amount, must be in ISO 4217 format (e.g., EUR).
Value Amount to be charged, formatted as a string with two decimals and no thousands separator (e.g., '1000.00').
Description Description of the payment, typically used to describe the purpose or details of the transaction.
Redirect URL Optional URL to which the user will be redirected after completing the payment.
Additional Fields Optional additional parameters such as webhook URL to customize the payment request.

Output

JSON

  • id - Unique identifier of the created payment.
  • amount
    • currency - Currency of the payment amount.
    • value - Value of the payment amount.
  • description - Description provided for the payment.
  • metadata
    • order_id - Order ID associated with the payment.
  • redirectUrl - URL to redirect the user after payment completion.
  • status - Current status of the payment (e.g., paid, pending).
  • _links - Links related to the payment resource, such as payment URL.

Dependencies

  • Mollie API

Troubleshooting

  • Ensure the API key (live or test) is correctly set and has the necessary permissions to create payments.
  • Verify that the currency and value fields are correctly formatted as strings with two decimals and no thousands separator.
  • Check that the order ID is unique and correctly passed in the metadata to avoid conflicts.
  • If using redirect or webhook URLs, ensure they are valid and accessible endpoints.
  • Common errors include authentication failures (invalid API key), validation errors (incorrect currency or amount format), and network issues. Review error messages returned by the Mollie API for specific guidance.

Links

Discussion