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
Generate links from your own systems.
Clean REST resources, predictable errors and versioned releases. Most teams ship their first live payment in an afternoon.
Idempotent by default
Retry any request safely. Keys are honoured for 24 hours.
Signed webhooks
Every event is signed and retried with exponential backoff.
Plain REST
No library to install. Call the API from any language that can send HTTPS.
Test-mode parity
Sandbox behaves exactly like production, with test cards for every outcome.
const link = await hansapay.paymentLinks.create({
name: "Brand strategy workshop",
amount: 145000,
currency: "usd",
allow_promotion_codes: true,
quantity: { adjustable: true, max: 10 },
custom_fields: [{ key: "company", label: "Company name" }],
});
console.log(link.url); // https://pay.hansapay.io/l/atelier-7fk2
console.log(link.qr.svg); // ready-to-print QR codecurl https://api.hansapay.io/v1/payment_links \
-u "$HANSAPAY_SECRET_KEY:" \
-d name="Brand strategy workshop" \
-d amount=145000 \
-d currency=usd \
-d allow_promotion_codes=trueFAQ
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?
Yes. Everything you can do in the dashboard is available through the API, so you can generate links automatically from your own systems.
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