POST
and PATCH
are not idempotent APIs. However, you may force Idempotency on these APIs by using the
X-Request-Id
request header, which contains a unique user-generated ID for the client that the serverrs stores for a
certain time window.
X-Request-Id
header in a request, Superpool returns
the latest status of the previous request that used that same header. Similarly, when you omit the X-Request-Id
header
from a request, the platform duplicates the request.
X-Request-Id
must be unique for each request and API call type. For example, do NOT use the same
request ids for purchase policy and authorize policy purchase (coming soon)X-Request-Id
value.