Reference
All the functions and properties available on the stub SDK
Initialisation
stub.init(options)
stub.init(options)window.stub.init({
appId: '<appid>', // required
businessId: '<businessid>',// required
token: '<token>', // required
test: false,
month: 1,
year: 2025,
colours: ['#00A86B', '#6477E3'],
font: "'Public Sans', Arial, sans-serif",
emptyImage: {
light: 'https://your.site/light.png',
dark: 'https://your.site/dark.png'
},
renderImmediately: false
});Core methods
Bank actions
Events
TypeScript usage
Last updated