# Timeout
source: https://developer.mastercard.com/account-to-account-commerce-for-dsp/documentation/use-cases/timeout/index.md

It is crucial to have a fast, secure, and satisfying user experience for our debtors. Keeping that in mind, the debtor service provider should respond within the interval configured at Mastercard.   

Mastercard has two expiry times:  

* **Retrieval Expiry Time** : The time window within which the payment request must be retrieved by the debtor service provider.   
* **Confirmation Expiry Time** : The time window within which the payment confirmation from the debtor service provider must be received by Mastercard.   

The retrieval expiry time is set at 250 seconds. The debtor service provider should make sure to initiate the payment retrieval request within 250 seconds from the moment the debtor is redirected to their app, failing which the request will timeout.   

Mastercard will send the confirmationExpiryTimeInterval in the payment retrieval response or a payment request for the debtor service provider to ensure they send the payment confirmation within that time interval. Late payment confirmation will be marked as "Late Authorized".

### Additional Information {#additional-information}

1. Look at the [API Reference page](https://developer.mastercard.com/account-to-account-commerce-for-dsp/documentation/api-reference/index.md) for information on how to implement this use case.
2. Look at the [Code and formats](https://developer.mastercard.com/account-to-account-commerce-for-dsp/documentation/code-and-formats/index.md) for acknowledgement responses and business rules.
