If the customer pays through Ola Money with you,in case of any problems, money should be refunded to the customer's Ola Money account
Bill is a signed JSON from the merchant server. Ola Money uses SHA512 to sign the bill. It prevents tampering attempts.
The hash string for notify_url will have the following format:
data = 'accessToken|uniqueId|status_code|timestamp|amount|currency';
To verify the hash, you should compute the hash using SHA512 and your salt (as below), and compare it to the hash in the JSON. If there is mismatch, some tampering may have happened with the response.
hash = SHA512(data, your_salt_key);
For an in app payment flow, the intent will respond back with the transaction result, with one of the following status codes:
User not logged in
User has 0 balance
User has insufficient balance
Hash verification failed
Duplicate transaction not allowed
If you send a GET request to the enquiry API, you can expect on of the following status messages:
Transaction has been successfully completed
Transaction was initiated, but the user did not complete the payment