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.
Body
orderIdstringRequiredExample:
A unique identifier for the order associated with the transaction. It helps in tracking and referencing the specific order within the system.
ORD_10726
statusstring · enumRequiredExample:
Indicates the completion status of the transaction. For a successful transaction, send the value "success". For all other cases, send the value "failure".
success
Possible values: transactionIdstringRequiredExample:
A unique identifier for the transaction within the system. It is used to track and reference the specific transaction details.
trans_61761
Responses
200
Transaction status updated successfully
application/json
400
If an invalid status is provided.
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