UNPKG

asaaas

Version:

Unofficial Asaas Payment Gateway SDK

12 lines (11 loc) 641 B
import { ICreateTransferParams, IListTransfersResponse, ITransferResponse, IListTransfersParams, ICreateInternalTransferParams } from '@/types/TransferTypes'; import { AxiosInstance } from 'axios'; export declare class TransfersAPI { private apiClient; constructor(apiClient: AxiosInstance); 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>; }