Change expiration date - Additional settings - Mercado Pago Developers

Change expiration date

The expiration date represents the maximum deadline to make a payment. With Checkout Pro, you can customize the default expiration date for offline paymentsby using the date_of_expiration field in the preference creation request.

The crediting timeframe is up to 2 business hours depending on the payment method. Therefore, we recommend setting the expiration date at least 3 days apart to ensure payment is made. In addition, if payment is made after the expiration date, the amount will be refunded to the payer's Mercado Pago account.

To change the expiration date of an existing preference, send a PUT request to the endpoint /checkout/preferences/{id}API, including the date_of_expiration parameter with the new expiration date and time for the item.

The date uses the ISO 8601 format: yyyy-MM-dd'T'HH:mm:ssz.

"date_of_expiration": "2020-05-30T23:59:59.000-04:00"