TipFiti
Home Businesses Recipients Cart Site Index How it works Safety Sign in Register

© 2026 TipFiti

TipFiti API Documentation

Complete REST API for the TipFiti platform

Base URL: https://tipfiti.com/jogu-micro.php Authentication: API Key required

Authentication

All API requests require an API key sent in the header:

X-API-Key: tipfiti_api_2024_secret_key

Or as a query parameter:

?api_key=tipfiti_api_2024_secret_key

GET Endpoints

GET /ping
Health check endpoint
GET https://tipfiti.com/jogu-micro.php/ping
GET /stats
Get platform statistics
GET https://tipfiti.com/jogu-micro.php/stats
GET /recipients
List all recipients (paginated)
GET https://tipfiti.com/jogu-micro.php/recipients?limit=20&page=1
GET /recipient/{id}
Get a single recipient by ID or username
GET https://tipfiti.com/jogu-micro.php/recipient/1
GET https://tipfiti.com/jogu-micro.php/recipient/sanka.receipt
GET /businesses
List all active businesses
GET https://tipfiti.com/jogu-micro.php/businesses
GET /business/{id}
Get a single business by ID or slug
GET https://tipfiti.com/jogu-micro.php/business/1
GET https://tipfiti.com/jogu-micro.php/business/sanka
GET /products
List all digital products
GET https://tipfiti.com/jogu-micro.php/products?recipient_id=1
GET /product/{id}
Get a single product by ID
GET https://tipfiti.com/jogu-micro.php/product/1
GET /tips
List recent tips
GET https://tipfiti.com/jogu-micro.php/tips?limit=10&recipient_id=1
GET /search
Search recipients, businesses, and products
GET https://tipfiti.com/jogu-micro.php/search?q=John
GET /toc
Get table of contents (site index)
GET https://tipfiti.com/jogu-micro.php/toc

POST Endpoints

POST /tip
Send a tip to a recipient
POST https://tipfiti.com/jogu-micro.php/tip
Content-Type: application/json

{
    "recipient_id": 1,
    "amount": 50,
    "phone": "254711223344",
    "name": "John Doe",
    "comment": "Great work!",
    "rating": 5
}
POST /register
Register a new user
POST https://tipfiti.com/jogu-micro.php/register
Content-Type: application/json

{
    "name": "John Doe",
    "username": "john.doe",
    "email": "john@example.com",
    "password": "securepassword",
    "phone": "254711223344",
    "role": "business_user"
}
POST /login
Login a user
POST https://tipfiti.com/jogu-micro.php/login
Content-Type: application/json

{
    "username": "sanka.receipt",
    "password": "Kenya@254"
}

Response Codes

CodeDescription
200Success
201Created
400Bad Request
401Unauthorized (Invalid API Key)
403Forbidden
404Not Found
409Conflict
500Internal Server Error

Test the API

Ping Stats Recipients TOC

Confirm action

Review this action before continuing.