UNPKG

mercadopago

Version:
9 lines (8 loc) 303 B
import { OrderCancelClient } from './types'; import { OrderResponse } from '../commonTypes'; /** * Cancel an order that has not yet been captured. * * @returns The updated order with a `cancelled` status. */ export default function cancel({ id, config }: OrderCancelClient): Promise<OrderResponse>;