Prepare a device
Create a location and API key in the dashboard. Assign your employee to the location, create a card template, and have an activated card available for redemption. Set these variables in your terminal. Use a stable device id: the first request binds the key to it.1. Log in
employee, token, sessionExpiresAt, and message. Save the token:
2. Fetch a card
Replace the sample card id with your card’s identifier. The timestamp query parameter is required.cardType and activated before choosing an operation. A blank card needs a template.
3. Stamp a loyalty card
rewardEarned is true. A renewed card can already show a reset stamp count in that same response.
4. Charge a coupon card
Use a coupon card for this operation.amount: 500 deducts €5.00.
amount represents points instead of cents. See add points, status cards, and reward redemption.
Before issuing a card, fetch client configuration for mandatory customer fields, subscription status, and test limits.