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.


/v3/refund - Refund for Sub-merchants

   "command": "refund",
   "accessToken": "ola_access_token",
   "uniqueId": "7c9f7b95-0f43-4028-9e01-3126b58b61d4", (new one merchant has to generate for the refund txn)
   "comments": "test",
   "udf": "test",
   "hash": "10b4ba7039136ecb5246c4107b4eb124f0462c1dbb9a5fdaaa160d9a143385ecdc17c88047f8d23bc4e5544a719822949a685b1d37132da0ba510f9aa35cb178",
   "returnUrl": "test",
   "notificationUrl": "test",
   "amount": 20.0,
   "balanceType": "cash",
   "balanceName": "cash",
   "olaTransactionId": "bhfo-5bot-bgh6", (original parent txn id provided by Ola Money)
   "currency": "INR"

Hash for refund

hash_string = 'accessToken|uniqueId|comments|udf|returnUrl|notificationUrl|currency|amount|balanceType|balanceName|olaTransactionId|salt';

hash = sha512(hash_string);

Response for Refund:


/v3/refund - Refund for Sub-merchants

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.