Digital Wallet Cards icon

Digital Wallet Cards

Interact with Digital Wallet Cards loyalty program API

Overview

This node interacts with a Digital Wallet Cards loyalty program API, specifically managing "Card" resources. The Delete Card operation allows users to remove a loyalty card from the system by specifying its unique identifier.

Typical use cases include:

  • Removing expired or invalid cards from the loyalty program.
  • Cleaning up test or duplicate cards.
  • Managing card lifecycle by deleting cards no longer needed.

Example: A business wants to delete a customer's loyalty card after account closure to maintain data hygiene.

Properties

Name Meaning
Card ID The unique identifier of the card to be deleted (e.g., card_12345...). This is required.

Output

The output JSON contains the result of the delete operation. It typically includes:

  • success: A boolean indicating whether the deletion was successful.
  • cardId: The ID of the card that was deleted.

Example output JSON:

{
  "success": true,
  "cardId": "card_12345"
}

No binary data is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the Digital Wallet Cards API.
  • The node makes HTTP DELETE requests to the endpoint /api/v2/cards/{cardId}.
  • The base URL for the API is https://api.digitalwallet.cards.
  • Proper network connectivity and valid credentials are necessary.

Troubleshooting

  • Missing Card ID: If the Card ID is not provided or invalid, the node will throw an error indicating the missing required field.
  • Card Not Found: If the specified card does not exist, the API may return a 404 error. Ensure the Card ID is correct.
  • Authentication Errors: Invalid or missing API credentials will cause authentication failures.
  • API Rate Limits: Excessive requests might lead to rate limiting; handle such errors by retrying after some delay.
  • Network Issues: Connectivity problems can cause request failures; verify network access to the API endpoint.

To resolve errors:

  • Verify all required fields are set correctly.
  • Check API credentials and permissions.
  • Confirm the card exists before attempting deletion.
  • Review error messages returned by the API for specific guidance.

Links and References

Discussion