# MD for: https://www.mercadopago.com.ar/developers/en/docs/checkout-pro-orders/additional-settings/change-expiration-date.md \# Change expiration date The expiration date represents the maximum deadline to complete a payment. With Checkout Pro, you can customize the default expiration date for offline payments using the \`config.default\_payment\_due\_date\` field in the order creation request. > WARNING > > The compensation period is 2 business hours depending on the payment method chosen. Therefore, we recommend setting the expiration date at least 3 days ahead to ensure the payment is completed. Additionally, if the payment is made after the expiration date, the amount will be returned to the payer's Mercado Pago account. It is not possible to change the expiration date of an already existing order. The \`config.default\_payment\_due\_date\` field accepts values in ISO 8601 format. For example, \`P1D\` equals 1 day from the order creation. To configure the expiration date, include the \`config.default\_payment\_due\_date\` field when sending the request to the :TagComponent{tag="API" text="Create order" href="/developers/en/reference/online-payments/checkout-pro/create-order/post"} endpoint. \`\`\`curl curl -X POST \\ -H 'accept: application/json' \\ -H 'Content-Type: application/json' \\ -H 'Authorization: Bearer ENV\_ACCESS\_TOKEN' \\ -H 'X-Idempotency-Key: UNIQUE\_KEY' \\ 'https://api.mercadopago.com/v1/orders' \\ -d '{ "type": "online", "processing\_mode": "manual", "total\_amount": "1000.00", "external\_reference": "order\_pro\_123", "payer": { "email": "buyer@email.com" }, "items": \[ { "title": "My product", "unit\_price": "1000.00", "quantity": 1, "unit\_measure": "unit", "total\_amount": "1000.00" } \], "config": { "default\_payment\_due\_date": "P3D" } }' \`\`\`