Blog

Crypto payment links: how to bill a customer with a link

CoinStackUpdated 9 min read
Guides

A crypto payment link is a URL that opens a hosted checkout page for one fixed amount. You create it in a dashboard or with 1 API call and send it by email or chat. The customer picks a coin and pays from any wallet or exchange. In CoinStack a payment link is called a checkout: it stays open for 24 hours by default, costs 0.8% of the payment, and settles as USDC in a wallet you control.

A payment link is a request for one payment with the bookkeeping attached. The page behind it knows the amount, converts it into the coin the customer picks at the current price, shows an address that belongs to that request only, and reports back when the money arrives.

That is the difference from pasting a wallet address into an email. A bare address carries no amount and no exchange rate, and every customer pays into the same place. Bitcoin.org's guidance for businesses notes that they "need to keep track of the payment requests they are displaying to their customers". A link does that tracking for you. Posting a wallet address vs using a gateway goes through the failure cases.

A link fits a sale where the amount is already agreed and there is no cart to build.

SituationUseWhy
A one-off job, deposit or custom quotePayment linkThe amount is known and there is nothing to integrate
A sale agreed in chat, by email or on a callPayment linkThe link goes where the conversation already is
A cart on WHMCS, WooCommerce, Blesta or PrestaShopThe pluginThe order or invoice is marked paid automatically
A store on any other platformPayment link, made by API or by handWebhooks tell your system when the link is paid
A B2B invoice with tax lines and termsYour own invoice with the checkout link on itThe invoice carries the tax lines and the link collects the payment
A renewal every monthYour billing systemEach period's invoice gets its own checkout link

The B2B case has its own guide, how to invoice a client in crypto. For renewals, see how recurring billing works with crypto. A bot that sends the link and delivers the order itself is built in crypto payments in a Telegram bot.

On a CoinStack checkout page the customer goes through 3 steps:

  1. They choose a token and network from the ones you accept. With everything enabled that is 10 tokens across 11 networks, from USDT on TRON to BTC.
  2. They see an address, the exact amount to send and a QR code. There is no wallet to connect, so the payment can come from a phone wallet, a hardware wallet or the withdrawal screen of an exchange.
  3. The page updates as the payment is detected and completed. If you set a return link, the page then shows a Return to merchant button.

Your description appears on the page, so the customer can see what they are paying for. The amount in coin is fixed when they pick a token. For a stablecoin that amount has no time limit. For BTC it holds for 60 minutes and for other tokens 20 minutes, after which a payment is counted at the market price when it arrives. Price locks explains why. You can click through the page without paying on the demo checkout.

No code or website is needed for this route.

  1. Sign in, open Checkouts and select New checkout.
  2. Enter the amount and choose the currency. Any of 146 currencies works, and the amount is converted to US dollars at that moment and fixed.
  3. Fill in the optional details: Customer email, Reference (your own order or quote number), Description (shown to the customer), and the 2 return links.
  4. Select Create checkout.
  5. Copy the checkout link from the page that opens and send it to the customer.

A link made by hand stays open for 24 hours. To set an expiry from 10 minutes to 365 days, create the checkout through the API. When the customer pays, the checkout shows as Completed in the dashboard, with the transaction hash and a link to a block explorer.

One request from your server creates the link. It needs an API key with read and write access, and only amount and currency are required.

curl https://coinstack.net/api/v1/checkouts \
  -H "Authorization: Bearer $COINSTACK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": "350.00",
    "currency": "EUR",
    "email": "[email protected]",
    "reference": "quote-2291",
    "description": "Logo design, 50% deposit",
    "expires_at": "2026-12-15T17:00:00Z"
  }'

The response holds the checkout. These are the fields you need from it:

{
  "success": true,
  "response": {
    "checkout": {
      "checkout_id": "8f3b2c1e-5d47-4a9b-b6e0-2c7f1a9d4e53",
      "status": "pending",
      "url": "https://coinstack.net/checkout/8f3b2c1e-5d47-4a9b-b6e0-2c7f1a9d4e53"
    }
  }
}

Send url to the customer and store checkout_id next to your order. To learn that the link was paid, add a webhook and wait for the checkout.completed event, as the webhooks guide describes. Every field is documented in the checkouts guide, and the quickstart walks through a first payment.

To cancel a link before it is paid, expire it. Only a pending or partial checkout can be expired.

curl -X POST https://coinstack.net/api/v1/checkouts/8f3b2c1e-5d47-4a9b-b6e0-2c7f1a9d4e53/expire \
  -H "Authorization: Bearer $COINSTACK_API_KEY"

Through the API, expires_at can be any time from 10 minutes to 365 days ahead. Match it to how the link is used. A link sent during a chat can close within hours. A quote that waits in an inbox needs a week. An invoice needs its due date plus a few days.

When a link expires unpaid, its status becomes expired and the customer needs a new one. A payment sent late is not lost. It is recorded against the checkout, and if it covers the full amount the status changes to completed with late set.

The invoice or checkout behind a link has a lifetime at every provider, and the documented figures differ widely. Check the maximum before you choose a tool for quotes. As of December 2026:

ProviderDocumented lifetime of an invoice or checkout
BitPay"a 15 minute window" for the purchaser to pay an invoice
BTCPay Server"The invoice timer is set to 15 minutes by default", and it is customizable
Coinbase BusinessA checkout "defaults to 24 hours from creation time"
CoinStack24 hours by default, 10 minutes to 365 days by API
Cryptomuslifetime of 300 to 43,200 seconds, which is 12 hours at most

Cryptomus appears in the table for its documented limit only. The UK Sanctions List (edition of December 2, 2026) gives CRYPTOMUS as a name variation of Xeltox Enterprises Ltd, entry RUS3755, designated on October 8, 2026 with an asset freeze among the measures.

Put your own identifier in reference. It can be up to 200 characters, comes back whenever you read the checkout, and is included in webhook events. You can also look a link up by it:

curl "https://coinstack.net/api/v1/checkouts?reference=quote-2291" \
  -H "Authorization: Bearer $COINSTACK_API_KEY"

References do not have to be unique. If you replace an expired link with a new one under the same reference, both are returned, which gives you the full history of that quote. Through the API you can also attach up to 50 metadata pairs, for example a customer ID.

Keep the 2 text fields apart in your head. The reference is for your systems. The description, up to 1,000 characters, is for the customer and is visible to anyone who opens the link, so write what the customer should recognize and leave internal notes out.

What happens if the customer pays only part?

A small shortfall is absorbed. The default underpayment allowance is 0.5% of the total, which is $1.75 on a $350 link. Kraken's withdrawal fee table lists 1 USDC for a USDC withdrawal on Base. A customer who enters 350 USDC there and has the fee taken out of it sends 349. That is $1 short, inside the allowance, and the checkout completes.

A larger gap leaves the link open. If the customer sends 300 USDC, the checkout becomes partial and they can send the other 50 USDC to the same address. If the link expires before they do, the checkout ends as expired with underpaid set. The USDC from the first payment has already reached your wallet, and you either mark the checkout as resolved or send the money back. Underpaid crypto payments covers the settings and that decision.

The amount is fixed when the link is created, so the customer always pays what you quoted. To change it, expire the link and make a new one. The value must be between $1 and $1,000,000. The dollar value is fixed at creation too, so a link priced in euros carries the exchange rate of the day you made it.

Fake payment links are also an easy scam to run against your customers. Tell them which address your links start with, and send links only through a channel they already know. Address poisoning and other scams describes the patterns.

Frequently asked questions

Can I send the same crypto payment link to several customers?

Each CoinStack checkout is one payment request, so create a separate link for each customer or order, with your own reference on each, so that every payment is matched to the right sale. Through the API this is 1 request per link.

Does the customer need an account or a specific wallet to pay?

No account is needed, and there is no wallet to connect. The customer needs crypto in any wallet or exchange account that can send one of the tokens you accept. They copy the address and amount or scan the QR code, then send.

Can I change the amount after sending a payment link?

The amount and currency are set when the link is created, so the customer always pays what you quoted. If the price changes, expire the old link so that nobody pays the wrong amount, create a new one and send that. Using the same reference on both keeps the history together when you search by reference later.

Do I need a website to accept crypto with payment links?

No. You can create each link by hand in the CoinStack dashboard and send it by email or chat, then watch the dashboard for the payment. A website or server only becomes necessary when you want links created automatically or orders marked as paid by a webhook.

How do I know when a payment link has been paid?

The checkout's status changes to completed in the dashboard, where the payment is listed with its transaction hash. If you use the API, a signed checkout.completed webhook is sent to your server. A message or screenshot from the customer is not confirmation, so wait for the status.

More posts