Provide Google with information about awaiting private pass update. This will allow Google to provide the update notification to the device that currently holds this pass.
HTTP request
POST https://walletobjects.googleapis.com/walletobjects/v1/privateContent/setPassUpdateNotice
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "externalPassId": string, "updatedPassJwtSignature": string, "updateUri": string } |
Fields | |
---|---|
externalPassId |
Required. A fully qualified identifier of the pass that the issuer wants to notify the pass holder(s) about. Formatted as <issuerId.externalUid>. |
updatedPassJwtSignature |
Required. The JWT signature of the updated pass that the issuer wants to notify Google about. Only devices that report a different JWT signature than this JWT signature will receive the update notification. |
updateUri |
Required. The issuer endpoint URI the pass holder needs to follow in order to receive an updated pass JWT. It can not contain any sensitive information. The endpoint needs to authenticate the user before giving the user the updated JWT. Example update URI https://someissuer.com/update/passId=someExternalPassId |
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/wallet_object.issuer