Create Discount
post/?creatediscount
Request body
appidstring required
Merchant APP ID (Alphanumeric - Length of 32 chars and special chars $@%#)
appkeystring required
Merchant APP KEY (Alphanumeric - Length of 32 chars and special chars $@%#)
epistring required
EPI is an end point identifier, Identify the device on valor infrastructure, it's a 10 digit number starts with 2
txn_typestring required
Transaction type should be 'addDiscount'
discountNamestring required
Discount name should be allowed max 25 chars
amountTypeinteger required
Amount type should be sent 0 or 1
discount_amountnumber double required
Discount amount
Response
200
object required