> ## Documentation Index
> Fetch the complete documentation index at: https://docs.beinfi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.

## Start with a payment link

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

```ts theme={null}
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](https://beinfi.com/en/inicio-rapido) to create a sandbox and a published
product before running this example.

## Available today

| Provider | Methods     | Currencies         |
| -------- | ----------- | ------------------ |
| Stripe   | Card        | BRL, USD, EUR, GBP |
| Adyen    | Card        | BRL                |
| Asaas    | Pix, boleto | BRL                |
| Efí      | Pix         | BRL                |
| Woovi    | Pix         | BRL                |

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](mailto:hello@beinfi.com?subject=Infi%20early%20access) to confirm the
available flows before integrating.

## Choose your next step

* [Quickstart](https://beinfi.com/en/inicio-rapido): sandbox, key and your first payment link.
* [TypeScript SDK](https://beinfi.com/en/sdk): install and use the existing SDK.
* [HTTP API](https://beinfi.com/en/api-http): authentication, requests and route reference.
* [Webhooks](https://beinfi.com/en/webhooks): verify events and track deliveries.

The [blog](https://beinfi.com/pt-br/blog) and the legal documents are currently available in
Portuguese only.
