Partner API
The Partner API enables external systems like VULT to interact with SmartPay wallets. All requests require HMAC-SHA256 signature authentication.
The interactive Mintlify playground is disabled for partner endpoints because these routes require custom HMAC headers and a signature over the exact raw JSON body. Use the copyable bash examples on each endpoint page.
Integration Partners
Mobile money integration for wallet funding
Bank transfer integrations
Custom partner integrations
Endpoints
POST /api/v1/partner/account-status
Check if subscriber account exists
POST /api/v1/partner/transaction-history
Get partner's transaction history
POST /api/v1/partner/cashin
Credit subscriber wallet
Authentication
Partner API uses HMAC-SHA256 signature authentication instead of Bearer tokens.
| Header | Description |
|---|---|
X-API-Key-ID | Partner API key ID |
X-Partner-ID | Your partner identifier (for example VULT) |
X-Timestamp | RFC3339 timestamp |
X-Signature | HMAC-SHA256 signature |
Signatures are only valid for 5 minutes from the timestamp. Ensure your server clock is synchronized.
Cash-In Flow
Partner calls account-status to verify subscriber exists
Partner sends cashin request with amount and reference
Subscriber wallet is immediately credited
Partner clearing account is debited (can go negative)
Transaction ID returned for reconciliation
Response Examples
{
"success": true,
"exists": true,
"status": "active"
}
Error Handling
| Status | Code | Description |
|---|---|---|
| 400 | INVALID_REQUEST | Missing or invalid parameters |
| 401 | INVALID_SIGNATURE | HMAC signature verification failed |
| 401 | EXPIRED_TIMESTAMP | Timestamp older than 5 minutes |
| 404 | USER_NOT_FOUND | Subscriber not found |
| 500 | TRANSACTION_FAILED | Internal processing error |
Integration Checklist
- Obtain
X-API-Key-ID, partner ID, and HMAC secret - Implement signature generation
- Test with sandbox environment
- Handle all error responses
- Request production credentials
- Set up webhook receivers
- Configure reconciliation process
- Enable monitoring/alerting