mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node interacts with the Marketplace resource of the mittwald mStudio API, specifically to retrieve a billing portal link for a customer who is a contributor. It is useful in scenarios where you want to programmatically obtain a direct URL that allows a customer to access their billing information and manage payments or subscriptions through the billing portal.

For example, if you run a service platform and want to provide your customers with a seamless way to view and update their billing details without manually sending links, this node can automate fetching those URLs based on customer IDs.

Properties

Name Meaning
Customer Id The unique identifier of the customer for whom the billing portal link should be fetched.

Output

The node outputs JSON data containing the billing portal link associated with the specified customer. This typically includes a URL string that the customer can use to access their billing portal securely.

If the node supports binary data output (not indicated here), it would generally relate to downloadable billing documents or invoices, but based on the provided code and operation, the output is JSON with the billing portal link.

Dependencies

  • Requires an API key credential for authentication with the mittwald mStudio API.
  • The node uses the base URL https://api.mittwald.de to make requests.
  • The node depends on the @devlikeapro/n8n-openapi-node package for building request properties from the OpenAPI specification.

Troubleshooting

  • Missing or invalid Customer Id: Ensure the "Customer Id" property is provided and correctly corresponds to an existing customer in the mittwald system.
  • Authentication errors: Verify that the API key credential is correctly configured and has sufficient permissions to access customer billing information.
  • Network or API errors: Check connectivity to https://api.mittwald.de and confirm the API endpoint is operational.
  • Unexpected response format: If the output does not contain the expected billing portal link, verify that the API version and operation are supported and that the customer has an active billing profile.

Links and References

Discussion