asaas
Version:
Unofficial Asaas Payment Gateway SDK
17 lines (16 loc) • 1.05 kB
TypeScript
import { IAccountFeesResponse, IAccountNumberResponse, IAccountStatus, ICommercialInfoResponse, IDeleteAccountResponse, IListAccountWallets, IPaymentCheckoutConfigResponse, IUpdateCommercialInfo, IUpdatePaymentCheckoutConfig } from '@/types';
import { AxiosInstance } from 'axios';
import { BaseAPI } from './BaseAPI';
import { APIOptions } from '@/types/AsaasTypes';
export declare class MyAccountAPI extends BaseAPI {
constructor(apiClient: AxiosInstance, options?: APIOptions);
commercialInfo(): Promise<ICommercialInfoResponse>;
updateCommercialInfo(params?: IUpdateCommercialInfo): Promise<ICommercialInfoResponse>;
updatePaymentCheckoutConfig(params?: IUpdatePaymentCheckoutConfig): Promise<IPaymentCheckoutConfigResponse>;
paymentCheckoutConfig(): Promise<IPaymentCheckoutConfigResponse>;
accountNumber(): Promise<IAccountNumberResponse>;
fees(): Promise<IAccountFeesResponse>;
status(): Promise<IAccountStatus>;
walletIds(): Promise<IListAccountWallets>;
delete(): Promise<IDeleteAccountResponse>;
}