Nonce

Field in payments

In our payments API we ask for a field named nonce to be included in the payload. This field is intended as a unique identifier for the payment to prevent duplicates. Many times we can receive duplicate requests for a payment and making sure this field is unique to the payment will prevent making duplicate payments.

We usually suggest our customers use a combination of their internal payment ID, their company name and the internal contractor ID, so an example nonce might look something like 345345-company-5435 - this way you can send the payment as many times as you like and we will only send the actual payment once.

If we do receive a duplicate request with the same nonce we will still return the original payload to make sure you get the data you need for that payment.