asaas
Version:
Unofficial Asaas Payment Gateway SDK
11 lines (10 loc) • 598 B
TypeScript
import { IAccountResponse, IAccountResponseWithApiKey, ICreateAccountParams, IListAccountsParams, IListAccountsResponse } from '@/types/AccountTypes';
import { AxiosInstance } from 'axios';
import { BaseAPI } from './BaseAPI';
import { APIOptions } from '@/types/AsaasTypes';
export declare class AccountsAPI extends BaseAPI {
constructor(apiClient: AxiosInstance, options?: APIOptions);
create(params?: ICreateAccountParams): Promise<IAccountResponseWithApiKey>;
list(params?: IListAccountsParams): Promise<IListAccountsResponse>;
getById(id: string): Promise<IAccountResponse>;
}