Add a link to a Gift card

Adding a link to your Google Wallet pass alows you to navigate your user to your app or website. The link is added to the pass below the header, and this feature is available for all types of Google Wallet passes.

Integration steps

Request access

Request access with the Contact Support button in Google Pay and Wallet Console. Select Google Wallet API as the topic first, and then select App linking as the support type.

For a given Google Wallet pass, define appLinkData to set the URI of your app or website. The URI can be any format, but we recommend that you use a dynamic link.

The format and context of the appLinkData field can be seen in the following source code:

{
  "id": string,
  "classId": string,
  …
  …
  …
  "appLinkData": {
    "androidAppLinkInfo": {
      "appLogoImage": {
        "sourceUri": {
          "uri": string
        }
      },
        "title": {
          "defaultValue": {
            "language": string,
              "value": string
          }
        },
          "description": {
            "defaultValue": {
              "language": string,
                "value": string
            }
          },
            "appTarget": {
              "targetUri": {
                "uri": string,
                  "description": string
              }
            }
    }
  }
  …
  …
  …
}