Overview

API Overview

The Lipia Online Payment API is designed to be simple, secure, and reliable. This section covers the fundamental concepts and structure of our API.

Base URL

All API requests are made to our base URL:

https://lipia-api.kreativelabske.com/api/v2

Authorization

All API requests to Lipia Online require authentication using API keys. This section explains how to obtain, use, and manage your API keys securely.

Authorization: Bearer YOUR_API_KEY

Getting Your API Key

1. Create an Account

  1. Visit lipia-online.vercel.app/dashboard (opens in a new tab)
  2. Click "Sign Up" to create a new account

2. Generate API Key

  1. Log in to your dashboard
  2. Create new app
  3. Go to App dashboard
  4. Generate api key from security section

API Structure

Our API follows RESTful principles with consistent response formats and comprehensive error handling.

Response Format

All API responses follow a consistent structure:

Success Response

{
  "success": true,
  "status": "success",
  "message": "Operation completed successfully",
  "customerMessage": "User-friendly message",
  "data": {
    // Response data here
  },
  "timestamp": "2024-01-15T10:30:00.000Z"
}

Error Response

{
  "success": false,
  "status": "error",
  "message": "Technical error message",
  "customerMessage": "User-friendly error message",
  "error": {
    "code": "ERROR_CODE",
     // ... debugging error details here
  },
  "timestamp": "2024-01-15T10:30:00.000Z"
}

Security

  • Authentication via API key in Authorization header
  • Input validation and sanitization
  • Callback endpoints should be secured with https

Support

For technical support or questions about the API: