Paybill Payment API
This API allows a company to create a new spending transaction using Paybill (business) information.Endpoint
POST /api/sandbox/v1/paybill
Base URL
https://api.kiotapay.co
Request Headers
| Key | Value | Required | Description |
|---|---|---|---|
Content-Type | application/json | ✅ | Specifies that the request body is in JSON format. |
Authorization | Bearer <your-token> | ✅ | API authentication token. Replace <your-token> with a valid JWT. |
Request Body
The body must contain the following fields:| Field | Type | Description |
|---|---|---|
| businessNumber | String | The Paybill number associated with the receiver. |
| accountNumber | String | The account number associated with the receipient’s paybill |
| amount | Number | The amount to be transacted in the Kenyan Shillings currency. |
| remarks | String | Additional information about the transaction. |
| occasion | String | A description or purpose for the transaction. |
| callbackUrl | String | A valid POST URL where payment confirmation will be sent. |
| referenceId | String | This is an optional field that represents the request ID from your system. It can be used to query the transaction, as it maps to the identifier used in your system. |
