Bill preparation
This call prepares a payment for airtime purchase
Method: POST
URI: …/jambopayservices/api/payments/POST
Stream: credit
Parameters
Name | Type | Required | Description |
---|---|---|---|
Stream | string | R | Payment stream being accessed |
PhoneNumber | string | R | User phone number |
Amount | decimal | R | Transaction amount |
OperatorCode | Int | R | Airtime provider identifier i.e 1 for Airtel, 2 for Telkom and 4 for Safaricom |
Response
Output | Type | Description |
---|---|---|
TransactionID | string | Transaction reference number |
PhoneNumber | string | User phone number |
OperatorName | Airtime provider name | |
Amount | decimal | Transaction amount |
Example of the API call: …/jambopayservices/api/payments/POST