initiate_payment
Initiate mobile money payments (M-Pesa) through Tunzaa to implement payment flows in your code. Provide customer phone number, amount, and reference to start transactions.
Instructions
Initiate a payment request (M-Pesa, etc.) via Tunzaa. Call this to inspect the response structure needed to implement mobile money flows in your local code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_msisdn | Yes | Customer phone number in local format (e.g., 0744550667). Essential for Mobile Money push. | |
| amount | Yes | Transaction amount as a string to avoid precision issues (e.g., '5000'). | |
| reference | Yes | Unique order reference from your system. Used to match callbacks. | |
| address | No | Optional override for API base URL. |