1. Generate Merchant Keys
A merchant should have an RSA public key in order to integrate direct pay. The RSA key will be generated using this endpoint.
API Endpoints
Sample Request & Response
Use the below parameters to get merchant keys.
Og will provide the Auth key and MerchantCode.
Sample code to post data
Note: Merchant keys are valid for 24 hours. Users are expected to generate a new merchant key every 24 hours. If the merchant utilizes an invalid RSA public key, the following error will show up in subsequent calls. { "ErrorMessage" : "Unable to decrypt card data" }
Last updated