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, specifically focusing on operations related to "Card" resources. The Transfer Points operation allows transferring loyalty points from one card to another within the system.

This operation is useful in scenarios such as:

  • Allowing customers to consolidate points from multiple cards into one.
  • Facilitating point transfers between family members or friends.
  • Managing loyalty points in corporate or group accounts.

For example, a business could automate transferring points from an expired or secondary card to a primary customer card, ensuring points are not lost.

Properties

Name Meaning
From Card ID The unique identifier of the card from which points will be transferred (source card).
To Card ID The unique identifier of the card to which points will be transferred (destination card).

Output

The output JSON structure for the Transfer Points operation typically contains details about the result of the transfer request. While the exact fields are not explicitly shown in the snippet, based on the pattern of other card operations, it likely includes:

  • Confirmation of the transfer success.
  • Updated balances or points on the involved cards.
  • Transaction or operation identifiers.
  • Timestamps or metadata related to the transfer.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential configured in n8n to authenticate requests against the Digital Wallet Cards API.
  • The node makes HTTP requests to the base URL https://api.digitalwallet.cards.
  • Uses internal utility functions for making API requests, validating required fields, and formatting responses.

Troubleshooting

  • Missing Required Fields: If either "From Card ID" or "To Card ID" is missing, the node will throw an error indicating that these fields are required.
  • Invalid Card IDs: Providing invalid or non-existent card IDs may result in API errors; ensure card IDs are correct and active.
  • Insufficient Points: Attempting to transfer more points than available on the source card might cause the API to reject the request.
  • API Authentication Errors: Ensure the API key credential is correctly set up and has sufficient permissions.
  • Network Issues: Connectivity problems can cause request failures; verify network access to the API endpoint.

Links and References


Note: This summary is based solely on static analysis of the provided source code and property definitions.

Discussion