라이브러리 및 SDK

출시 시점에 지원하는 언어의 공식 라이브러리, 그리고 라이브러리 없이 API를 호출하는 방법.

아직 사용할 수 없습니다 — api.baynoy.com 도메인이 조회되지 않으므로 아래 예제는 지금 실행되지 않습니다. 저희가 만들어 가는 계약을 설명한 것이며, 이 페이지의 형식은 아직 바뀔 수 있습니다.

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"