UNPKG

asaaas

Version:

Unofficial Asaas Payment Gateway SDK

16 lines (15 loc) 947 B
import { IAccountFeesResponse, IAccountNumberResponse, IAccountStatus, ICommercialInfoResponse, IDeleteAccountResponse, IListAccountWallets, IPaymentCheckoutConfigResponse, IUpdateCommercialInfo, IUpdatePaymentCheckoutConfig } from '@/types'; import { AxiosInstance } from 'axios'; export declare class MyAccountAPI { private apiClient; constructor(apiClient: AxiosInstance); 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>; }