PitishaAPI
One integration.
Every way Kenya pays.
Collect, pay out and settle through one API, and keep one record of every shilling, in and out. Money goes straight into your own till.
POST /v1/collections
curl -X POST "$PITISHA_API/v1/collections" \
-H "Authorization: Bearer $PITISHA_SECRET_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-1042-attempt-1" \
-d '{
"amount": 250000,
"currency": "KES",
"source": "paybill",
"customer": {
"phone": "+254712000000"
},
"reference": "INV-204117",
"description": "Order 1042",
"metadata": {
"order_id": "1042"
}
}'