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

# Payment Links

> Create a payment link, share it anywhere, and get paid in the token and chain you choose.

<Note>
  This is an enterprise-only feature. Please [contact us](https://www.dynamic.xyz/book-a-call) to enable.
</Note>

1. **Create**: One API call from your backend sets the amount, settlement token, and destination.
2. **Share**: Send the link by email, SMS, chat, or QR code.
3. **Get paid**: The payer pays with any wallet or exchange, on any chain. Funds convert and settle automatically.

## Where the payer pays

* **Hosted, out of the box**: Point `baseUrl` at Dynamic's hosted payment page (`https://pay.dynamicauth.com`). No frontend to build.
* **Self-hosted**: Point `baseUrl` at your own frontend and drive the payment with the [JavaScript SDK](/docs/overview/fireblocks-flow-js-sdk), [Flutter SDK](/docs/overview/fireblocks-flow-flutter-sdk), or the [API](/docs/overview/fireblocks-flow-api).
* **Custom domain**: Put your own domain, for example `pay.yourcompany.com`, on Dynamic's hosted page. [Contact us](https://www.dynamic.xyz/book-a-call) to set this up.

The payer reviews the payment and pays from their wallet:

<Frame>
  <video width="100%" autoPlay muted loop playsInline src="https://mintcdn.com/dynamic-docs-testing/QTEq2mA5w7493Dud/images/flow/payment-link-review.mp4?fit=max&auto=format&n=QTEq2mA5w7493Dud&q=85&s=de3150d010ff97237e4f569cdd23be46" data-path="images/flow/payment-link-review.mp4" />
</Frame>

Funds convert and settle automatically:

<Frame>
  <video width="100%" autoPlay muted loop playsInline src="https://mintcdn.com/dynamic-docs-testing/QTEq2mA5w7493Dud/images/flow/payment-link-processing.mp4?fit=max&auto=format&n=QTEq2mA5w7493Dud&q=85&s=dfa98c8f2846952b10bb60ccd88547fb" data-path="images/flow/payment-link-processing.mp4" />
</Frame>

## Any wallet, any exchange, any chain

Payers connect a wallet, pay from an exchange account, or send to a generated deposit address, on any chain Flow supports. See [Funding sources](/docs/overview/fireblocks-flow#funding-sources) and [Multi-chain support](/docs/overview/fireblocks-flow#multi-chain-support) for the full list.

## Get started

```
POST /server/{environmentId}/payment-links
Authorization: Bearer dyn_your_api_token
Content-Type: application/json
```

Same fields as [creating a payment flow](/docs/overview/fireblocks-flow-api#step-1-payment-create-a-flow), plus a required `baseUrl`. The response returns a `paymentUrl` you send to the payer. See [Payment links](/docs/overview/fireblocks-flow-api#payment-links) for the full reference.

<Warning>
  `baseUrl`'s origin must be a registered [CORS origin](/docs/overview/developer-dashboard/security#allowed-cors-origin) before you create the link, or the request is rejected.
</Warning>

## Continue building

<CardGroup cols={3}>
  <Card title="JavaScript SDK" icon="js" href="/docs/overview/fireblocks-flow-js-sdk" />

  <Card title="Flutter SDK" icon="flutter" href="/docs/overview/fireblocks-flow-flutter-sdk" />

  <Card title="API only" icon="code" href="/docs/overview/fireblocks-flow-api" />
</CardGroup>
