Circle APIs: Idempotent Requests
Ensure that you ensure your transactions are executed only once in case they need to be retried.
Circle APIs support idempotent requests, which are a type of request method that executes only once no matter how many times the request is sent. Result: you can safely retry API calls when things go wrong during a transaction (such as a network connection issue) before you receive a response.
- To ensure a request is idempotent, you must generate and provide an idempotency key formatted as a GUID.
- Subsequent requests with the same idempotencyKey parameter value will produce the same result as the initial request.
idempotencyKeybody parameter has to be sent in UUID format.
Operations that support idempotency
The following Circle API operations support idempotent requests. Check the API reference for more details.
Updated 4 days ago