> **Description:** Best practices for implementing efficient polling strategies to check payment status, including optimal intervals and error handling approaches.

# Polling guidelines

To find out if a user has approved a request, you will need to poll for the response through the API:

* ePayment API: [Get the payment](https://developer.vippsmobilepay.com/docs/APIs/epayment-api/api-guide/operations/get_info.md)
* Recurring API:  [Charge states](https://developer.vippsmobilepay.com/docs/APIs/recurring-api/recurring-api-guide.md#charge-states)
* eCom API:  [Get payment details](https://developer.vippsmobilepay.com/docs/APIs/ecom-api/vipps-ecom-api.md#get-payment-details)

Our general guidelines for polling are:

1. Start after 5 seconds
2. Check every 2 seconds

However, different merchants have different use cases,
and values should be adapted to the specific case.

Some APIs provide [webhooks](https://developer.vippsmobilepay.com/docs/APIs/webhooks-api/README.md) and callbacks,
but you shouldn't rely on these alone if you need real-time data.
As backup, you should implement polling in case of delayed webhooks and callbacks.

## Rate limits

Some APIs limit the rate of polling to prevent incorrect use.
If you get a `HTTP 429 Too Many Requests` error, please try to reduce
your polling speed. See
[HTTP 429 Too many requests](https://developer.vippsmobilepay.com/docs/knowledge-base/errors.md#http-429-too-many-requests) for
more information.

For more details about rate limiting, see the relevant API details:

* [ePayment API rate limiting](https://developer.vippsmobilepay.com/docs/APIs/epayment-api/api-guide/errors.md#rate-limiting)
* [Recurring API rate limiting](https://developer.vippsmobilepay.com/docs/APIs/recurring-api/recurring-api-guide.md#rate-limiting)
* [eCom API rate limiting](https://developer.vippsmobilepay.com/docs/APIs/ecom-api/vipps-ecom-api.md#rate-limiting)

Related topic: [Timeouts](https://developer.vippsmobilepay.com/docs/knowledge-base/timeouts.md)

> **Full site overview:** For every page in this documentation, read [https://developer.vippsmobilepay.com/llms.txt](https://developer.vippsmobilepay.com/llms.txt).
