Skip to main content
A payment link is a price plus the coins you accept. Create one per purchase (an order in your shop, an invoice), store its id against that purchase, and send the payer to the hosted checkout.

Request

Response

201 Created with the link. Its id is what you keep.

Send the payer to checkout

Redirect to it, link to it, or put it in an email or QR code. The page shows your gateway’s name, the price and the coins; the payer picks one and gets an address, an exact amount and a countdown. They can give a refund address there too. Want the address in your own UI instead? See Build your own checkout.

Match payments to your orders

Each webhook carries paymentLinkId and orderId. Store the link id with your purchase when you create it, then look the purchase up by paymentLinkId when a webhook arrives. One link can produce several orders (a payer who lets a quote expire and starts again gets a new one), so key your fulfilment on the first order.settled or order.overpaid per link.

Common errors