When creating a Client Session, additional options can be passed in paymentMethod.options to modify the behaviour of the payment methods that would be shown on Universal Checkout.
Pass the additional options like so:
{
/* Other client session options... */
"paymentMethod": {
"options": {
"GOOGLE_PAY": { /* Options for Google Pay */ },
"APPLY_PAY": { /* Options for Apple Pay */ }
}
}
}
<aside> ❕ Currently the only supported use for the payment methods option is for surcharging. Find out more here.
</aside>
The current list of supported payment methods can be found here.