Payment Link & Button
Send customers to a checkout hosted by Nanswap. Paste the link in an email, an invoice, a chat or a social post. No code and no backend needed.
Open your Nanswap Pay dashboard and click Generate Invoice Link. Enter the amount and you get a ready-to-share link and button code, no need to build the URL by hand.
1. Build your link
Or build it yourself: replace
YOUR_PUBLIC_KEY and set the price.https://nanswap.com/pay/invoice?publicKey=YOUR_PUBLIC_KEY&priceAmount=10&priceCurrency=USD&shopName=My+ShopParameters
| Parameter | Required | Description |
|---|---|---|
| publicKey | Yes | Your Nanswap Pay public key from the dashboard. |
| priceAmount | Yes | Invoice amount (e.g. 10). |
| priceCurrency | Yes | Fiat or crypto currency code (e.g. USD, EUR, XNO). |
| shopName | No | Your store name shown on the checkout page. |
| defaultCurrency | No | Pre-select a coin for the customer (e.g. XNO). |
| invoiceId | No | Your internal order reference, returned in webhooks. |
| callbackUrl | No | URL that receives payment status webhooks (POST). |
| successUrl | No | Where the customer is sent after paying. |
2. Optional: add a button
A branded button that opens the same link. Works anywhere HTML is supported.
<a href="https://nanswap.com/pay/invoice?publicKey=YOUR_PUBLIC_KEY&priceAmount=10&priceCurrency=USD&shopName=My+Shop"
target="_blank" rel="noopener">
<img src="https://images.nanswap.com/logo/pay-in-crypto-white.svg"
alt="Pay with Nanswap" style="width:200px">
</a>Get your public key
Sign in and open the Nanswap Pay section in your account dashboard.
Go to dashboard →
