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.
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.
"date_of_expiration": "2020-05-30T23:59:59.000-04:00"
The date uses the ISO 8601 format: yyyy-MM-dd'T'HH:mm:ssz.