Ola Money Developer Hub

Welcome to the Ola Money developer hub. You'll find comprehensive guides and documentation to help you start working with Ola Money as quickly as possible, as well as support if you get stuck.

Documentation

FAQs

If these FAQs don't help you, feel free to write us at support@olamoney.com

Where should I refund the customer?

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

What’s a bill in this? Why is it there?

Bill is a signed JSON from the merchant server. Ola Money uses SHA512 to sign the bill. It prevents tampering attempts.

How do I verify the hash on notify_url?

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);

What status codes should I expect for a transaction result?

For an in app payment flow, the intent will respond back with the transaction result, with one of the following status codes:

Status Code
Status Message
Meaning

100

Success

Transaction Successful

101

Nloggedin

User not logged in

102

Nobalance

User has 0 balance

103

Insufficientbalance

User has insufficient balance

104

Failed

Payment Failed

105

Hashfailed

Hash verification failed

106

Duplicate

Duplicate transaction not allowed

What status messages should I expect for the enquiry API?

If you send a GET request to the enquiry API, you can expect on of the following status messages:

Status Message
Meaning

completed

Transaction has been successfully completed

initiated

Transaction was initiated, but the user did not complete the payment

failed

Transaction failed

FAQs

If these FAQs don't help you, feel free to write us at support@olamoney.com