POST /api/v1/payments
Idempotency-Key required. Idempotency.
Body
| Field | Required | Notes |
|---|---|---|
amount, currency, type, customer | yes | |
phone, network | mobile | |
reference, metadata | no | |
webhook_url | no | Status events; overrides merchant default |
callback_url | no | Terminal status only; overrides merchant default |
type: "mobile" with phone and network:
network | Provider |
|---|---|
| VODACOM | M-Pesa |
| TIGO | Tigo Pesa |
| AIRTEL | Airtel Money |
| HALOTEL | Halopesa |
| TTCL | T-Pesa |
Webhookscardanddynamic-qrnot available for new collections yet.
API reference
POST /api/v1/payments