Платіжні посилання та QR

Створюйте платіжні посилання та QR-коди з панелі керування або через API.

Ще не запущено — домен api.baynoy.com не резолвиться, тож приклади нижче сьогодні не виконаються. Вони описують контракт, до якого ми йдемо, і схеми на цій сторінці ще можуть змінитися.

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