Idempotency

The Cards Acceptance API supports idempotency for safely retrying requests without accidentally performing the same operation twice

To perform an idempotent request, provide theX-CORRELATION-IDelement in the request headers

All POST requests accept idempotency keys. Don’t send idempotency keys in GET and DELETE requests because it has no effect. These requests are idempotent by definition.


Important Note:

invoiceNumber needs to also be unique for every payment request. See the Charge Payment API request payload.