Skip to main content

Evaluate decision policy

POST 

/v1/customer/:customerId/decision-policies/:slug/evaluate

Apply a decision policy to a customer and receive the verdict. Supply a value for every input the policy declares; the policy's steps are applied in order and the first step whose condition matches returns its outcome and the recommended actions of its matched rules, falling back to the policy's default outcome when none match. The response also carries computedLimits, always present and empty until a policy can carry a limit.

Request​

Responses​

The policy's verdict