Mollie icon

Mollie

Consume Mollie API (v.0.8.6)

Refunds → Create Payment Refund

AI-generated

Overview

This node integrates with the Mollie API to manage refunds related to payments. Specifically, the 'Create Payment Refund' operation allows users to create a refund for a specified payment by providing the payment ID, currency, and refund value. This is useful in scenarios where a partial or full refund needs to be issued for a payment transaction, such as in e-commerce platforms or service billing systems.

Use Case Examples

  1. Creating a refund for a payment of €1000.00 by specifying the payment ID, currency as EUR, and value as 1000.00.
  2. Adding an optional description to the refund to provide context or reason for the refund.

Properties

Name Meaning
Live Api Key Determines whether to use the live API key (true) or test API key (false) for authentication.
Payment ID The unique identifier of the payment to be refunded.
Currency The currency code (e.g., EUR, USD) for the refund amount.
Value The refund amount value, formatted as a string with two decimals and no thousands separator (e.g., '1000.00').
Additional Fields Optional additional fields for the refund, such as a description.

Output

JSON

  • id - The unique identifier of the created refund.
  • amount
    • currency - The currency of the refund amount.
    • value - The value of the refund amount.
  • description - Optional description of the refund.
  • status - The status of the refund (e.g., pending, refunded).
  • createdAt - Timestamp when the refund was created.

Dependencies

  • Mollie API

Troubleshooting

  • Ensure the API key provided is valid and has the necessary permissions to create refunds.
  • Verify that the payment ID exists and is valid in the Mollie system before attempting to create a refund.
  • Make sure the currency and value fields are correctly formatted; the value must have two decimals and no thousands separator.
  • If the API returns an error, check the error message for details and adjust the input parameters accordingly.

Links

Discussion