Ödeme linkleri ve QR
Panelden veya API'den ödeme linkleri ve QR kodları oluşturun.
Henüz yayında değil — api.baynoy.com çözümlenmiyor, dolayısıyla aşağıdaki örnekler bugün çalışmaz. Hedeflediğimiz sözleşmeyi anlatıyorlar ve bu sayfadaki şemalar hâlâ değişebilir.
Links without code
Create links in the dashboard with a fixed or open amount; share the URL anywhere. Every link has a QR twin you can print or show on screen.
Links from the API
POST /v1/catalog/links with title, amountMinor and assetKey (or a priceId from your catalog). The response carries the slug; the QR code encodes the same URL.
cURL
curl https://api.baynoy.com/v1/catalog/links \
-H "Authorization: Bearer bk_test_..." \
-H "Content-Type: application/json" \
-d '{"title": "Design retainer", "amountMinor": "4900", "assetKey": "fiat:EUR"}'
# -> {"id": "lnk_...", "slug": "k3x9q2"} — the page is https://baynoy.com/pay/k3x9q2