Skip to content

Get started

One API for every payment.

A stable interface between your application and payment infrastructure.

Infi connects your application to payment providers through one API. Keep the provider accounts you already use, then add supported providers as your needs change. Your application works with Infi's payment and event model.

For a published product, this is enough to create a hosted payment link:

import { Infi } from "@beinfi/sdk";
 
const infi = new Infi({
  secretKey: process.env.INFI_SECRET_KEY!
});
 
const { url } = await infi.links.create(productId, {
  slug: "acme"
});

productId identifies a product with a published version. slug is your tenant's checkout slug, not the provider name. The provider is selected when the customer pays, not when you create the link.

Follow the quickstart to create a sandbox and a published product before running this example.

Available today

ProviderMethodsCurrencies
StripeCardBRL, USD, EUR, GBP
AdyenCardBRL
AsaasPix, boletoBRL
EfíPixBRL
WooviPixBRL

Availability depends on your connected provider account and configuration. Coverage is not universal. A provider's supported currencies do not imply that every merchant can onboard in every country.

One interface, different capabilities

Routing can order compatible providers using manual, lowest-cost or most-stable strategies. Eligible failures may move to another compatible route. Definitive declines are not retried with another provider, and off-session charges remain with the saved instrument's provider.

Billing, subscriptions, metering, credits and checkout use the same underlying infrastructure. Infi has its own financial ledger; a provider is an execution adapter, not the financial model of your application.

Early access

Agent payments with x402, crypto payments and the Stripe-compatible SDK are in Early access. Compatibility is being finalized; do not assume full Stripe API parity, automatic migration or support for every crypto network. Contact us to confirm the available flows before integrating.

Choose your next step

  • Quickstart: sandbox, key and your first payment link.
  • TypeScript SDK: install and use the existing SDK.
  • HTTP API: authentication, requests and route reference.
  • Webhooks: verify events and track deliveries.

The blog and the legal documents are currently available in Portuguese only.