API updates

This section highlights the new releases and improvements for OneKhusa API

Fake Data

Changed from string response to object response for Simulate Accept Request To Pay endpoint as follows:
{ 
  "transactionReferenceNumber": "CBPC73IQ5U2E", 
  "beneficiaryAccountNumber": 12346198, 
  "beneficiaryName": "MERCHANT SANDBOX", 
  "beneficiaryCurrencyCode": "MWK", 
  "sourceAccountNumber": "5271306", 
  "sourceCustomerName": "ANGEL BAULENI", 
  "sourceReferenceNumber": "JF260209114N", 
  "sourceCurrencyCode": "MWK", 
  "connectorName": "National Bank of Malawi", 
  "amountSent": 50000, 
  "amountReceived": 49500, 
  "transactionFee": 500, 
  "transactionDescription": "Payment Transaction", 
  "transactionDate": "2026-02-09T15:12:52.8020476+02:00", 
  "valueDate": "2026-02-09T15:12:52.8020476+02:00", 
  "transactionCode": "BAM", 
  "transactionTypeName": "Account To Merchant", 
  "transactionStatusCode": "S", 
  "transactionStatusName": "Success", 
  "bridgeReferenceNumber": "019c4288-9342-7ebd-a947-6d97d4da77ed", 
  "dateCreated": "2026-02-09T15:12:52.8020476+02:00", 
  "responseCode": "S100", 
  "responseMessage": "Successful transaction" 
} 

C# SDK

These changes are available in OneKhusa.SDK 2026.1.5.2 version.

Fake Data

  • Changed from string response to object response for Merchant Account Topup feature, refer to the transaction object under API Reference/Fake Data above.
  • Changed from string response to object response for Simulate Accept Request To Pay feature, refer to the transaction object under API Reference/Fake Data above.