# Other methods

### .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.

```javascript
instantor.getBankList(callbackFunction(payload))
```

Where payload has the following format:

```javascript
{
  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.

```javascript
instantor.destroy()
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://instantor.gitbook.io/instantor-api-docs/javascript-api/other-methods.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
