UNPKG

mercadopago

Version:
12 lines (11 loc) 438 B
import { OrderProcessClient } from './types'; import { OrderResponse } from '../commonTypes'; /** * Process an order, triggering payment execution for its transactions. * * The order must already contain at least one payment transaction * before it can be processed. * * @returns The updated order with the resulting payment statuses. */ export default function process({ id, config }: OrderProcessClient): Promise<OrderResponse>;