> For the complete documentation index, see [llms.txt](https://help.getlfg.app/p/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.getlfg.app/p/developers.md).

# Developers

The **LFG Pay API** lets you take payments straight from your own website, app, or backend. Your server creates a payment link, you redirect the buyer to the hosted LFG checkout, and you receive a signed webhook the moment the payment settles.

No card networks, no gas fees for your buyers — just USDC or USDT on Ethereum or Base.

### What you can build

* A **"Pay with LFG"** button on your storefront or checkout.
* Automated invoicing and order fulfilment driven by webhooks.
* Any server-to-server flow that needs to charge a customer in stablecoins.

### Start here

* [**Pay API integration guide**](/p/developers/pay-api-integration-guide.md) — everything you need to integrate, in one page: authentication, creating payment links, redirects, and verifying webhooks. Copy the whole page into your AI assistant (Claude, ChatGPT) and ask it to build the integration for your stack.
* [**API reference**](/p/developers/api-reference.md) — the OpenAPI 3.1 spec ([openapi.yaml](https://github.com/LayerFlowGateway/openapi)) for every endpoint, schema, and error. Feed it to your client generator or SDK tooling.

You'll need an API key first — create one in your dashboard under **Settings → API Keys**.
