asaas
Version:
Unofficial Asaas Payment Gateway SDK
12 lines (11 loc) • 779 B
TypeScript
import { AxiosInstance } from 'axios';
import { IAsaasDeleteResponse, IAsaasPaymentBoletoResponse, IAsaasPaymentInstallment, IAsaasPaymentResponse, IInstallmentsParams, IListAsaasInstallmentsResponse, IListInstallmentsParams, APIOptions } from '../types/AsaasTypes';
import { BaseAPI } from './BaseAPI';
export declare class InstallmentsAPI extends BaseAPI {
constructor(apiClient: AxiosInstance, options?: APIOptions);
list(params?: IListInstallmentsParams): Promise<IListAsaasInstallmentsResponse>;
getById(id: string): Promise<IAsaasPaymentInstallment>;
paymentBook(id: string, params?: IInstallmentsParams): Promise<IAsaasPaymentBoletoResponse>;
delete(id: string): Promise<IAsaasDeleteResponse>;
refund(id: string): Promise<IAsaasPaymentResponse>;
}