Skip to navigation

Create a single-use execution lease

Converts a live ALLOW token into a single-use lease bound to a specific upstream request (method + path + body). The lease TTL is capped to the token’s remaining life. Requires an active vaulted credential for the target system. Phase 1 supports systemId: stripe only.

Request

This endpoint expects an object.
tokenstringRequired

ALLOW token from POST /v1/check

methodstringRequired
pathstringRequired
bodyobjectOptional
JSON body that will be executed
ttlSecondsintegerOptional
defaults to token remaining life

Response

Lease denied (token invalid, expired, or no active credential).

okbooleanOptional
reasonstringOptional

Errors

400
Bad Request Error