Google Pay
Google PayTM enables customers to securely perform payments via the web or on an Android app with Payment methods already saved to their Google account. Customers can easily check out with just a few clicks, sometimes reducing the need to enter their payment and shipping information for each purchase.
BR-DGE offers multiple ways to integrate with Google Pay, so you can enable the feature in a way that suits you.
Enabling Google Pay Within Your BR-DGE Retail Channels
Please get in contact with support to add Google Pay to your BR-DGE retail channels.
Integration Options
BR-DGE offers Google Pay via our REST API, SDK and Hosted Payment Page.
API First
You can follow the official Google Pay documentation to integrate your web or Android application using BR-DGE as your gateway.
Please refer to our REST API - Google PayTM page for more information on this integration option.
REST API + SDK
You can let BR-DGE handle all interactions with Google by using the BR-DGE Web SDK.
The Web SDK will intelligently offer Google Pay if the feature is enabled on your BR-DGE Retail Channel and supported by your customer's device.
Please refer to our Web SDK - Google Pay module page for more information on this integration option.
REST API + Hosted Payment Page
The BR-DGE Hosted Payment Page will intelligently offer Google Pay to your customers if the feature is:
- Enabled on your BR-DGE Retail Channel.
- Supported by your customer's device.
- Enabled on your BR-DGE Hosted Payment Page order.
Please refer to our Hosted Payment Page - Digital Wallets page for more information on this integration option.
Query Card Metadata
You can use the POST /v1/payment-instruments/google-pay/query endpoint to look up metadata on the associated DPAN. This endpoint accepts the raw JSON from Google Pay, shown in our REST API - Google Pay page, or the BR-DGE token returned from our Web SDK, shown in Web SDK - Google Pay module page.
Where the decrypted Google Pay token is
PAN_ONLY
, the metadata would be returned for the PAN details.
Retrieve Payment Status
BR-DGE provides you with BIN lookup and the decrypted Google Pay payload through the GET /v1/payments/{paymentId}/status
endpoint.
You can use the GET /v1/payments/{paymentId}/status
endpoint to asynchronously obtain the status of a payment. When making a payment with Google Pay, this endpoint's response will include the enhanced paymentInstrument
field, containing:
- Extra card metadata
- Decrypted payload
Testing
See the Testing Google Pay page for more information on:
- Testing against a PSP sandbox.
- Testing against a mock sandbox.
Updated about 2 months ago