This method creates a bill payment to a supported service providers using the merchant’s OneKhusa account balance. To make a payment, provide the ServiceCode for the selected provider, the provider-specific ServiceAccountNumber, and the required transaction details. For example, when paying an ESCOM Prepaid bill, the service account number represents the customer’s meter number. For a list of supported service providers and their service codes, see Service Providers. For sandbox testing and the expected response for each test account, see Test Accounts. For detailed explanations of the request and response payloads, see the Bill Payments Overview. On a successful payment, the provider’s response is returned in ServiceResponse, together with the transaction reference and response code.
Note: This method accepts custom idempotency key generated by your system. By default, if not specified, it will create one on your behalf.