`mode` is `"simulated"` only when this environment cannot reach real vendor billing at all (no Stripe key wired, no engine armed) — a fully-unarmed test environment; otherwise `"stripe"`. `url` is the hosted Checkout link to open and pay. `sessionId` identifies the checkout session; it is re-validated account-scoped server-side on the return leg, never trusted as a bare credential. `forAgents` is plain-language guidance for the calling agent on how to complete this checkout (pay the hosted page itself with a browser tool, or pass the URL to whoever pays); its wording varies by `mode`.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/coldrig-dev/json-schema/coldrig-dev-checkout-result-schema.json",
"title": "CheckoutResult",
"description": "`mode` is `\"simulated\"` only when this environment cannot reach real vendor billing at all (no Stripe key wired, no engine armed) — a fully-unarmed test environment; otherwise `\"stripe\"`. `url` is the hosted Checkout link to open and pay. `sessionId` identifies the checkout session; it is re-validated account-scoped server-side on the return leg, never trusted as a bare credential. `forAgents` is plain-language guidance for the calling agent on how to complete this checkout (pay the hosted page itself with a browser tool, or pass the URL to whoever pays); its wording varies by `mode`.\n",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/coldrig-dev-account-api-openapi.yml#/components/schemas/CheckoutResult",
"type": "object",
"required": [
"mode",
"url",
"sessionId",
"forAgents"
],
"properties": {
"mode": {
"type": "string",
"enum": [
"stripe",
"simulated"
]
},
"url": {
"type": "string",
"format": "uri"
},
"sessionId": {
"type": "string"
},
"forAgents": {
"type": "string"
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.