Skip to main content

node-wire-stripe

Stripe connector for Node Wire. Lets an agent or app take payments, manage subscriptions and issue refunds through the official Stripe Python SDK.

Part of Node Wire. Every call runs through the Node Wire runtime, so it gets input validation, retries with a circuit breaker, scope policy, a shared error taxonomy, and OpenTelemetry tracing. A Node Wire host exposes each action over REST, gRPC and MCP.

Install

pip install node-wire-stripe

This pulls in node-wire-runtime. Pre-releases are published as X.Y.ZbN; install one with pip install --pre node-wire-stripe. To install every connector at once, use node-wire-connectors.

The wheel is pure Python (py3-none-any) and installs on CPython 3.11, 3.12 and 3.13 on any OS and CPU.

Actions

The connector registers as stripe. MCP tool names are <connector_id>_<action>, with dots replaced by underscores.

Action MCP tool What it does
create_payment_intent stripe_create_payment_intent Creates a PaymentIntent for a one-time payment, optionally confirming it
charge stripe_charge Creates a charge against a card source (the legacy Charges API)
create_subscription stripe_create_subscription Subscribes a customer to a price
cancel_subscription stripe_cancel_subscription Cancels a subscription now, or at the end of the current period
issue_refund stripe_issue_refund Refunds a charge or PaymentIntent in full or in part

Amounts are integers in the currency's smallest unit (cents for USD), and currencies are three-letter lowercase ISO codes. Every action sends Stripe an idempotency key (the idempotency_key you pass, or else the call's trace ID), so a retried call does not repeat the operation.

Configuration

Add the connector to config/connectors.yaml:

connectors:
  stripe:
    enabled: true
    exposed_via: ["rest", "grpc", "mcp"]
    auth:
      provider: static_token
      secret_key: stripe_api_key
      header_name: Authorization
      prefix: ""  # Stripe expects the raw key

Secrets are read through the configured secret provider (environment variables by default):

Variable Purpose
STRIPE_API_KEY Stripe secret key (sk_test_... or sk_live_...)

Usage

Set NW_ALLOWED_CONNECTORS=stripe (comma-separate several). Node Wire loads only the connectors listed there, and discovers them through the node_wire.connectors entry point. A Node Wire host (the REST, gRPC or MCP server, or ConnectorFactory) then builds the connector from the configuration above. See Use a connector.

Documentation

License

Apache-2.0. See LICENSE.

Metadata

Release files for node-wire-stripe 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for node-wire-stripe 1.1.0
File Interpreter ABI Platform
node_wire_stripe-1.1.0-py3-none-any.whl Python 3 none any Details

Release files / node_wire_stripe-1.1.0-py3-none-any.whl

Download URL node_wire_stripe-1.1.0-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7de8f8de70ccf963995b00b574cdbeed58b4b000e34c218ffa9e2d806176b14f
BLAKE2b-256 checksum
How to use checksums
9a5e9dd004f97eb4479191e63777c3ed0437e5e32be23f13c3bdb13f009b7c4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Security for node-wire-stripe 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 1 file in this release has been uploaded with provenance metadata.

Attestation for node_wire_stripe-1.1.0-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page