Skip to main content
The InFlow SDKs implement InFlow Payments (MPP and x402) for sellers and buyers in four languages. Each SDK also has a seller module for Visa Trusted Agent Protocol (TAP) verification. All four SDKs are before version 1.0. A minor version can contain incompatible API changes. A patch version contains only compatible fixes. InFlow supports the latest stable release of each SDK. For Enrollment (AEP) and Discovery (ODP), use the SDKs from the foundations of those protocols. See AEP and ODP SDKs.

Environments

Each SDK takes an environment value. The default is production. The environment must match the dashboard that issued the API key. Every SDK reads the key from INFLOW_API_KEY in its examples. MPP sellers also need MPP_SECRET_KEY.

Node.js and TypeScript

The packages declare engines.node: >=22.0.0.

Python

The distribution and the import namespace are both inflowpay. Extras select the protocols and the framework. The clients do not depend on FastAPI. They also work with other asynchronous frameworks. The HTTP client is httpx.

Go

The Go SDK works with net/http. Set Environment: inflow.Sandbox for tests.

Rust

Add the crates to Cargo.toml.
For an MPP seller, add inflow-mpp-seller, inflow-mpp, and serde_json. The MPP seller handler runs inside any HTTP framework that uses the Tokio runtime of your application.

Feature differences

Check this table before you choose a language. Stripe acceptance is for sellers only. The InFlow buyer SDKs do not create Stripe tokens. The Rust x402 Axum layer rejects automatic upto endpoints, because the upstream middleware settles the full authorized amount.

Examples

Each repository has runnable sandbox examples in its examples folder. Run a Python example from the repository with uv run --locked python -m examples.mpp_seller. Run a Rust example with cargo run --locked -p inflow-examples --bin mpp-seller. Run a Go example with go run ./examples/mpp-seller. mpp-aep-seller-express puts AEP enrollment in front of an MPP endpoint. mpp-card-seller-express accepts USD payments with Visa network tokens. The mpp-seller-express and mpp-seller-hono examples serve these endpoints on http://localhost:3000.

AEP and ODP SDKs

Use these SDKs for Step 2 (Enrollment) and Step 3 (Discovery) of the seller integration. The ODP SDKs are in the offering-protocol organization on GitHub. The AEP SDKs are in the aep-foundation organization.
Last modified on October 15, 2026