Payment Links
Get paid with a link. No website required.
Create a link in seconds, share it anywhere, and accept cards, Apple Pay and Google Pay. Try it: change the product or price and watch the customer's view update.
New payment link
Your link
pay.hansapay.io/l/brand-strategy-workshop
Use cases
One link. A hundred ways to get paid.
Invoices
Add a link to any invoice or quote so clients can pay the moment they read it.
Social selling
Sell from Instagram, TikTok or WhatsApp with a link in your bio or a message.
Bookings and deposits
Take deposits for appointments, rentals and events before the day.
In person
Print a QR code for your counter, stall or delivery van. Customers scan and pay.
Donations
Let supporters choose their own amount, one-off or again and again.
Repeat orders
Reuse one link for the same product, as many times as customers need.
What your customer sees
A payment page that looks like you built it.
Every link opens a hosted page on pay.hansapay.io with wallets first and cards behind them. You get a QR code for the same link, and a place in your dashboard to track every payment against it.
- Works with every card and wallet HansaPay supports
- Reusable, or limited to a single payment
- Deactivate or edit any time
- Payments settle to your balance on your usual schedule
Features
Small link. Serious features.
QR code for every link
Download as PNG or SVG, ready for print.
Adjustable quantities
Let customers choose how many, within limits you set.
Promotion codes
Percentage or fixed discounts, with expiry and usage limits.
Custom fields
Collect a company name, booking reference or note at checkout.
Pay what you want
Let customers enter their own amount, with an optional minimum.
Link analytics
See views, conversion and revenue for every link you share.
For developers
Every link payment reaches your webhook.
JSON over HTTPS, signed with HMAC-SHA256, with errors that carry a stable key. Every example in the reference was recorded from a running instance.
Signed both ways
Requests, responses and webhooks each carry an HMAC-SHA256 signature you can verify.
Webhooks that retry
Up to 9 attempts over about 90 minutes, until your endpoint replies success.
Plain REST
JSON over HTTPS. No library to install; sign requests from any language.
Your order number is the key
A repeated merchant_order_no is refused, so a retry can never charge twice.
const raw = express.raw({ type: "application/json" });
app.post("/hansapay/notify", raw, (req, res) => {
const h = (name) => req.get(name) ?? "";
const head = [h("X-MerchantID"), h("X-Timestamp"), h("X-Nonce")]
.map((v) => v + "\n").join("");
// Sign the raw bytes, never a re-serialised object.
const expected = createHmac("sha256", SECRET_KEY)
.update(Buffer.concat([Buffer.from(head), req.body]))
.digest();
const received = Buffer.from(h("X-Sign"), "hex");
if (received.length !== expected.length ||
!timingSafeEqual(received, expected)) {
return res.status(401).send("invalid signature");
}
// Webhooks can repeat and arrive out of order.
// Match on merchant_order_no, never on amount.
const event = JSON.parse(req.body);
// Exactly this body, within 5 seconds.
res.type("text/plain").send("success");
});FAQ
Payment Links, answered.
What is a payment link?
A payment link is a URL that opens a secure, hosted payment page for a product or amount you choose. You can share it anywhere, and customers can pay with a card or wallet without you needing a website.
Do I need a website to use Payment Links?
No. You create links in the HansaPay dashboard and share them however you like: by email, text message, social media or a printed QR code.
Can a payment link be used more than once?
Yes. Links are reusable by default, which is ideal for selling the same product repeatedly. You can also limit a link to a single payment, or deactivate it at any time.
When do I receive the money from a payment link?
Payments made through a link settle to your HansaPay balance on the same schedule as every other payment, a T+5 baseline that varies by account.
Can I create payment links through the API?
Not yet. Payment links are created and managed in the dashboard. Every payment made through a link arrives as an ordinary order and sends the same signed webhook as an API payment, so your systems still hear about each one.
Create your first link in a minute.
Open an account, name your product, set a price and share. It really is that quick.
- Approved in about 24 hours
- Test mode from day one
- No long-term contract
- Settle in 135+ currencies or USDT
