API Overview
Understand the structure of the Genuka Pay API, its resources, and its operational conventions.
Introduction
The Genuka Pay API is a JSON-based REST API organized around a few operational resource families: application credentials, payments, payouts, webhooks, and KYC.
Base URL
{{BASE_URL}}/api/v1Required Headers
X-Public-Key: YOUR_PUBLIC_KEY
X-Timestamp: UNIX_TIMESTAMP
X-Signature: HMAC_SHA256_SIGNATUREThe signature is computed with your application secret_key. Prefer the official SDKs when possible.
Application
Inspect your current application and rotate its active secret key.
Payments
Initiate payins and monitor transaction lifecycle status.
Payouts
Disburse funds using stored methods or direct recipient information.
Webhooks
Configure endpoint subscriptions and receive asynchronous events.
KYC
Manage compliance workflows, completeness, and operational limits.
Main Resource Families
Application
GET /applicationPOST /application/rotate
Payments
GET /paymentsPOST /paymentsGET /payments/status/{track_id}
Payouts
GET /payoutsPOST /payoutsGET /payouts/{id}POST /payouts/{id}/cancel
Webhook Endpoints
GET /webhook-endpointsPOST /webhook-endpointsGET /webhook-endpoints/{id}PUT /webhook-endpoints/{id}DELETE /webhook-endpoints/{id}POST /webhook-endpoints/{id}/regenerate-secret
KYC
GET /kyc/submissionPOST /kyc/submissionPOST /kyc/submission/documentsPUT /kyc/submission/documentsDELETE /kyc/submission/documentsPOST /kyc/submission/submitPOST /kyc/submission/unlockGET /kyc/limits
Response Shape
Many successful responses follow a data envelope:
{
"data": {},
"message": "Operation successful"
}Validation failures and business errors usually look like:
{
"message": "Validation failed",
"errors": {
"field": ["Error message"]
}
}Operational Rules
- use explicit ISO currency codes such as
XAFandXOF - treat payments and payouts as asynchronous operations
- prefer webhooks over polling in production
- include valid HMAC headers on authenticated routes
- treat KYC state and current limits as operational gating conditions
First Endpoints to Learn
How is this guide?