UNPKG

mercadopago

Version:
17 lines (16 loc) 678 B
import type { ChargebackResponse } from './commonTypes'; import type { ChargebackGetData } from './get/types'; import type { ChargebackSearchData, ChargebackSearchResponse } from './search/types'; import type { MercadoPagoConfig } from '../../mercadoPagoConfig'; export declare class Chargeback { private config; constructor(mercadoPagoConfig: MercadoPagoConfig); /** * Retrieve a single chargeback by its ID. */ get({ id, requestOptions }: ChargebackGetData): Promise<ChargebackResponse>; /** * Search chargebacks with optional filters. */ search(chargebackSearchOptions?: ChargebackSearchData): Promise<ChargebackSearchResponse>; }