Connect API Catalog///
- API Documentation
Creditsafe Connect
- Update Decision Log
Return Decision History
Return Decision Log
Update Decision Log
Updates the status and/or notes for a specified decision.
Security
bearerToken
The status that the decision will be updated to. Typically, 1 is reserved for positive outcomes, 2 for pending status and 3 for negative outcomes.
Example:1
- Sandbox serverhttps://connect.sandbox.creditsafe.com/v1/decisionEngine/usageLog/{decisionLogId}
- Production serverhttps://connect.creditsafe.com/v1/decisionEngine/usageLog/{decisionLogId}
curl -i -X PATCH \
'https://connect.sandbox.creditsafe.com/v1/decisionEngine/usageLog/{decisionLogId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"statusCode": 1,
"notes": "Manually approved by Senior Credit Controller."
}'The unique identifier of the decision tree.
Example:"repoObj_0ed6a4aa_16e17d977e9_07ffb16e17d977e9"
The unique identifier for the user's account, used across the Creditsafe product suite.
Example:101445010
The connectId of the company that the decision was ran on. A connectId is the primary Company identifier that is used to uniquely identify all companies across Creditsafe's Universe and Partner Network.
Example:"US001-X-US60521352"
The name of the company that the decision was ran on.
Example:"CREDITSAFE USA INC."
The status of the decision. typically, 1 is reserved for positive outcomes, 2 for pending status and 3 for negative outcomes.
Example:3
Response
{ "correlationId": "23921650-c073-11ea-860f-06bc8182190e", "decisionLogId": 64492, "provenirId": "repoObj_0ed6a4aa_16e17d977e9_07ffb16e17d977e9", "friendlyName": "Check & Decide Demo", "userId": 101445010, "companyId": "US001-X-US60521352", "companyName": "CREDITSAFE USA INC.", "response": { "Decision": "Reject", "DecisionText": "The Sales Value requested is greater than Creditsafe's recommended credit limit.", "Audits": [ … ], "originationId": "SFC-1976", "statusCode": "3" }, "decisionDate": "2019-08-24T14:15:22Z", "notes": "string", "status": 3, "modifiedDate": "2019-08-24T14:15:22Z" }