Developers

Build with Fluxpay

One typed, versioned API to charge cards, split funds, run payouts and listen to events. Idempotent by default, six official SDKs, and a sandbox you can hit in the next eleven lines of code.

base_urlhttps://api.fluxpay.dev
Quickstart

From signup to live charge in three steps

No sales call, no underwriting queue. Copy a test key and start hitting the API immediately.

01

Grab your keys

Sign up and copy a test secret key from the dashboard. No sales call, no waiting on underwriting to start building.

export FLUXPAY_KEY=sk_test_51H…
02

Create a charge

Install an SDK and POST to /v1/charges. Tokenize the card in the browser, confirm 3-D Secure, done.

flux.charges.create({ amount: 1900, currency: "usd" })
03

Go live

Complete KYB, flip to live keys and point a webhook at your app. Your name lands on the customer's statement.

flux.webhooks.verify(req.headers, body, secret)
Official SDKs

Install once, ship in your language

Hand-written, fully typed clients for six runtimes — all tracking the same versioned API.

Node.js logo
Node.js
$npm i @fluxpay/node
Python logo
Python
$pip install fluxpay
Go logo
Go
$go get flux.dev/fluxpay-go
Ruby logo
Ruby
$gem install fluxpay
PHP logo
PHP
$composer require fluxpay/fluxpay-php
Rust logo
Rust
$cargo add fluxpay
API reference

A small, predictable REST surface

Resource-oriented endpoints, idempotency keys on every write, and cursor pagination throughout.

  • POST/v1/charges
    Create a charge
  • POST/v1/payouts
    Pay out to an account
  • POST/v1/accounts
    Onboard a sub-merchant
  • GET/v1/balance
    Read available balance
  • POST/v1/transfers
    Move funds between accounts
  • GET/v1/events
    List & replay webhook events

Signed, ordered, replayable events

Every state change is delivered as a signed webhook with automatic retries for 72 hours and a local tunnel for testing. Replay any event from the dashboard or the /v1/events API.

charge.succeededpayout.paidaccount.verifiedtransfer.createddispute.openedrefund.settled
Live status

Infrastructure you can watch in real time

Uptime and latency for every component, published openly. Subscribe for incident updates the moment they happen.

All systems operational
99.99% uptime · rolling 90 days
  • Payments APIOperational
  • DashboardOperational
  • WebhooksOperational
  • PayoutsOperational

Your first live charge is eleven lines away

Spin up a sandbox in seconds. Bring it to production whenever you’re ready — same API, same SDKs, your brand on the statement.