How to implement retries
During the course of submitting a payment or refund request it is possible that communications could be interrupted in such a way that you do not receive a response to your request. In order to prevent duplicate submissions of the same request you can supply a replay id parameter to both payments and refunds.
This diagram shows how you should employ the replay id to prevent duplicate submissions.
