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. Specifically, the "Subtract Point From Card" operation deducts a specified number of points from a given card. This is useful in loyalty programs or reward systems where users spend points accumulated on their cards.
Practical examples include:
- Deducting points when a customer redeems rewards.
- Adjusting point balances after returns or cancellations.
- Managing point deductions as part of promotional campaigns.
Properties
| Name | Meaning |
|---|---|
| Card ID | The unique identifier of the card from which points will be subtracted. |
| Points | The number of points to subtract from the card's balance. |
| Comment | An optional text comment explaining the reason for the point subtraction (e.g., refund). |
Output
The node outputs JSON data representing the result of the point subtraction operation. This typically includes confirmation details such as updated card information, new point balance, and any relevant metadata returned by the Boomerangme API.
If the node supports binary data output, it would relate to attachments or media associated with the card or transaction, but this is not indicated in the provided code snippet.
Dependencies
- Requires an active connection to the Boomerangme API.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- The base URL for API requests is
https://api.digitalwallet.cards/api/v2.
Troubleshooting
- Invalid Card ID: If the card ID does not exist or is malformed, the API may return an error. Verify the card ID before running the node.
- Insufficient Points: Attempting to subtract more points than available might cause an error or rejection. Ensure the card has enough points.
- Authentication Errors: Missing or invalid API credentials will prevent successful API calls. Confirm that the API key/token is correctly set up.
- Network Issues: Connectivity problems can cause timeouts or failures. Check network access to the Boomerangme API endpoint.
Links and References
- Boomerangme API Documentation (assumed based on base URL)
- n8n documentation on API Credentials