The status of a transaction cannot be updated through the normal update process as you must call this resource to change the status. This resource will finalize all of the associated transaction tiers with the specified status code as well.
The list of valid status codes is defined in the Transaction.StatusCode property in the schema definitions.
Responses
-
The transaction was finalized. No response content.
-
Error Code 1006: Validation failed. See the Details property of the response for information on why the validation failed. Error Code 1008: Invalid operation. A common reason for this error is if the transaction has been synched with brokerWOLF.
-
The transaction could not be found. The primary office for the transaction must be an office with the Client Code used in the API authentication.
curl \
--request PUT 'https://api.globalwolfweb.com/wolfconnect/transactions/v1/{transactionId}/finalize' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '"string"'
string
{
"Code": 42,
"Message": "string",
"Details": "string"
}
{
"Code": 42,
"Message": "string",
"Details": "string"
}