{"section":"announcements","requestedLocale":"en","requestedSlug":"2025-02-20-pix-new-qr-code-expiration-setting","locale":"en","slug":"2025-02-20-pix-new-qr-code-expiration-setting","path":"docs/en/announcements/2025/february/2025-02-20-pix-new-qr-code-expiration-setting.md","branch":"main","content":"To improve payment operations on the platform, VTEX will implement a new setting for customizing the expiration time of the Pix QR Code (a Brazilian payment method).\n\n## What will change?\n\nCurrently, the Pix QR Code is available to the user for 10 minutes on the screen, while the payment can be completed in a maximum of 15 minutes. After this window, the order is canceled, and the user must make a new purchase.\n\n![PIX QR Code](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/announcements/2025/february/2025-02-20-pix-new-qr-code-expiration-setting_1.png)\n\nAfter __March 26, 2025__, the Pix QR Code expiration can be set to any value between 15 and 60 minutes, allowing customers greater payment flexibility.\n\nTo configure the new Pix QR Code expiration, the payment provider must indicate the desired time, in seconds, in the `delayToCancel` field in the [Create Payment](https://developers.vtex.com/docs/api-reference/payment-provider-protocol#post-/payments) endpoint for every new transaction.\n\nExample:\n\nIf you want all new Pix QR Code payments generated by the store to be paid within 30 minutes (1,800 seconds), the `delayToCancel` field needs to have the value `1800` in the provider response.\n\n## What needs to be done?\n\nBefore __March 26, 2025__, check if the store payment provider is completing `delayToCancel` field in the authorization responses and follow the guidelines below:\n\n- __The `delayToCancel` field of the [Create Payment](https://developers.vtex.com/docs/api-reference/payment-provider-protocol#post-/payments) endpoint is returning a value less than or equal to 15 minutes (900 seconds) for Pix__: No action is required. Expiration will remain set to 15 minutes. If you want to change this period, contact your payment provider to request the change to the desired value.\n\n- __The `delayToCancel` field of the [Create Payment](https://developers.vtex.com/docs/api-reference/payment-provider-protocol#post-/payments) endpoint is returning a value greater than 15 minutes (900 seconds) for Pix__: Check if the declared value meets the current needs of the store and, if necessary, contact the payment provider to change it.\n\n> ⚠️ The configured value must be between 15 minutes (900 seconds) and 60 minutes (3600 seconds).\n\nAfter __March 26, 2025__, the Pix QR Code expiration will be set to the value returned by your payment provider in the `delayToCancel` field of the [Create Payment](https://developers.vtex.com/docs/api-reference/payment-provider-protocol#post-/payments) endpoint."}