API Reference
Integrate Payvoro earnings settlement and payouts into your platform.
Looking to register an application and generate API keys?
Sign in to your Payvoro account and apply for free Developer Access to obtain production API credentials, issue dual-key authentication, and configure automated webhooks.
Authentication
The Payvoro API requires dual-key authentication. Every API request must include both your API Key and your API Secret as HTTP headers. Never expose your credentials in frontend code.
Required Request Headers:
X-API-Key: <Your_API_Key>
Authorization: Bearer <Your_API_Secret>
Content-Type: application/json
Rate Limiting & Throttling
Tier limits and standard HTTP headers
All API endpoints enforce sliding-window rate limits to ensure service stability. Standard response headers indicate your remaining quota:
X-RateLimit-Limit
Total requests allowed in current window
X-RateLimit-Remaining
Remaining requests before throttle
X-RateLimit-Reset
Unix timestamp when limit resets
When exceeded, the API returns 429 Too Many Requests with a Retry-After header in seconds.
Verify that a user's Wallet ID exists and retrieve its current status.
Example cURL Request
curl -X POST https://payvoro.site/api/v1/wallet/verify/ \
-H "X-API-Key: YOUR_API_KEY" \
-H "Authorization: Bearer YOUR_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"wallet_id": "WLT-8F42K91M"
}'
Success Response (200 OK)
{
"success": true,
"wallet_id": "WLT-8F42K91M",
"status": "active",
"currency": "USD"
}
Pre-check whether a wallet is eligible to receive credit before initiating earnings payouts.
Example cURL Request
curl -X GET https://payvoro.site/api/v1/wallets/WLT-8F42K91M/eligibility/ \ -H "X-API-Key: YOUR_API_KEY" \ -H "Authorization: Bearer YOUR_API_SECRET"
Success Response (200 OK)
{
"success": true,
"wallet_id": "WLT-8F42K91M",
"eligible": true,
"status": "active",
"currency": "USD"
}
Credit verified earnings to a user's wallet. Enforces strict idempotency via the unique reference key and executes high-precision Decimal financial calculations.
Example cURL Request
curl -X POST https://payvoro.site/api/v1/wallet/credit/ \
-H "X-API-Key: YOUR_API_KEY" \
-H "Authorization: Bearer YOUR_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"wallet_id": "WLT-8F42K91M",
"amount": "25.00",
"reference": "JOB-REF-89211",
"description": "Transcription payout"
}'
Success Response (200 OK)
{
"success": true,
"reference": "JOB-REF-89211",
"amount": "25.00",
"new_balance": "150.50"
}
Retrieve transaction status and audit reconciliation by reference.
Example cURL Request
curl -X GET https://payvoro.site/api/v1/transactions/JOB-REF-89211/ \ -H "X-API-Key: YOUR_API_KEY" \ -H "Authorization: Bearer YOUR_API_SECRET"
Success Response (200 OK)
{
"reference": "JOB-REF-89211",
"status": "completed",
"amount": "25.00",
"currency": "USD"
}
Platform Webhooks
Configure your Webhook URL in the Developer Dashboard to receive real-time event notifications when transactions occur.
Supported Events
- • wallet.credited - Dispatched when funds are credited to a user's wallet
- • ping - Dispatched when testing connection via Test Ping
HMAC-SHA256 Signature Verification
Every webhook delivery includes the header X-Payvoro-Signature: t=<timestamp>,v1=<signature> signed with your platform's Webhook Secret.
import hmac, hashlib
def verify_payvoro_webhook(raw_payload_bytes, signature_header, webhook_secret):
parts = dict(x.split('=') for x in signature_header.split(','))
expected = hmac.new(
webhook_secret.encode('utf-8'),
raw_payload_bytes,
hashlib.sha256
).hexdigest()
return hmac.compare_digest(expected, parts.get('v1', ''))
M-Pesa Disbursements & Callbacks
Payvoro verifies and reviews withdrawal requests, dispatching live Kenyan Shilling payouts to user mobile numbers upon administrative approval.
Incoming Webhook Callbacks:
POST /api/v1/webhooks/hashpay/ — Receives HashPay STK verification & payment callbacks