Risk API
Handling the response
Route the checkout based on suggestedAction.
Each /v1/risk response carries a suggestedAction — allow or deny — that tells you how to route the checkout. You decide the mechanism.
allow
Commit the reservation. No extra steps.
deny
Stop the checkout and surface a neutral error to the user. Don't spell out the reason — a generic "we couldn't process this booking" message is enough.
Store the decision ID
For every decision — regardless of action — store decisionId on the order record:
POST /orders
{
...,
"staysignalsDecisionId": "dec_8f2a1c7b2e8d"
}The decision ID is your entry point for looking up the full decision in the Dashboard later — helpful when a customer pushes back on a denial, when operations wants to audit a batch, or when you're tuning your routing logic.