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.

Guides

/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:

{
 "type":"refund",
 "status":"success",
 "transactionId":"bgho-5bot-ne16",
 "merchantBillId":"7c9f7b95-0f43-4028-9e01-3126b58b61d4",
 "amount":20.0,
 "hash":"d1880d064c17db0121645f7c4492176dafa24a25c168d1a045bc46ee2521156c845ebeba2005a487d76d23e47178b7aedd238db2130aab1fb9cca00dbd9294e9",
 "timestamp":1439473847354,
 "comments":"test",
 "udf":"test"
}

/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.