UNPKG

mercadopago

Version:
11 lines (10 loc) 396 B
import { OrderCaptureClient } from './types'; import { OrderResponse } from '../commonTypes'; /** * Capture an authorized order, confirming the payment settlement. * * Only applicable to orders created with `capture_mode: "manual"`. * * @returns The updated order with captured payment status. */ export default function capture({ id, config }: OrderCaptureClient): Promise<OrderResponse>;