Skip to main content
Our APIs support idempotency for safely retrying requests without accidentally duplicating the result. This can be helpful when your API call fails and you aren’t sure if we received the request. Idempotency enables you to retry a request without worrying it will create a duplicate transaction. To perform an idempotent request, provide an additional Idempotency-Key: <key> header to the request for the endpoint that supports it. The <key> can be any string that uniquely identifies your request. Results of successful requests with Idempotency-Key will be saved and returned on every subsequent request with the same Idempotency-Key. If you send the same Idempotency-Key with different parameters, the request fails with the already_performed error and has no effect.
We reserve the right to expire idempotency keys after 30 days.