Actions23
- Customer Actions
- Card Actions
- Add Amount to Card
- Add Point to Card
- Add Reward to Card
- Add Scores to Card
- Add Stamp to Card
- Add Visit to Card
- Create Card
- Delete Card
- Get Card
- List of Cards
- Receive Reward
- Redeem Coupon
- Subtract Amount From Card
- Subtract Point From Card
- Subtract Reward From Card
- Subtract Scores From Card
- Subtract Stamp From Card
- Subtract Visit From Card
- Company Actions
- SMS Actions
Overview
The node interacts with the Boomerangme API to manage digital wallet cards and related entities. Specifically, for the Card resource and the Subtract Scores From Card operation, it subtracts a specified number of scores from a given card identified by its ID. This is useful in loyalty or rewards programs where users can redeem or lose points/scores based on their activities.
Practical examples:
- Deducting points from a customer’s loyalty card after a purchase return.
- Adjusting scores when a user redeems rewards or cancels an order.
- Managing score balances dynamically in a digital wallet system.
Properties
| Name | Meaning |
|---|---|
| Card ID | The unique identifier of the card from which scores will be subtracted. |
| Scores | The number of scores (points) to subtract from the card. |
| Comment | An optional text comment explaining the reason or context for the score subtraction. |
Output
The node outputs JSON data representing the result of the API call to subtract scores from the card. This typically includes updated card information such as the new score balance and any metadata returned by the Boomerangme API.
If the node supports binary data output, it would represent associated files or media related to the card, but this operation primarily deals with numeric score adjustments and JSON responses.
Dependencies
- Requires an active connection to the Boomerangme API endpoint at
https://api.digitalwallet.cards/api/v2. - Needs an API authentication token or key configured in n8n credentials to authorize requests.
- The node depends on the Boomerangme API being available and responsive.
Troubleshooting
- Invalid Card ID: If the provided Card ID does not exist or is malformed, the API may return an error indicating the card was not found. Verify the Card ID before running the node.
- Insufficient Scores: Attempting to subtract more scores than the card currently holds might cause an error or rejection by the API. Ensure the card has enough scores before subtraction.
- Authentication Errors: Missing or invalid API credentials will prevent successful API calls. Confirm that the API key/token is correctly set up in n8n.
- Network Issues: Connectivity problems to the Boomerangme API endpoint will cause request failures. Check network access and API service status.
- Comment Field: Although optional, providing excessively long comments might be rejected by the API if there are length limits.
Links and References
- Boomerangme API Documentation (assumed URL based on baseURL)
- n8n documentation on creating custom nodes
- General info on digital wallet and loyalty program APIs for context