Till New API
This API allows a company to create a new spending transaction using their till (business) information.Endpoint
POST /api/sandbox/v1/tillBase 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
| Field | Type | Description |
|---|---|---|
| businessNumber | String | The shortcode to which money will be moved |
| accountNumber | String | The account number to be associated with the payment. Up to 13 characters. |
| amount | Number | The transaction amount in Kenyan Currency. |
| remarks | String | Any additional information to be associated with the transaction. It should be upto 100 characters. |
| occasion | String | Any additional information to be associated with the transaction. It should be upto 100 characters. |
| callbackUrl | String | A valid POST url where the callback 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. |
