UNPKG

open-banking-pfm-sdk

Version:

The Open Banking PFM SDK uses Client classes and with **Promises** to get responses from the Open Banking PFM API in an easier way and structured as data models.

9 lines (8 loc) 265 B
import { Credit, CreditBalance } from 'models'; export default interface ICreditsClient { getList: (userId: number | string, cursor?: number) => Promise<{ data: Credit[]; totalBalance: CreditBalance; nextCursor: number | null; }>; }