mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node interacts with the mittwald mStudio API to retrieve payment method information for a specific customer within a marketplace context. It is useful when you need to programmatically access or verify the payment methods associated with customers in your marketplace system, such as for billing, subscription management, or customer account updates.

A practical example would be an automation workflow that fetches a customer's saved payment method before processing a new order or subscription renewal.

Properties

Name Meaning
Customer Id The unique identifier of the customer whose payment method you want to retrieve. This is a required string input.

Output

The node outputs JSON data containing the payment method details of the specified customer. The exact structure depends on the mittwald mStudio API response but typically includes fields such as payment type, card details (masked), expiration date, and other relevant payment metadata.

If the API supports binary data related to payment methods (e.g., documents or images), it would be included in the binary output; however, based on the provided code, this node primarily handles JSON responses.

Dependencies

  • Requires an API key credential for authentication with the mittwald mStudio API.
  • The node uses the base URL https://api.mittwald.de to send requests.
  • The n8n environment must have the appropriate credentials configured to allow authorized API calls.

Troubleshooting

  • Missing or invalid Customer Id: Ensure the "Customer Id" property is provided and correctly formatted. An empty or incorrect ID will cause the API call to fail.
  • Authentication errors: Verify that the API key credential is valid and has sufficient permissions to access customer payment methods.
  • API connectivity issues: Check network connectivity and that the mittwald API endpoint is reachable.
  • Unexpected API responses: If the API returns errors or unexpected data, review the API documentation and ensure the request parameters conform to expected formats.

Links and References

Discussion