Notify Transaction

By utilizing the Notify Transaction API, the client can submit the transaction status of a previously requested transaction. Tutelar will only consider the transaction closed upon successful payment, which triggers the notify transaction process.

Notify transaction status

post
Body
orderIdstringRequired

A unique identifier for the order associated with the transaction. It helps in tracking and referencing the specific order within the system.

Example: ORD_10726
statusstring · enumRequired

Indicates the completion status of the transaction. For a successful transaction, send the value "success". For all other cases, send the value "failure".

Example: successPossible values:
transactionIdstringRequired

A unique identifier for the transaction within the system. It is used to track and reference the specific transaction details.

Example: trans_61761
Responses
200
Transaction status updated successfully
application/json
post
POST /api/v1/fraud-detector/transaction/notify HTTP/1.1
Host: secctrl.tutelar.io
Content-Type: application/json
Accept: */*
Content-Length: 72

{
  "orderId": "ORD_10726",
  "status": "success",
  "transactionId": "trans_61761"
}
{
  "success": true,
  "message": "Transaction status updated successfully",
  "data": {
    "orderId": "ORD_10726",
    "requestedDateTime": "2023-09-11T11:35:01.403Z",
    "responseDateTime": "2023-09-11T11:35:01.498Z",
    "processedTime": 95
  }
}

Last updated