Google Pass templates
Create a CWT credential Google Pass template
/v2/credentials/compact/digital-pass/google/templatesCreates a Google Pass template based on the provided .zip file. Refer to our Design a Google Pass template guide for more information on how to design the template and how to structure the .zip file.
Roles
Analytics Events
Authorization
bearerAuth In: header
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v2/credentials/compact/digital-pass/google/templates" \ -F template="string" \ -F name="string" \ -F issuerId="string" \ -F serviceAccountClientEmail="string" \ -F serviceAccountPrivateKey="string"{ "id": "string", "passType": "apple", "name": "string", "metadata": { "issuerId": "string", "serviceAccountClientEmail": "string", "payPassId": "string" }}Retrieve all CWT credential Google Pass templates
/v2/credentials/compact/digital-pass/google/templatesRetrieves a list of all Google Pass templates available on your tenant.
Roles
Analytics Events
Authorization
bearerAuth In: header
Query Parameters
Range size of returned list.
1 <= value <= 1000100Starting point for the list of entries.
Response Body
application/json
application/json
curl -X GET "https://example.com/v2/credentials/compact/digital-pass/google/templates"{ "nextCursor": "string", "data": [ { "id": "string", "passType": "apple", "name": "string", "metadata": { "issuerId": "string", "serviceAccountClientEmail": "string", "payPassId": "string" } } ]}Retrieve a CWT credential Google Pass template
/v2/credentials/compact/digital-pass/google/templates/{id}Retrieves an existing Google Pass template by providing its ID.
Roles
Analytics Events
Authorization
bearerAuth In: header
Path Parameters
Google Pass template ID
uuidTemplate ID
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v2/credentials/compact/digital-pass/google/templates/string"{ "id": "string", "passType": "apple", "name": "string", "metadata": { "issuerId": "string", "serviceAccountClientEmail": "string", "payPassId": "string" }}Update a CWT credential Google Pass template
/v2/credentials/compact/digital-pass/google/templates/{id}Updates a existing Google Pass template by providing its ID and a .zip file. Refer to our Design a Google Pass template guide for more information on how to design the template and how to structure the .zip file.
Roles
Analytics Events
Authorization
bearerAuth In: header
Path Parameters
Google Pass template ID
Template ID
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://example.com/v2/credentials/compact/digital-pass/google/templates/string" \ -F template="string" \ -F name="string" \ -F issuerId="string" \ -F serviceAccountClientEmail="string" \ -F serviceAccountPrivateKey="string"{ "id": "string", "passType": "apple", "name": "string", "metadata": { "issuerId": "string", "serviceAccountClientEmail": "string", "payPassId": "string" }}Delete a CWT credential Google Pass template
/v2/credentials/compact/digital-pass/google/templates/{id}Deletes an existing Google Pass template by providing its ID.
Roles
Analytics Events
Authorization
bearerAuth In: header
Path Parameters
Google Pass template ID
uuidTemplate ID
Response Body
application/json
application/json
curl -X DELETE "https://example.com/v2/credentials/compact/digital-pass/google/templates/string"How would you rate this page?
Last updated on