K-LINK Pay Docs · K-LINK Pay · llms.txt

Versioning

The API is versioned by date. The current version is 2026-11-27.

Send Klink-Version to pin the version your code was written for. It is optional: without it you get the current version. Every response carries a Klink-Version header saying which version answered.

curl https://api.klinkpay.net/v1/payments/pay_4Nq7xY2mKc8vTz1aB3dE9f \
  -H "Authorization: Bearer kp_test_…" \
  -H "Klink-Version: 2026-11-27"

What changes without a new version

  • New endpoints.
  • New optional request parameters.
  • New fields in responses and events (make your JSON parsing ignore unknown fields).
  • New event types (only sent to endpoints that listen to all events or that you subscribe).
  • New error codes and changes to error messages.

Anything that could break working code (removing or renaming a field, changing a type) ships as a new dated version, announced in advance.

Base URLs

The API lives at https://api.klinkpay.net/v1. Integrations built for the earlier K-LINK payment portal at https://pay.klinkcloud.com/v1 keep working: it serves the same API. See the API reference.