Boomerangme icon

Boomerangme

Interact with Boomerangme API

Overview

The node interacts with the Boomerangme API to manage digital wallet cards. Specifically, the "Subtract Reward From Card" operation deducts a specified number of rewards from a given card. This is useful in loyalty programs or reward systems where users redeem or lose rewards based on their activities.

Practical examples include:

  • Deducting rewards when a customer redeems them for a purchase.
  • Adjusting reward balances after returns or cancellations.
  • Managing reward points in promotional campaigns.

Properties

Name Meaning
Card ID The unique identifier of the card from which rewards will be subtracted (string).
Rewards The number of rewards to subtract from the card (number).
Comment An optional comment or note explaining the reason for the reward subtraction (string).

Output

The node outputs JSON data representing the result of the API call to subtract rewards from the card. This typically includes updated card information such as the new reward balance and confirmation details. No binary data output is involved.

Dependencies

  • Requires an API key credential for authenticating with the Boomerangme API.
  • The node sends requests to the base URL: https://api.digitalwallet.cards/api/v2.
  • Proper configuration of the API authentication credential within n8n is necessary.

Troubleshooting

  • Invalid Card ID: If the provided Card ID does not exist or is incorrect, the API may return an error indicating the card was not found. Verify the Card ID before running the node.
  • Insufficient Rewards: Attempting to subtract more rewards than available on the card might cause an error or rejection by the API. Ensure the card has enough rewards.
  • Authentication Errors: Missing or invalid API credentials will prevent successful API calls. Confirm that the API key credential is correctly set up.
  • Network Issues: Connectivity problems can cause request failures. Check network access and API availability.

Links and References

Discussion