mercadopago
Version:
Mercadopago SDK for Node.js
12 lines (11 loc) • 482 B
TypeScript
import type { PaymentResponse } from '../commonTypes';
import type { PaymentUpdateClient } from './types';
/**
* Update a payment by its identifier.
*
* @param id - Identifier of the payment to update.
* @param body - Fields to update on the payment resource.
* @param config - SDK configuration including the access token.
* @returns The updated payment resource.
*/
export default function update({ id, body, config }: PaymentUpdateClient): Promise<PaymentResponse>;