Kütüphaneler ve SDK'lar

Lansmanda desteklediğimiz diller için resmî kütüphaneler ve API'yi kütüphanesiz çağırmanın yolu.

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.

Launch languages

Official libraries for Node and Python ship with the API; further languages follow demand. Every SDK is a thin, typed wrapper over the REST API — anything the SDK does, plain HTTPS can do.

Calling without an SDK

Use HTTPS with Bearer authentication, JSON bodies, and the Idempotency-Key header on financial POSTs. The API reference documents every shape.

cURL
curl https://api.baynoy.com/v1/payment_links \
  -H "Authorization: Bearer bk_test_..." \
  -H "Idempotency-Key: 4f7c9a2e-..." \
  -d amount=4900 -d currency=EUR -d title="Design retainer"