Best practices on handling retries in an idempotent way.
POST /transactions
endpoint supports idempotent requests.Idempotency-Key
header in the
request.
POST transactions
call.Idemoptency-Key
as a previous
request, and the original request is still being processed, you will receive an
error. You can safely retry this request. We recommend applying an exponential
back-off when retrying transactions.
Idempotency-Key
as a previous
request, and the request is not the same (for example, the request body is
different), you will receive an error. Retrying this request will not change the
error response. You should check your request.