Transaction completion
This call completes the token purchase transaction thereby returning a token number to the customer.
Method: PUT
URI: …/jambopayservices/api/payments/PUT
Stream: kplc
Request body
Name | Type | Required | Description |
---|---|---|---|
Stream | string | R | Payment stream being accessed |
TransactionID | String | R | Unique transaction reference number |
PaidBy | String | O | Names of the person paying for tokens |
Response
Output | Type | Description |
---|---|---|
Customer[ReferenceNumber] | string | Reference number sent by KPLC |
Customer[Names] | string | Customer names |
Customer[Address] | string | Customer address |
Charges[Amount] | decimal | Transaction charges amount |
Charges[Name] | string | Transaction charges name |
Charges[Tax] | decimal | Transaction charges tax |
Charges[Category] | string | Transaction charges category |
Tokens[Amount] | decimal | Transaction amount |
Tokens[ReceiptNumber] | string | Tokens receipt number |
Tokens[Tarrif] | string | Tokens tarrifs details |
Tokens[Tax] | decimal | Tokens tax |
Tokens[Token] | int | Token number |
Tokens[Units] | decimal | Token units |
Tokens[UnitType] | string | Token unit type |
TransactionID | string | Unique transaction reference number |
ReceiptNumber | String | Unique reference number that confirms that the transaction is completed |
Amount | decimal | Transaction amount |
MeterNumber | string | Meter number you are buying tokens for |
Example of the API call: …/jambopayservices/api/payments/PUT