Decision Explanation
The API returns one of three values in the decision field.
allow
No critical issues were detected. All enabled checks passed, or checks were intentionally permissive by configuration.
You can proceed with the billing operation.
allow_with_warning
The request can proceed, but non critical issues were detected.
Warnings are included in the reasons array. These may indicate risk patterns that you want to monitor or handle differently over time.
block
Critical issues were detected.
The reasons array contains items with error severity. These indicate problems that should be fixed before continuing with invoice creation.
Degraded mode
If external providers are unavailable or time out, the system enters degraded mode.
In this state:
- The API never blocks
- The decision defaults to a non blocking result
- A degraded warning is included in the reasons
This ensures billing flows are not blocked due to third party failures.