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

Debit Call for submerchants

{
"command":"debit",
"accessToken":"ola_access_token",
"uniqueId":"TXN1232434343555523",
"comments":"optional",
"udf":"optional",
"hash":"3ce32cf5dd8ad19909fa944dbb67e82260db059590546fad676ba859654477447080ef7a6262b91be36ce5e3260d525d977da632957b9822499134dd96a076c1",
"returnUrl":"http://myweb.com/myreturn_url.php",
"notificationUrl":"http://myweb.com/mynotify_url.php",
"amount":"100.00",
"currency":"INR",
"couponCode":"NA", //(you can pass a coupon code whenever a cashback offer has to be run)
"subEntityId":"parentMerchantName-subMerchantName",//
"subEntityType":"submerchant"
}
Parameter Name
Description
Type
Mandatory
Default Value

subEntityId

Idetification of sub-merchant you wish to perform debit for

Note:Avialable on merchant dashboard

String

Yes

NA

subEntityType

Identifier which indicates the type of Entity the transaction is performed for

The value in this column is always "submerchant" for debit of a sub-merchant

String

Yes

submerchant

Hash Calculation

hash = sha512('access_token|uniqueId|comments|udf|returnUrl|notifyUrl|currency|amount|couponCode|subEntityType|subEntityId|salt');

For The rest of the request params explanation is available in Bill Generator Section

Individual Sub-merchant as Merchant

Every Sub-merchant is a merchant by himself.Hence All the debit and refund api would work similar to Merchant Integration Mentioned above.

Debit Call for submerchants