asaas
Version:
Unofficial Asaas Payment Gateway SDK
13 lines (12 loc) • 743 B
TypeScript
import { ICreateTransferParams, IListTransfersResponse, ITransferResponse, IListTransfersParams, ICreateInternalTransferParams } from '@/types/TransferTypes';
import { AxiosInstance } from 'axios';
import { APIOptions } from '../types/AsaasTypes';
import { BaseAPI } from './BaseAPI';
export declare class TransfersAPI extends BaseAPI {
constructor(apiClient: AxiosInstance, options?: APIOptions);
create(params?: ICreateTransferParams): Promise<ITransferResponse>;
list(params?: IListTransfersParams): Promise<IListTransfersResponse>;
createInternal(params?: ICreateInternalTransferParams): Promise<ITransferResponse>;
getById(id: string): Promise<ITransferResponse>;
cancel(id: string): Promise<ITransferResponse>;
}