Create decision
Evaluate a payload and receive an ALLOW, REVIEW, or BLOCK decision. If an asynchronous backend rule is involved, the response is PROVISIONAL and updated later.
context selects the active ruleset, and the ruleset’s bound schema defines the payload. The body below is the built-in transaction schema; a context bound to a custom schema takes that schema’s fields in the same envelope. The payload validates against the schema before any rule runs — shape, required fields, and each field’s type rule — and a failure returns 422 naming the path without echoing regulated values. Below PCI level SAQ_D, a payload carrying pci-pan or pci-sad fields rejects with 422.
Authorizations
HS256-signed JWT bearer token, obtained via the OAuth2 client-credentials grant (see Authentication).
Body
Decision request
Full PAN credential. The enclosing structure stays PCI-PAN-gated by its pan-typed value field regardless of which sub-fields are populated.
- Full PAN
- Masked PAN
- SEPA Direct Debit
- PayPal
Airline / travel industry data. Present only for airline transactions.
Billing address for the transaction
Ruleset context key. Defaults to "default" if omitted.
"checkout"
Cart / order line items
A cart / order line item. At least one of name or sku is required; a line item carrying neither rejects with 422.
- Item
- Item
Flat key-value pairs stored alongside the decision. Available to rules as $.metadata.* and forwarded to backends, so treat it as data you share with your backend providers.
Shipping address for the transaction
Response
Decision result
Result of evaluating a transaction against the active ruleset.
Unique decision identifier
"1e7b9c0a-2d43-4f6a-8d29-c4a1f2d05b3e"
5000
One entry per backend rule that was executed.
"checkout"
Deterministic HMAC-SHA256 payment credential identifier
"crd_4ba218..."
Type of credential supplied in the request
pan, masked_pan, sepa, paypal "USD"
"customer-123"
BLOCK terminates on first match. REVIEW accumulates. ALLOW is the default when no rules match.
ALLOW, BLOCK, REVIEW, PROVISIONAL "fp-9c1e4b7a"
"1.2.3.4"
"2026-06-01T10:00:00Z"
Always empty on a freshly evaluated decision.
True if any backend_results entry carries a non-nil error (e.g. "backend_capability_disabled").
false
Integration type that originated this decision (e.g. 'interceptor')
"interceptor"
ID of the interceptor that originated this decision
null
4250
Display-safe masked representation, e.g. '411111 •••••• 4242' for cards or 's•••@example.com' for PayPal. Identifies nobody on its own, so it carries no classification marker and is not subject to retention.
"411111 •••••• 4242"
Merchant-supplied key-value pairs stored with the decision.
Always null on a freshly evaluated decision.
"6c1f4e8b-9a2d-4c7e-b5f3-8d1a6e9c4b2f"
7
The (schema, version) the decision was evaluated against — the resolved ruleset's binding.
RULE_ENGINE — condition rules only. BACKEND — backend rule(s) only. COMBINED — both.
RULE_ENGINE, BACKEND, COMBINED "X36Q9C"