asaaas
Version:
Unofficial Asaas Payment Gateway SDK
10 lines (9 loc) • 497 B
TypeScript
import { IAccountResponse, IAccountResponseWithApiKey, ICreateAccountParams, IListAccountsParams, IListAccountsResponse } from '@/types/AccountTypes';
import { AxiosInstance } from 'axios';
export declare class AccountsAPI {
private apiClient;
constructor(apiClient: AxiosInstance);
create(params?: ICreateAccountParams): Promise<IAccountResponseWithApiKey>;
list(params?: IListAccountsParams): Promise<IListAccountsResponse>;
getById(id: string): Promise<IAccountResponse>;
}