import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type GetIncomingPaymentTransactionInput = { id: string } const getIncomingPaymentTransaction = (http: HttpClient) => ({ query: ( input: GetIncomingPaymentTransactionInput, ): Promise> => { return http.get( `v3/admin/exports/incoming_payment_transactions/${input.id}`, { responseType: 'blob' }, ) }, }) export default getIncomingPaymentTransaction