Optional. Forces a specific payment method instead of letting the customer choose on the payment page. Use 'stripe_credit' for card payments.
paymentMethodId: 'stripe_credit'
Leave it out to show the customer every method available for their country and currency. Use getPaymentsMethods() to discover available payment method IDs.
When you specify a paymentMethodId for a redirect-based payment provider (like Zen, Nicepay, PayPal, etc.), the SDK will automatically redirect the customer directly to the payment provider, bypassing the Payviox payment page entirely.
This feature works automatically when using redirect: true or iframeMode: true with a redirect-based provider.
If the payment initiation fails, the SDK will fall back to the standard Payviox payment page where the customer can try again or choose another payment method.