Google Pay

The Urban Airship SDK provides tools to create Wallet passes and deep link them to Google Pay.

Create a pass request
Field field = new Field.Builder()
        .setValue("text value")
        .setLabel("text label")

PassRequest passRequest = PassRequest.newBuilder()
        .setAuth("User Name", "Urban Airship API key")
        .setTemplateId("template ID")
Execute the pass request to fetch a pass object
passRequest.execute(new Callback() {
                public void onResult(Pass pass) {
                  // Handle the pass

                public void onError(int errorCode) {
                    if (errorCode >= 500) {
                        // retry
Pass requests can be canceled at any time
Prompt the user to add the pass