Skip to main content

Base URLs

Authentication

Send your secret key as a bearer token on every request. See Authentication for environments and scopes.

Conventions

  • Responses are wrapped in { "ok": true, "data": … } or { "ok": false, "error": { "code", "message" } }.
  • Amounts are decimal strings in major units ("1500", "12.50").
  • Lists are cursor-paginated with limit, cursor and nextCursor.
  • Payouts and conversions accept an Idempotency-Key header for safe retries.
Details in Requests and responses and Errors.

Try it

Each endpoint page has a playground. Pick Sandbox as the server and paste a kp_sandbox_… key to send real requests to the sandbox.