Digital Passes
Digital Passes allow customers to use their Apple Wallet and Google Wallet to store tickets. Information on how they can be set up and designed can be found in the Support Centre article.
Where Customers see 'Add to Wallet' Buttons
If digital passes are set up, by default, customers can see the Add to Apple Wallet or Add to Google Wallet buttons in:
- Print at Home / E-tickets email
- MyAccount.aspx iframe, within the Orders tab
Clicking the button links out to the relevant wallet service, allowing the customer to save their ticket. The section below explains how to include the buttons in areas of the website where the buttons do not appear by default, for example in a custom My Account page that uses the Spektrix API.
Implementing 'Add to Wallet' Buttons
Follow Apple's badge guidelines and Google's brand guidelines when incorporating their assets on your website.
Use the template URLs below to generate passes for Apple Wallet and Google Wallet.
Using the Template URL
Apple Wallet:
https://app.tickets-and-passes.com/api/ApplePass?client={{clientname}}&barcode={{barcode}}
Google Wallet:
https://app.tickets-and-passes.com/api/GooglePass?client={{clientname}}&barcode={{barcode}}
Replace:
{{clientname}}
with the Spektrix clientname.{{barcode}}
with a valid ticket barcode.
Retrieving Barcodes via the API
- Request
- Response
https://system.spektrix.com/{{clientname}}api/v3/customer/orders
{
"deliveries": [
{
"type": "Postal",
"emailAddress": null
}
],
"ticketSubscriptions": [],
"firstTransactionDate": "2025-01-16T12:01:41.333",
"firstTransactionDateUtc": "2025-01-16T12:01:41.333Z",
"lastTransactionDate": "2025-01-16T12:01:41.333",
"lastTransactionDateUtc": "2025-01-16T12:01:41.333Z",
"totalPaymentCharges": 0.00,
"totalDeliveryCharges": 0.00,
"totalTransactionCharges": 0.0,
"payments": [
{
"cardNumber": null,
"amount": 8.00,
"type": "Payment from voucher"
}
],
"refunds": [],
"printAtHomeDocuments": [],
"id": "25-PP-599V",
"total": 8.00,
"customer": {
"id": "I-6B22-7KS5"
},
"merchandiseItems": [],
"donations": [],
"notes": null,
"tickets": [
{
"band": {
"id": "1AHGJDSMMPLMPPGNLJBQVLBRSKVDLQRPP"
},
"event": {
"id": "51401AJNDJJSCSRDMGDPMBDQVCNBMPCNB"
},
"instance": {
"id": "111884AMNQLJNQNKVTCNBQPTCBJJVSPPQ"
},
"planId": "201AGBHDRLQHNHPHKKMPKLGPMDRDTDMVL",
"seatName": "",
"planName": "Unreserved",
"voucherRedemptionInfo": null,
"type": {
"id": "401ANPJQJQPQMRSBDNMVNLSPGTRBVQVRH"
},
"ticketType": {
"id": "401ANPJQJQPQMRSBDNMVNLSPGTRBVQVRH"
},
"ticketType_Comment": "Will be removed in a future API release - Use 'Type' instead",
"delivered": false,
"barcode": "AGMYNZHZ",
"offer": null,
"discount": 0.0,
"price": 8.00,
"total": 8.00,
"id": "10918281ADTLMDCJMDLDSBQNGBHMBQKRG"
}
],
"membershipSubscriptions": [],
"giftVouchers": []
}
Important Considerations
- Use one barcode per instance per order: All tickets for the same event instance within a single order are grouped together in both Apple Wallet and Google Wallet.
- The template URLs do not require authentication to work. However you will need to make the Orders API calls with some authentication, either as a System Owner or via client side API calls in Web mode.