Actions47
- Template Actions
- Communication Actions
- Card Actions
- Create
- Get
- Get All
- Update
- Delete
- Get Balance
- Add Points
- Deduct Points
- Add Amount
- Deduct Amount
- Add Stamps
- Deduct Stamps
- Transfer Points
- Transfer Amount
- Block Card
- Unblock Card
- Generate QR Code
- Get Operations
- Add Visits
- Deduct Visits
- Add Reward
- Deduct Reward
- Receive Reward
- Redeem Coupon
- Set Expiration Date
- Set Membership Tier
- Customer Actions
- Company Actions
- Analytics Actions
- System Actions
Overview
The node interacts with a Digital Wallet Cards loyalty program API, enabling various operations on digital loyalty cards. Specifically for the Card resource and the Generate QR Code operation, it generates a QR code associated with a specified card ID.
This node is useful in scenarios where businesses want to integrate loyalty card management into their workflows, such as generating QR codes for customers' loyalty cards to be scanned at points of sale or events.
Practical example:
- Automatically generate a QR code for a newly created loyalty card to send to the customer via email or display in an app.
- Generate QR codes for existing cards to enable quick scanning and redemption of rewards.
Properties
| Name | Meaning |
|---|---|
| Card ID | The unique identifier of the card for which the QR code will be generated. |
Output
The output JSON contains the response from the API after generating the QR code for the specified card. This typically includes data representing the QR code (such as a URL or encoded image data) that can be used downstream in the workflow.
If the node supports binary data output for the QR code image, it would represent the QR code image itself; however, based on static analysis, the output is returned as JSON data.
Dependencies
- Requires an API key credential configured in n8n to authenticate requests to the Digital Wallet Cards API.
- The base URL for API requests is
https://api.digitalwallet.cards. - The node uses internal utility functions for making HTTP requests, validating fields, and formatting responses.
Troubleshooting
- Missing Card ID: The operation requires a valid card ID. If omitted or invalid, the node will throw an error indicating the missing required field.
- API Authentication Errors: Ensure the API key credential is correctly set up and has sufficient permissions.
- Unknown Operation Error: If an unsupported operation is selected, the node throws an error specifying the unknown operation.
- Empty Response or Invalid QR Code Data: Verify that the card ID exists and the card is eligible for QR code generation.
- JSON Parsing Errors: Some optional fields accept JSON strings; ensure these are well-formed.
Links and References
- Digital Wallet Cards API Documentation (hypothetical link based on API base URL)
- QR Code Generation Best Practices