MATTR VII PlatformSemantic CWT credentials
Format a Semantic CWT credential as a Google Pass
Returns a Google Pass representation of a provided CWT credential based on an existing Google Pass template.
ℹ️ Note: The request will fail if the provided credential isn't valid or has expired.
Analytics Events
CREDENTIAL_COMPACT_SEMANTIC_GOOGLE_PASS_CREATE_STARTCREDENTIAL_COMPACT_SEMANTIC_GOOGLE_PASS_CREATE_SUCCESSCREDENTIAL_COMPACT_SEMANTIC_GOOGLE_PASS_CREATE_FAIL
Roles
adminissuer
POST
/v2/credentials/compact-semantic/digital-pass/google
AuthorizationBearer <token>
In: header
bodyCreateDigitalPassRequest
Format
object
Response Body
curl -X POST "https://example.vii.au01.mattr.global/v2/credentials/compact-semantic/digital-pass/google" \ -H "Content-Type: application/json" \ -d '{ "templateId": "3812166c-ac9f-4e4e-96dd-c1336b5be378", "payload": "{payload}" }'
{
"redirectTo": "https://pay.google.com/gp/v/save/{jwt}"
}
{
"code": "string",
"message": "string",
"details": [
{
"value": "string",
"msg": "Invalid value",
"param": "id",
"location": "body"
}
]
}
How would you rate this page?