mercadopago
Version:
Mercadopago SDK for Node.js
9 lines (8 loc) • 433 B
TypeScript
import type { CancelPaymentIntentResponse } from '../commonTypes';
import type { PointCancelPaymentIntentClient } from './types';
/**
* Cancel a pending payment intent on the specified Point device.
*
* @returns Confirmation containing the cancelled payment intent ID.
*/
export default function cancelPaymentIntent({ device_id, payment_intent_id, config }: PointCancelPaymentIntentClient): Promise<CancelPaymentIntentResponse>;