Adding a Google Wallet Issuer

Before you can create a Pass Template and begin issuing passes, you must upload an Google Wallet Issuer to your Badge workspace.

⚠️

If you are looking to configure a single issuer for a workspace we recommend using the UI: Adding Issuers using the UI

In order to issue passes in Google Wallet, Google requires that you have a Google Pay Merchant Account account.

ℹ️

Google Pay Merchant Account

Create a Google Pay Merchant Account if you do not already one.

Once created, follow the steps below so that you may begin issuing Google Wallet passes on the Badge platform.

Step 1 - Invite the Badge Service Account to your Google Pay Merchant Account

  1. Use the Badge API to get the service account email for your workspace:

    curl --request GET \
         --url https://api.trybadge.com/v0/workspace/googleWalletServiceAccount \
         --header 'accept: application/json' \
         --header 'authorization: Bearer your-workspace-api-key'
  2. In the Google Pay Console navigate to the Users page and Invite a user with service account email. Choosing an Access Level of Developer or Admin. We recommend inviting Badge as an Admin so that our platform can automatically request quota increases from Google.

Step 2 - Add your Google Wallet Issuer to your Badge Workspace

  1. Navigate to the Google Wallet API page and click Build your first pass. Accept the terms of service to continue.

  2. Find your Issuer ID.

  3. Use the Badge API to add this issuer to your Badge workspace:

    curl --request POST \
        --url https://api.trybadge.com/v0/googleIssuers \
        --header 'accept: application/json' \
        --header 'authorization: Bearer your-workspace-api-key' \
        --header 'content-type: application/JSON' \
        --data   '{"identifier": "ISSUER_ID"}'

Congrats! You've completed the Google Issuer creation process, and you are now ready to begin creating Pass Templates.



Did this page help you?