Payment links
Reusable links that create an invoice when opened.
A payment link is a shareable URL. Each visit creates a fresh invoice. Leave amount empty to let the customer choose the amount, and network empty to let them choose the network.
POST /api/v1/payment-links GET /api/v1/payment-links
curl -X POST https://pay-test.qanawat.store/api/v1/payment-links \
-H "Authorization: Bearer sk_test_your_secret_key" \
-H "Content-Type: application/json" \
-d '{"title": "Consulting session", "amount": "50.00", "network": "trc20"}'$link = $gateway->createPaymentLink([
'title' => 'Consulting session',
'amount' => '50.00',
'network' => 'trc20',
]);
echo $link['url'];const res = await fetch('https://pay-test.qanawat.store/api/v1/payment-links', {
method: 'POST',
headers: { 'Authorization': 'Bearer sk_test_your_secret_key', 'Content-Type': 'application/json' },
body: JSON.stringify({ title: 'Consulting session', amount: '50.00', network: 'trc20' }),
});
console.log((await res.json()).url);Links can also be created without code in Dashboard → Payment links.
Need help? Contact us
Last updated: Nov 17, 2026