error pending Transaction
PATCH/api/package/v1/transactions/error/:transactionId
change a Transaction status from pending to error
Request
Path Parameters
transactionId stringrequired
- application/json
Body
required
error object
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
projectId stringrequired
clientId stringrequired
serviceCode stringrequired
serviceName stringrequired
actionCode stringrequired
actionName stringrequired
isCore boolean
consumer string
status stringrequired
Possible values: [pending
, confirmed
, canceled
, error
]
score numberrequired
payload object
error object
createdAt date-timerequired
_id ObjectIdrequired
Possible values: Value must match regular expression ^[0-9a-fA-F]{24}
{
"projectId": "string",
"clientId": "string",
"serviceCode": "string",
"serviceName": "string",
"actionCode": "string",
"actionName": "string",
"isCore": true,
"consumer": "string",
"status": "pending",
"score": 0,
"payload": {},
"error": {},
"createdAt": "2024-11-12T11:02:55.919Z",
"_id": "string"
}
Loading...