For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

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.

Name
Value

Content-Type

application/json

Authorization

Bearer eyJhbGciOiJ.....

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
statusReasonstringOptional

It can be used to provide additional context for the transaction status..

Example: Payment completed successfully
Responses
200

Transaction status updated successfully

application/json
successbooleanOptionalExample: true
messagestringOptionalExample: Transaction status updated successfully
post/api/v2/fraud-detector/transaction/notify
POST /api/v2/fraud-detector/transaction/notify HTTP/1.1
Host: secctrl.tutelar.io
Content-Type: application/json
Accept: */*
Content-Length: 120

{
  "orderId": "ORD_10726",
  "status": "success",
  "transactionId": "trans_61761",
  "statusReason": "Payment completed successfully"
}
{
  "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