iliad_network_tokenization
InactiveTool of AXIS Toolbox — Agentic Commerce Codebase Intelligence
Network-tokenization capability with three honest parts. (1) `lifecycle`: an EXECUTABLE TAP-style token-lifecycle state machine (provision → activate → suspend → resume → delete; deleted is terminal; illegal transitions are rejected with an error, not silently accepted). (2) `read` — the LIVE default: reads a Stripe PaymentMethod (GET /v1/payment_methods/{id} with the operator's STRIPE_SECRET_KEY) and maps it to a provider-agnostic NetworkToken; `is_network_token` is true ONLY when Stripe reports a provisioned network token (card.network_token.used) — a bare card PM honestly reads false, and co-badging metadata (card.networks.available) is never treated as a tokenization signal. (3) `provision` with provider vts|mdes: capability-gated behind a network-issued Token Requestor ID (AXIS_VTS_TOKEN_REQUESTOR_ID / AXIS_MDES_TOKEN_REQUESTOR_ID); returns a structured `_not_configured: true` envelope naming the exact missing gate until Visa/Mastercard onboarding exists — it NEVER fakes a token (provider stripe delegates to `read`). `capabilities` reports which providers are configured. Raw PANs are never accepted (pan_source is an opaque reference), keeping PCI-DSS scope out of this service. Free (unmetered); requires Authorization: Bearer <api_key>.
Parameters schema
{
"type": "object",
"properties": {
"event": {
"type": "string",
"description": "lifecycle: single-event shorthand for `events: [event]`."
},
"events": {
"type": "array",
"description": "lifecycle: ordered TokenEvent list (provision|activate|suspend|resume|delete), max 100. Must start from provision; illegal transitions throw."
},
"provider": {
"enum": [
"stripe",
"vts",
"mdes"
],
"type": "string",
"description": "provision: stripe | vts | mdes. stripe delegates to read (Stripe provisions tokens itself); vts/mdes are capability-gated."
},
"operation": {
"enum": [
"read",
"provision",
"lifecycle",
"capabilities"
],
"type": "string",
"description": "read (default) | provision | lifecycle | capabilities."
},
"pan_source": {
"type": "string",
"description": "provision: an OPAQUE payment-credential reference (e.g. a Stripe pm_… id). NEVER a raw PAN — raw card numbers are rejected by policy."
},
"payment_method_id": {
"type": "string",
"description": "read: the Stripe PaymentMethod id (pm_…) to read the network-token status of."
}
}
}Parent server
AXIS Toolbox — Agentic Commerce Codebase Intelligence
https://github.com/lastmanupinc-hub/Toolbox
1/7 registries