initiate_payment
Send a USSD payment request to a payer's phone number for approval, specifying amount, currency, channel, and external reference.
Instructions
Send a USSD payment request to a payer's phone number for approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payer | Yes | Customer's phone number. | |
| amount | Yes | Amount to collect. | |
| channel | Yes | 13=MTN, 6=Telecel, 7=AT. | |
| headers | No | HTTP headers to include | |
| otpcode | No | OTP code if required by the flow. | |
| currency | Yes | Currency code (e.g., GHS). | |
| reference | No | Optional payment reference. | |
| sessionid | No | USSD session ID if applicable. | |
| externalref | Yes | Unique reference for the payment. | |
| accountnumber | Yes | Your Moolre Account Number. |