Token Receipt API
This API offers capabilities that extend beyond the standard Card Linking Receipt API, accommodating receipt delivery based on a variety of identifiers (tokens). It's essential to highlight that when using the Token Receipt API, receipts will consistently be delivered to users via the card linking solution when relevant. It is also possible to include several different tokens with a single request.
Examples
Dynamic QR Code
A Dynamic QR Code Token allows for the generation of receipts with unique identifiers, such as UUIDv4. This identifier is encoded into a QR code link, which is displayed for the customer on a customer-facing screen. By scanning this QR code with their mobile device, users can easily access and view their receipt.
Card
Card Token is for Partners that are able to deliver card related token with receipt data.
Email
User (OAuth2)
Token object
type
String
Token type: DYNAMIC_QR_CODE|CARD|EMAIL|USER
✅
value
String
Token value
✅
id
String
Token identifier (Defined by the Partner)
Required when Token type = CARD
namespace
String
Partner namespace (defined by ReceiptHero)
Required when token type = DYNAMIC_QR_CODE
ReceiptHero JSON as <HeroJSON>
Response OK
Last updated