One API.
Every acquirer.
Integrate once. Cardflo routes every transaction across our network of acquirer partners, no extra code when you add a new provider, no breaking changes when routes shift.
// Create a payment, one API, every acquirer
const payment = await cardflo.payments.create({
amount: 4999, // £49.99
currency: "GBP",
customer: { id: "cus_8aF2..." },
method: { type: "card", token: "tok_live_..." },
// Smart routing picks the best acquirer automatically.
routing: { strategy: "approval_then_cost" },
});
if (payment.status === "approved") {
// Webhook payment.succeeded will follow.
}Everything you need to ship payments fast.
REST API
Hosted checkout
Webhooks
Vault & network tokens
Server SDKs
Plugins
Real-time events for every payment lifecycle.
Signed, retried with exponential backoff, and idempotent by event ID. Subscribe to what you care about, ignore the rest.
- payment.succeededCaptured by routed acquirer
- payment.retriedSoft decline, next acquirer
- payment.failedAll routes exhausted
- refund.createdInitiated for capture
- dispute.openedChargeback received
- payout.completedSettled to your bank
Cardflo exposes a REST API, webhook stream, hosted-checkout iframe and a growing library of drop-in components. Everything is versioned, idempotent by default, and covers the same primitives whether you're integrating one acquirer or five. Documentation, sandbox keys and a Postman collection are public.
How teams integrate
Hosted checkout
Fastest path to production. Redirect or embed our PCI-scoped iframe, receive a webhook on completion. Zero PCI scope, wallets included, network tokens on by default. Most integrations ship in a day and cover 90 percent of use cases.
Direct API
Full control over authorisation, capture, refund and dispute flows. PCI DSS SAQ D scope. Suitable for card-on-file, subscriptions, marketplaces and any product that needs custom logic around the auth. Reference SDKs for Node, Python, Ruby, Go and PHP.
Webhooks and events
Idempotent, retry-safe, signed with HMAC. Every payment, refund, chargeback, KYB update and settlement is a webhook event. Sandbox lets you replay events without touching production, which makes end-to-end automation testing trivial.
Frequently asked questions
Integration, SDKs, webhooks, sandbox, migration and SLAs. The practical answers engineers ask before writing the first line of code.