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 "Subtract Amount From Card" operation in the Boomerangme node allows users to deduct a specified monetary amount from a digital card's balance. This is useful in scenarios such as processing refunds, adjusting balances after purchases, or correcting errors in card amounts. For example, if a customer returns an item, you can subtract the refunded amount from their card balance programmatically.
Properties
| Name | Meaning |
|---|---|
| Card ID | The unique identifier of the card from which the amount will be subtracted. |
| Amount | The numeric value representing how much money to subtract from the card's balance. |
| Comment | An optional text note explaining the reason for the subtraction or any additional details. |
Output
The node outputs JSON data representing the result of the subtraction operation on the card. This typically includes updated card information such as the new balance and transaction details reflecting the subtraction. No binary data output is involved.
Dependencies
- Requires an active API key credential for authenticating with the Boomerangme API.
- The node communicates with the Boomerangme API endpoint at
https://api.digitalwallet.cards/api/v2. - Proper configuration of the API authentication within n8n is necessary for successful requests.
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 Balance: Attempting to subtract an amount greater than the current card balance might cause an error or rejection by the API. Ensure the card has sufficient funds.
- Authentication Errors: Missing or invalid API credentials will prevent the node from connecting to the Boomerangme service. Confirm that the API key is correctly set up in n8n credentials.
- Network Issues: Connectivity problems can cause request failures. Check network access and API availability.
Links and References
- Boomerangme API Documentation (general reference for API endpoints and usage)
- n8n documentation on API Credentials for setting up authentication tokens