How does a payment method pass its configuration to the client side (JavaScript)?

See also: