Instantor API docs
  • Introduction
  • Getting started
  • Widget implementation
    • A step-by-step guide
  • Widget configuration
    • Identify your customer
    • Pre-select a bank
    • Listen to Widget events
    • Other methods
  • Report delivery
    • Delivery introduction
    • Delivery methods
    • Report example
    • Report status definitions
Powered by GitBook
On this page
  • .getBankList
  • .destroy

Was this helpful?

  1. Widget configuration

Other methods

Additional methods that can be used in combination with the Widget.

.getBankList

The getBankList method fetches all available banks, and runs the callbackFunction with the response as argument. Be aware this methods requires Instantor to whitelist you. Please contact Instantor tech support when planning to use this method.

instantor.getBankList(callbackFunction(payload))

Where payload has the following format:

{
  banks: [
    {
      UUID: 'bank UUID',
      identification: 'bank identification string (bank abbreviation)',
      name: 'display bank name'
    }
    …
  ],
  tld: {
    name: 'TLD identification',
    count: number
  },
  status: true | false,
  errorMessage: 'error message'
}

.destroy

The destroy method dereferences the initialized <iframe>, removes the DOM element, removes all its referenced callback functions and event listeners.

instantor.destroy()
PreviousListen to Widget eventsNextDelivery introduction

Last updated 5 years ago

Was this helpful?