Base URL: https://cryptopay.africa/api/v1
POST /api/v1/invoices
{
"reference": "INV-1001",
"currency": "USD",
"amount": 125.50,
"chain": "tron",
"asset": "USDT",
"customer": {"name": "John Doe", "email": "john@example.com"}
}
GET /api/v1/invoices/INV-1001
POST /api/v1/payouts
{
"amount": 50,
"asset": "USDT",
"chain": "bsc",
"destination": "0xRecipientAddress",
"metadata": {
"signed_raw_tx": "0x...signed_transaction_hex..."
}
}
POST /api/v1/payouts/batch
{
"items": [
{"destination": "TXXXX1", "amount": 10, "asset": "USDT", "chain": "tron"},
{"destination": "0xabc...123", "amount": 20, "asset": "USDT", "chain": "eth"},
{"destination": "0xbsc...789", "amount": 25, "asset": "USDT", "chain": "bsc"},
{"destination": "UQabc...xyz", "amount": 30, "asset": "USDT", "chain": "ton"}
]
}
POST /api/v1/webhooks/test
X-API-KEY: cpk_xxxxx
X-API-TIMESTAMP: 2026-03-09T12:00:00Z
X-API-NONCE: 8c6eb6fd52f64b80
X-API-SIGNATURE: <hmac_sha256_signature>
Idempotency-Key: idem_47a4f8fbe71f