Overview
In addition to Instant Account Funding (PULL from card) with an external card-on-file or with Apple Pay, Synctera offers Instant Account Funding with Google Pay using an external card that the user has added to their Google Wallet. Through this method, transactions are are securely processed with Google Pay’s encryption and authentication features, such as Face ID or Touch ID.
📘 While this guide focuses on web implementation, the conceptual framework applies similarly to Android.
Prerequisites
To perform Instant Account Funding with Google Pay, you must first:- Create a Customer
- Create an Account for the customer
- Have External Cards enabled with the help of your Synctera implementation representative
- Perform the necessary steps to enable payments through Google Pay:
- Setup your Google Pay environment
- Integrate with Google Pay to generate payment token:
- Present the Google Pay button in your app
- Present the payment sheet to the customer
- Receive payment token
Payment Flow
- User selects the Google Pay button
- Google Pay UI is displayed and user confirms payment
- Google Pay returns a payment token
- Your application sends the token to your server
- Your server requests a transaction with Synctera using the token
- Synctera’s payment gateway processes the transaction
- A response containing the transaction outcome is returned
Set up your Google Pay environment
1. Set up a Google Pay merchant account
To enable account funding through Google Pay, you need to set up Google Pay for Business. Please follow these instructions.
📘
A Google Pay merchant account is not required for TEST environment
Integrate with Google Pay to generate payment token
1. Include the Google Pay API JavaScript
2. Define payment configuration
allowedCardNetworks: Specify VISA and MASTERCARD
allowedCardAuthMethods: Specify both PAN_ONLY and CRYPTOGRAM_3DS
tokenizationSpecification:
gateway: SpecifytabapaygatewayMerchantID: Obtain from your Synctera Implementation representative
3. Display the Google Pay button
4. Process the Payment
Use the Google Pay payment token to initiate payment
Now that you have generated an Google Pay payment token through your app, your server may request an instantPULL payment using the token. Synctera’s payment gateway will then process the payment, and return the outcome to your app.
Call Create Google Pay External Card Transfer
Example request:
google_pay_payment_data is populated from paymentData received from Google. Note that the encrypted payment token (paymentData.paymentMethodData.tokenizationData.token) must not be altered and passed exactly as is.
Example response:
status field of the response indicates the outcome of the transaction:
SUCCEEDED: The transaction was successful and funds are available - terminal statusDECLINED: The transaction could not be completed due to a specific rule (e.g. low balance or velocity control) - terminal statusCANCELED: The transaction could not be completed due to error (e.g. upstream processing error) - terminal statusUNKNOWN: The transaction status is indeterminate - non-terminal statusPENDING: The transaction has been initialized - non-terminal status
Sandbox Testing
- Use the
TESTenvironment for development - Google provides test cards for different scenarios

