The OneKhusaResponse Object

To make the SDK developer’s friendly, every request will have the predictable returned object, OneKhusaResponse, with the following properties:

The API Key and Secret

Whether you are using dependency injection or manual instantiation of OneKhusaClient, avoid keeping API key and secret in the system source code or source control repos to avoid leaking sensitive information. For more information, read disclaimer of OneKhusa payment gateway.