Cancellations - NodeJS - Mercado Pago Developers
Which documentation are you looking for?

Do not know how to start integrating? 

Check the first steps

Create cancellation

It is possible to cancel a specific purchase from the payment ID using the SDK below. For details on request parameters, check the Cancellation API.


const client = new MercadoPagoConfig({ accessToken: 'ACCESS_TOKEN' });
const payment = new Payment(client);

	id: '<PAYMENT_ID>',
	requestOptions: {
		idempotencyKey: '<IDEMPOTENCY_KEY>'