Topics

DocsGet started

Quickstart

Start taking payments in Iceland with Kling. Sign up, get a test key straight away and take your first test payment, with or without writing code.

Fastest: let your AI tool do the work

Copy the prompt and paste it into ChatGPT, Claude, Cursor, Lovable or any other AI tool. It reads our quickstart, asks about your business and picks the right setup.

Kling is a payments platform for businesses in Iceland. You can take card payments, Apple Pay and Google Pay, send payment links, run subscriptions and send online bank claims (kröfur), all in Icelandic krónur (ISK). This page gets you from nothing to a working test payment. The fastest way is the prompt above: paste it into ChatGPT, Claude, Cursor, Lovable or another AI tool, and it reads Kling's instructions, asks about your business and sets up the right path for you. If you'd rather do it yourself, read on.

1. Create an account

Sign up at kling.is/signup. It takes a few minutes and costs nothing. The test environment opens the moment you sign up: you can set everything up and try it without any real money moving.

Your test API key (sk_test_...) is ready on the API Keys & Docs page in the dashboard.

2. Pick your path

You want to Do this
Get paid without a website or code Create a payment link in the dashboard and send it
Charge members or customers every month Set up subscriptions with a subscription link, no code needed
Collect through the customer's online bank Send online bank claims
Add payments to an app you build with AI Copy the prompt at the top of this page into Lovable, Bolt, Replit, v0, Cursor, Claude Code or whichever tool you use
Integrate with your own code Read on

3. Take a test payment with the API

Copy your test key from the API Keys & Docs page and keep it on your server, for example in an environment variable. Then create a checkout session. This one is for 1.000 kr.:

bash
curl -X POST https://api.kling.is/v1/checkout/sessions \
  -H "Authorization: Bearer sk_test_your_key_here" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "amount": 1000,
    "currency": "ISK",
    "success_url": "https://example.is/thanks"
  }'

The response has a url. Open it, pay with the test card 4111 1111 1111 1111 (any future expiry date, any CVC), and you are sent back to your success_url. Use 4000 0000 0000 0002 to see a declined card.

In Node, Bun or a framework such as Next.js, the typed server SDK @klingis/sdk makes the same call. See SDKs and tools.

Things to know from day one

  • Amounts are whole krónur. ISK has no decimals, so 1000 is 1.000 kr. Never multiply by 100.
  • Test and live are separate. Test keys, customers and payments never mix with live ones.
  • Keep the secret key on your server. It must never appear in browser code.

Next steps

View as markdown