---
updatedAt: 2026-03-02T15:55:00.000Z
agentTools:
  projectIndex: https://docs.br-dge.io/llms.txt
---

# Google Pay

See the [Google Pay<sup>TM</sup> Feature Page] for more information and options on how to integrate Google Pay with BR-DGE.

## Integration Directly With the Google Pay API

### Set up with Google Pay

Follow the procedure in the Google Pay documentation to integrate your [web] or [Android] application.

In the step where you choose a payment tokenization method, choose `Gateway`, then set `comcarde` as
your gateway, if you have not been provided with a `gatewayMerchantId` parameter, please get in [contact with support].

### Use BR-DGEs REST API

After you [Set up with Google Pay], you can use BR-DGEs REST API to send payments.
If you integrate directly with the Google Pay API you will need to supply the [web][webPaymentData]
or [Android][AndroidPaymentData] `PaymentData` object as a JSON encoded string.
Please see the `Payment with Google Pay Payment Instrument` example request in [POST /v1/payments] for more information.

Example:

```json
{
  "paymentInstrument": {
    "type": "googlePay",
    "nonce": "{\"apiVersion\":2,\"apiVersionMinor\":0, \"paymentMethodData\"..."
  }
  ...
}

```

## Testing Google Pay

See the [Testing Google Pay] page for more information on:

* Testing against a PSP sandbox.
* Testing against a mock sandbox.

[Google Pay<sup>TM</sup> Feature Page]: features-google-pay

[Testing Google Pay]: testing-google-pay

[POST /v1/payments]: /reference/createpaymentusingpost

[Set up with Google Pay]: #set-up-with-google-pay

[web]: https://developers.google.com/pay/api/web/guides/setup

[Android]: https://developers.google.com/pay/api/android/guides/setup

[webPaymentData]: https://developers.google.com/pay/api/web/reference/response-objects#PaymentData

[AndroidPaymentData]: https://developers.google.com/android/reference/com/google/android/gms/wallet/PaymentData

[contact with support]: support#contact_support