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
- Recurring API: Charge states
- eCom API: Get payment details
Our general guidelines for polling are:
- Start after 5 seconds
- Check every 2 seconds
However, different merchants have different use cases, and values should be adapted to the specific case.
Some APIs provide webhooks 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.
For long-living payment requests, you should not use above mentioned polling guidelines as instant payment status is not needed for this type of payment. Instead you can rely on the webhooks. If needed you can check status once a day or on adhoc basis.
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.
For more details about rate limiting, see the relevant API details:
Related topic: Timeouts