3rd party cookies enabled: false

createButton() API variations

Buttons are always displayed regardless of the isReadyToPay outcome. If a payment method isn't available, a generic "Buy with GPay" button is shown.
All payment methods
Amex only
Mastercard only
Visa only

Button appearance

Payment configuration

allowedAuthMethods
existingPaymentMethodRequired
Set onPaymentAuthorized callback

API output

isReadyToPay request payload

      
isReadyToPay API response

      
paymentData response