// javascript fragment
const container = document.getElementById('container');
const button = googlePayClient.createButton({
buttonColor: 'default',
buttonType: 'buy',
buttonRadius: 13,
buttonLocale: 'en',
onClick: () = {},
allowedPaymentMethods: [] // use the same payment methods as for the loadPaymentData() API call
});
container.appendChild(button);