Instant Post-Checkout API Key & IDE Credential Redeemer
redeem_checkout_sessionVerifies a completed Stripe Checkout session (cs_...) directly against Ariadne Nexus billing and deterministically returns the buyer’s live HMAC-signed nexus_live_... API key, monthly quota, and 1-click Cursor / VS Code / Claude Code installation links. Use when: a user has just completed payment at Stripe Checkout and wants to immediately claim and activate their nexus_live_... API key inside Claude, Cursor, VS Code, or an autonomous agent without waiting for email delivery. Do not use when: the user has not yet paid or needs a checkout link first (use provision_agent_key instead). Behavior: Free, read-only, deterministic verification and HMAC credential derivation ($0.00 USD; idempotent across repeated invocations for the same paid cs_... session ID).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "redeem_checkout_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Optional billing email address used during Stripe Checkout (required when re-redeeming sessions older than 24 hours). | ||
| session_id | Yes | Paid Stripe Checkout Session identifier starting with "cs_" (e.g., "cs_live_..." from the /billing/success redirect URL or Stripe receipt). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | Activated API quota tier ("EVAL_PASS", "STARTER", "QUANT_PRO", or "ENTERPRISE_CFO"). | |
| error | No | Diagnostic message if session is unpaid or invalid. | |
| status | Yes | HTTP-equivalent verification status code (200 on paid settlement, 402 if unpaid). | |
| api_key | No | Live HMAC-signed Ariadne Nexus API key ("nexus_live_..."). | |
| success | Yes | True when payment is verified and the live API key is issued. | |
| session_id | No | Verified Stripe Checkout session ID. | |
| purchased_sku | No | Settled subscription tier or one-time institutional SKU. | |
| amount_paid_usd | No | Total settled USD amount. | |
| ide_quick_install | No | Pre-authenticated 1-click Cursor, VS Code, and Claude Code CLI installation commands. | |
| rate_limit_per_minute | No | Maximum requests per minute (RPM). | |
| deliverable_unlock_url | No | Direct URL to any unlocked closing certificate, CUSIP vault, or forensic workpaper. | |
| included_queries_per_month | No | Monthly included MCP and REST tool calls. |