Cost+ Docs

Google Pay

Accept Google Pay payments

Google Pay enables fast, secure checkout using cards stored in a customer's Google account.

Configuration

SettingValue
payment_method"google-pay"
Tokenization gateway"ginger"
Supported networksAmex, Mastercard, Maestro, Visa, V Pay

Authentication Methods

MethodDescription
PAN_ONLYUses the card number stored in Google. Requires 3D Secure authentication.
CRYPTOGRAM_3DSUses a device token with a 3DS cryptogram. No additional authentication needed.

Creating an Order

POST /v1/orders/
{
  "merchant_order_id": "order-123",
  "currency": "EUR",
  "amount": 2500,
  "return_url": "https://www.example.com",
  "webhook_url": "https://www.example.com/webhook",
  "transactions": [
    {
      "payment_method": "google-pay"
    }
  ]
}

Redirect the customer to the payment_url in the response to complete the Google Pay flow.

[!WARNING] You must follow Google Pay's brand guidelines and acceptable use policies when integrating Google Pay.

On this page