Digital Wallet Cards icon

Digital Wallet Cards

Interact with Digital Wallet Cards loyalty program API

Overview

The node interacts with a Digital Wallet Cards loyalty program API, enabling automation of various operations related to digital loyalty cards, customers, companies, templates, communications, analytics, and system management. Specifically for the Template resource and the Get Reward Tiers operation, it retrieves the list of reward tiers associated with a specified card template.

This operation is useful when you want to fetch all reward tiers defined for a particular loyalty card template, for example, to display them in a dashboard, synchronize with another system, or use them in further workflow logic.

Practical Example

  • Fetching reward tiers for a specific loyalty card template to show available customer benefits.
  • Automating updates or audits by retrieving current reward tier configurations.
  • Integrating reward tier data into marketing campaigns or customer segmentation workflows.

Properties

Name Meaning
Template ID The numeric identifier of the card template whose reward tiers you want to retrieve.

Output

The output is an array of JSON objects, each representing a reward tier associated with the specified template. Each reward tier object typically includes fields such as:

  • id (string): Unique identifier of the reward tier.
  • name (string): Name of the reward tier.
  • minimumPoints (number): Minimum points required to reach this tier.
  • benefits (array of strings): List of benefits included in the tier.
  • color (string): Hex color code representing the tier.
  • icon (string): URL or identifier for the tier icon.
  • description (string): Description of the reward tier.

The exact structure depends on the API response but generally contains these details to describe each reward tier fully.

The node does not output binary data for this operation.

Dependencies

  • Requires an active connection to the Digital Wallet Cards API.
  • Needs an API authentication token or API key credential configured in n8n to authorize requests.
  • The base URL for API requests is https://api.digitalwallet.cards.
  • Uses internal utility functions for making HTTP requests, pagination, validation, and response transformation.

Troubleshooting

  • Missing or invalid Template ID: The operation requires a valid numeric Template ID. Ensure this property is set and corresponds to an existing template.
  • API authentication errors: If the API key or token is missing or invalid, the request will fail. Verify credentials are correctly configured in n8n.
  • Network issues or API downtime: Connectivity problems or service outages can cause failures. Check network access and API status.
  • Unexpected API responses: If the API changes or returns unexpected data, the node might throw errors during response processing.
  • Permission errors: Insufficient permissions for the API user may prevent fetching reward tiers.

To resolve errors, verify input parameters, check credentials, and consult API documentation or support.

Links and References

Discussion