Card checks
const url = 'https://api.aerandil.com/v1/functions/hospitality.function.card_checks/invoke';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"params":{"property_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.aerandil.com/v1/functions/hospitality.function.card_checks/invoke \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "params": { "property_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } }'The desk’s review queue for the card rail’s holds, and the Watchtower refusals it may still act on. to_review: every hold still standing (payment pending) that the rail held for the house’s decision (review_state = held, placed with manual_capture_after_review because its assessment recommended review: Radar’s manual review, or a band the network lifted), oldest first, and every hold the desk declined whose release has not gone through (blocked_still_held). Each carries the payment, amount, booking, guest, card, the hold’s deadline (decide_by), the network’s floor when its answer matched, reportable (blocking it may also give the outcome to the network: the house takes part, and the assessment rests on its own evidence rather than a network answer that matched) and reported; the band and Radar’s risk level only for a caller cleared for internal.restricted. The decision is resolve_payment_review, apart from any capture, as a Radar Review closes apart from the PaymentIntent. refused: the network’s refusals of the last 31 days, newest first, each with its answer, floor basis, booking, guest and whether the desk contested it. participates says whether the house takes part in Watchtower. may_decide says whether this caller may keep or block a hold: only one cleared to read internal.restricted, the assessment it decides on (a front desk sees the queue read-only, waiting on a manager). Read-only.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
object
Examplegenerated
{ "params": { "property_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }}Responses
Section titled “Responses”Function invoked. The body carries the typed return_value shaped by the function’s declared return_type.
Envelope returned by the Aerandil function engine. correlation_id is the per-invocation id for trace stitching; return_value is the typed value the function computed (shape declared by the function’s return_type).
object
Per-invocation correlation id; appears on log/trace records this function emitted.
object
object
object
object
Example
{ "return_value": { "refused": [ { "floor_basis": "none" } ], "to_review": [ { "band": "low", "network_floor_basis": "none", "state": "review" } ] }}Headers
Section titled “Headers”Always no-store — function results are time-sensitive and never cacheable.
Function or target object not found.
Parameter validation or domain-rule violation.