Widget configuration

The widget’s colors can be customized with a request to the API. All of the below parameters must be a hexadecimal color code.

The widget configuration object

Fields
modestring
The mode of the application token that is set on the widget.
recurring_token_privilegestring
The recurring token privileges of the store. One of none, bounded, or infinite.
namestring
The store’s name.
card_configuration.enabledboolean
Whether cards are enabled as a payment method on this store.
card_configuration.debit_enabledboolean
Whether debit cards are accepted.
card_configuration.prepaid_enabledboolean
Whether credit cards are accepted.
card_configuration.forbidden_card_brandsarray[string]
A list of card brands that are not allowed for use by this store.
card_configuration.allowed_countries_by_iparray[string]
A list of countries whose IP addresses are not allowed to make charges.
card_configuration.foreign_cards_allowedboolean
Whether foreign cards are accepted. A foreign card is a card whose country is not the same as the store’s country.
card_configuration.fail_on_new_emailboolean
Whether to allow cards that have been previously used with a specific email address, be rejected if a different email address is used.
card_configuration.card_limit.amountnumber
The amount to limit per card for the defined duration.
card_configuration.card_limit.currencystring
The currency to that the amount is defined in.
card_configuration.card_limit.durationstring (ISO-8601)
The duration in which to compare with the amount.
card_configuration.allow_empty_cvvboolean
Whether to enable CVV checking for card charges.
qr_scan_configuration.enabledboolean
Whether QR codes are usable as a payment method on this store.
qr_scan_configuration.forbidden_qr_scan_gatewaysarray[string]
A list of payment gateways that will not be used for processing QR code payments.
convenience_configuration.enabledboolean
Whether convenience store payments are usable as a payment method on this store.
logo_urlstring
A URI pointing to an image file that represents the store’s logo.
widget_configuration.colors.main_backgroundstring (HexColor)
Main background color.
widget_configuration.colors.secondary_backgroundstring (HexColor)
Secondary background color.
widget_configuration.colors.main_colorstring (HexColor)
Main color.
widget_configuration.colors.primary_textstring (HexColor)
Primary text color.
widget_configuration.colors.secondary_textstring (HexColor)
Secondary text color.
widget_configuration.colors.base_textstring (HexColor)
Base text color.