Fluxis REST API
The Fluxis REST API lets you authenticate, manage accounts and points of sale, create payment requests, and receive webhook notifications. This page orients you; the interactive reference lives at /api.
Base URLs
| Environment | Host |
|---|---|
| Staging | https://api.stgfluxis.us |
| Production | https://api.fluxis.us |
All endpoints are prefixed with /v1.
Authentication
Every protected request requires both headers:
Code
Obtain a token by exchanging your API key and secret:
POST /v1/auth/token
See Authentication in the API reference.
Never expose your API secret in client-side code, browsers, or mobile apps.
Core resources
| Resource | Purpose | Reference |
|---|---|---|
| Accounts | Merchant accounts, settlement addresses | /api — Accounts |
| Point of Sale | Payment entry points, payment requests | /api — Point of Sale |
| Webhooks | Account-level event notifications | /api — Webhooks |
| Transactions | Reconciliation and reporting | /api — Transactions |
| NASPIP | Read or create NASPIP tokens | /api — NASPIP Token |
Typical integration flow
- Authenticate —
POST /v1/auth/token - Discover resources —
GET /v1/account,GET /v1/pos?page=1&page_size=20 - Create payments —
POST /v1/pos/{posID}/payment-request(orpayment-request-checkoutfor hosted checkout) - Receive updates — Register
POST /v1/account/{accountID}/webhookwithevent_type: payment_request - Reconcile —
GET /v1/transactions?page=1&page_size=50or pollGET /v1/pos/{posID}/payment-request/{paymentRequestID}
Step-by-step walkthrough: API Integration Guide.
Pagination
List endpoints use page and page_size query parameters (not offset/limit):
- POS:
page≥ 1,page_size1–100 - Transactions:
page≥ 1,page_size5–100 - Webhook logs:
page≥ 1,page_size5–20
Responses include { data, total, page, page_size, total_pages }.
Webhooks
Webhooks are registered per account, not per POS. Fluxis signs deliveries with HMAC-SHA256.
- Webhooks overview — Registration and delivery behavior
- Webhook Signature Verification — Canonical JSON and test workflow
Supported event_type values: payment_request, incoming_transfer, refund.
Explore the API
Interactive API Reference
Browse endpoints, schemas, and try requests in the playground.
Open API Reference →
Related guides
- API Integration Guide
- Create and Monitor Payment Requests
- Webhooks
- Webhook Signature Verification
- SDKs (coming soon)