Back to Home

API Testing Console

Test your API endpoints in real-time

Quick Start Guide

  1. If you don't have an API key, use the Generate API Key endpoint with your login credentials
  2. Copy your API key and paste it in the API Authentication field above
  3. Test different endpoints by clicking on them and filling in the required parameters
  4. View the response in real-time with proper formatting

Base URL:

API Authentication

Enter your API key to start testing. You can generate an API key from your dashboard or use the endpoint below.

POST /api/generate-key

Generate a new API key using your email and password credentials.

Response

GET /api/balance

Retrieve your current account balance. Requires API key authentication.

Response

POST /api/purchase

Purchase a data bundle. Requires API key authentication.

Response

POST /api/afa

Register a user for AFA Calltime Package. All fields are required. Requires API key authentication.

Name as it appears on Ghana Card
10-digit Ghana number starting with 0
Format: GHA-XXXXXXXXX-X
Current residential address
Response

GET /api/afa-status

Check the status of a single AFA registration order. Returns detailed status information including registration details, payment info, and processing status.

Enter the AFA order reference (starts with AFA_)
Response

POST /api/afa-status-bulk

Check the status of multiple AFA registration orders at once (up to 50). Enter one reference per line.

Enter up to 50 AFA references (one per line)
Response

GET /api/orders

Get details of a specific order by reference. Requires API key authentication.

Response

GET /api/transactions

Get a paginated list of all your API transactions. Requires API key authentication.

Response