Skip to main content

Assets Keys

This table contains the resources for customizing the icons in the widget: To start you need the correct asset KEY with the URL, in the DESCRIPTION column you will find this key correspond to a PSP or a specific element used in the widget.

You can use these assets in the ui.assets.overrides object like below :

widgetManager.createWidget({
interface: "PAYMENT",
name: "my_widget_with_assets_overrides",
ui: {
assets: {
overrides: {
closeIcon: "https://link-to-image/asset.png",
creditcard: [
"https://link-to-image/visa.png",
"https://link-to-image/mastercard.png",
],
},
},
},
});

You can either use a URL or an internal link to your project to override assets. For example :

{
creditcard: "/src/img/assets/my-visa-asset.png"
}

Assets Keys

Asset KeyData TypeDescription
- amexURLAmerican Express icon
- cbURLCartes Bancaires icon
- creditcardURLCreditcard icon
- cvvURLCVV icon
- giftcardURLGiftcard icon
- greyBGURLUsed behind the form widget
- infoURL in the form widget
- infoFilledSVG, flat and filled, using currentColor
- mastercardURLMastercard icon
- visaURLVisa icon
- blueBGURLBackground image of the credit card during tokenization
- doNotDisturbURLNot currently used
- expressCheckoutURLNot currently used
- validIconURLValidation icon positioned in inputs after check
- errorIconURLInvalidation icon positioned in inputs after check
- successFilledSVG icon, round, flat and filled, using currentColor
- warningFilledSVG icon, flat and filled, using currentColor
- bin-hoverURLGarbage can icon to delete token on hover
- binURLGarbage can icon to delete token
- edit-hoverURLEdit icon to edit a token on hover
- editURLEdit icon to edit a token
- alertURLAlert icon positioned in inputs after check
- closeIconURLClose icon (not currently used)
- lockURLPadlock icon
- fintectureURLPSP
- illicadoURLPSP
- floaURLPSP
- oneyCb10xURLPSP
- oneyCb10xsansfraisURLPSP
- oneyCb12xURLPSP
- oneyCb12xsansfraisURLPSP
- oneyCb3xURLPSP
- oneyCb3xsansfraisURLPSP
- oneyCb4xURLPSP
- oneyCb4xsansfraisURLPSP
- oneyPaylaterURLPSP
- oneycardURLPSP
- paypalURLPSP
- sepaURLPSP
- upstreampayURLPSP
- applePayURLPSP
- cofidisURLPSP
- cofidis3xURLPSP
- cofidis4xURLPSP
- cofidis512xURLPSP
- cofidisPayURLPSP
- klarnaURLPSP
- slimpayURLPSP
- fastForwardURLNot currently used
- googlePayURLGoogle's wallet logo
- shareURLShare icon
- scalapayURLScalapay icon
- payconiqURLPayconiq icon
- payconiqFrameURLPayconiq qr code frame image
- starURLStar icon
- add_token_button_iconURLOptional icon for the add token button
- checkbox-icon-checkedURLCheckbox icon when selected
- checkbox-icon-uncheckedURLCheckbox icon when unselected
- checkbox-icon-disabledURLCheckbox icon when disabled
- radio-icon-checkedURLRadio icon when selected
- radio-icon-uncheckedURLRadio icon when unselected
- radio-icon-disabledURLRadio icon when disabled