Developer Platform Setup

This guide will walk you through setting up your Linka Developer Platform account and configuring your API keys.

Prerequisites

Before you begin, make sure you have:

  • A Linka account (sign up at linka.xyz)
  • Access to your account dashboard
  • A secure location to store your API keys

Step 1: Access the Developer Dashboard

  1. Log in to your Linka account
  2. Navigate to the Developer section in your dashboard
  3. Click on API Keys to access your key management

Step 2: Generate API Keys

Production Keys

  1. In the API Keys section, click Create New Key
  2. Give your key a descriptive name (e.g., "Production - Payment Service")
  3. Select the permissions your key needs:
    • Read: View transactions and balances
    • Write: Create transactions and wallets
    • Admin: Full access including account management
  4. Click Generate Key
  5. Important: Copy your API key immediately. You won't be able to view it again.

Sandbox Keys

For testing, use the sandbox environment:

  1. Switch to Sandbox Mode in the dashboard
  2. Follow the same process to generate sandbox API keys
  3. Sandbox keys work identically to production keys but don't process real transactions

Step 3: Configure Your Environment

Store your API keys securely using environment variables:

# Production
LINKA_API_KEY=sk_live_...
LINKA_API_URL=https://api.linka.xyz

# Sandbox
LINKA_API_KEY=sk_test_...
LINKA_API_URL=https://sandbox.linka.xyz

Step 4: Test Your Connection

Make a test API call to verify your setup:

curl https://api.linka.xyz/v1/health \
  -H "Authorization: Bearer $LINKA_API_KEY"

You should receive a 200 OK response with your account information.

Security Best Practices

  • Never commit API keys to version control
  • Use environment variables for all API keys
  • Rotate keys regularly (at least every 90 days)
  • Use separate keys for different services or environments
  • Revoke unused keys immediately

Next Steps

Was this page helpful?

Help us improve our documentation