UNPKG

@marceloclp/monzojs

Version:

Unofficial wrapper for the Monzo API written in TypeScript.

8 lines (7 loc) 383 B
import { Monzo, MonzoAPI } from '../types'; /** * Returns a list of accounts owned by the currently authorised user. * * @see https://docs.monzo.com/#list-accounts */ export declare const getAccounts: <T extends Monzo.Accounts.Types = Monzo.Accounts.Types>(accessToken: string, { accountType }: MonzoAPI.Accounts.GetAccountsParams<T>) => Promise<Monzo.Accounts.GetAccount<T>[]>;