Last updated

Transaction Status Webhooks

NoFraud can update your system whenever a transaction with a status of review is updated to pass, fail, or fraudulent.

When a transaction under review has a status update, NoFraud will make an API call to your webhook endpoint via a GET, POST, or PUT/PATCH method.

If you have an API endpoint already built out, please contact support@nofraud.com to inform our team of your current endpoint, HTTP method, headers, and body for the request.

If you would like to build out an API endpoint to support NoFraud, you can do so via our generic process as outlined below:

Endpoint

https://www.endpoint-example.com

Method

NoFraud can send the webhook as a GET, POST, or PUT/PATCH method.

Headers

By default, NoFraud will not include any headers in the HTTP requests made to your system. However, NoFraud can include any headers required by your system in order to make the necessary API call.

Body

Only required for POST and PUT/PATCH methods. The body should contain the fields necessary for your system to update the necessary transaction. In the very least, the body should include a reference to the order number and a reference to the updated status.

If you're unsure, you can use the following structure:

{
  "id":%transaction_url%,
  "decision":%status%,
  "invoiceNumber":%invoice_number%
}