Full REST API. Total control.

Everything in Flux is API-first. Create products, charge cards, manage subscriptions, send invoices, and pull reports, all programmatically. Plus drop-in hosted fields for PCI-compliant card capture.

  • Complete REST API, every feature accessible programmatically
  • Real-time WebSocket events for live transaction updates
  • SDKs for Node.js, Browser, React Native, iOS, and Python
  • PCI-compliant hosted fields with SAQ-D Level 2 certification
  • RSA-OAEP + AES-256-GCM end-to-end encryption
checkout.js index.html
 1// Initialize Flux Hosted Fields
 2const flux = new FluxHostedFields(authToken, publicKey);
 3const elements = flux.elements();
 4
 5// Create and mount each field to your DOM
 6elements.create('cardNumber')
 7  .mount('#card-number');
 8
 9elements.create('cardExpiry')
10  .mount('#card-expiry');
11
12elements.create('cardCvv')
13  .mount('#card-cvv');
14
15// Listen for field events
16elements.create('cardNumber')
17  .on('change', ({ brand, complete }) => {
18    console.log(brand); // "visa", "mastercard", etc.
19  });
20
21// Tokenize, card data never touches your server
22const { cardToken, lastFour, cardBrand, error }
23  = await flux.createToken();

Start accepting payments today

Join businesses using Flux Payments for faster settlement and volume-based pricing.

Get paid your way.