[ Web Proxy ]
URL:
Viewing: https://developer.squareup.com/reference/sdks/web/payments/objects/AfterpayCheckoutWidgetOptions [Back]  [Original]

AfterpayCheckoutWidgetOptions Object - Square Web Payments SDK Reference

#
AfterpayCheckoutWidgetOptions

Options for the Checkout Widget to better customize it.

Properties

#
border boolean

If false, the border around the widget container is removed. Defaults to true. Note: Argument will only have effect when widget is loaded in US locales.

#
heading boolean

If false, the heading Your 4 interest-free payments is removed. Defaults to true. Note: Argument will only have effect when widget is loaded in US locales.

#
includeBranding boolean

A flag on whether to include the Afterpay/Clearpay branding at the top of the widget. Defaults to true.

#
theme "CLASSIC" | "TIMELINE" | "COLLAPSIBLE" | "MODAL"

Customizes the look of the checkout widget. Defaults to 'CLASSIC'. See theme descriptions here: https://developers.afterpay.com/docs/api/api-development/checkout-widget#style-attributes Note: Argument will only have effect when widget is loaded in US locales.


Web Proxy Viewer  |  New URL  |  Original Page