UNPKG

@mft/moneyhub-api-client

Version:
16 lines 932 B
import { ApiResponse, ExtraOptions } from "../../request"; import { PaymentsClaims, RecurringPaymentRequest, RecurringPaymentSearchParams } from "../../schema/payment"; export interface RecurringPaymentsRequests { getRecurringPayments: (params?: RecurringPaymentSearchParams, options?: ExtraOptions) => Promise<ApiResponse<RecurringPaymentRequest[]>>; getRecurringPayment: ({ recurringPaymentId, }: { recurringPaymentId: string; }, options?: ExtraOptions) => Promise<ApiResponse<RecurringPaymentRequest>>; makeRecurringPayment: ({ recurringPaymentId, payment, }: { recurringPaymentId: string; payment: PaymentsClaims; }, options?: ExtraOptions) => Promise<ApiResponse<RecurringPaymentRequest>>; revokeRecurringPayment: ({ recurringPaymentId, }: { recurringPaymentId: string; }, options?: ExtraOptions) => Promise<number>; } //# sourceMappingURL=recurring-payments.d.ts.map