Borga amounts are expressed in whole Icelandic króna (ISK). Unlike many currencies, ISK has no subunit — there are no aurar in modern circulation. Pass
1000 to charge 1,000 kr, not 0.01 kr.1
Create your merchant account
Go to dashboard.borga.is and sign up. During onboarding you will need:
- Your company kennitala (Icelandic company registration number)
- A valid business email address
- Acceptance of Borga’s terms of service
2
Get your API keys
In the dashboard, navigate to Settings → API Keys and create a new key pair:
- Secret key (
sk_test_…) — used for server-side API calls. Keep this private. - Publishable key (
pk_test_…) — optionally used for browser-side embedded checkout flows.
mer_…), visible on the API Keys page. Include it as the X-Merchant-Id header on every request.3
Create a test payment
Send a A successful response returns a payment object:Save the
POST request to /v1/payments with your secret key and merchant ID. The request body requires an amount (in whole ISK), a currency, and a description.id — you will use it to retrieve the payment in the next step.4
Retrieve the payment
Fetch the payment you just created to confirm the details and current status:The response mirrors the payment object from the previous step. Check the
curl
status field — a payment that has not yet been completed will show pending.5
Go live
When you are ready to accept real ISK payments:
- Apply for live mode from the dashboard under Settings → Go Live.
- Complete any additional compliance steps Borga requires.
- Generate a live secret key (
sk_live_…) and update your server environment variables.
Next steps
Authentication
Learn about key types, the Merchant ID header, idempotency, and how to handle auth errors.
Accept a payment
Full guide to handling the complete payment lifecycle, including confirmation and refunds.
Hosted checkout
Use payment sessions to redirect customers to a Borga-hosted checkout page.
API reference
Full reference for every endpoint available in the Borga API.