v1
latestOpenAPI 3.1.02026-08-0425501.2 MBDirect Refund API
Request body
Merchant APP ID (Alphanumeric - Length of 32 chars and special chars $@%#)
Merchant APP KEY (Alphanumeric - Length of 32 chars and special chars $@%#)
EPI is an end point identifier, Identify the device on valor infrastructure, it's a 10 digit number starts with 2
Txn type should be "direct-refund"
Transaction amount - Maximum amount $99,999.99 (Ex: 0.1 to 99,999.99). A request should not be sent when the amount is 0. The amount must be greater than zero
Customer field must contain a maximum of 100 characters and may include only alphanumeric characters.
Customer phone number- 10 digit Numeric (Ex: 5247896523)
Name of the cardholder - Alphabet (Max length of 25 chars)
Customer card number 15 to 19 digits
Card expiry date, Accepted expiry MMYY & MM/YY (The expiration date must be exactly 4 characters long, consisting of a 2-digit month (with a leading zero if necessary) followed by a 2-digit year (e.g., "0526"))
Card Verification Value should be 3 or 4 digits (Ex: 999, 9997)
Customer email id - Varchar (Ex: test@domain.com, Max length of 50 chars)
Invoice number is a unique number assigned (Alphanumeric - Max length of 12 chars)
Add the order description - Optional (Alphanumeric - Max length of 50 chars)
The value '0' represents a transaction being ran on the traditional MID with no custom fee added, while '1' represents a transaction being ran on the cash discounting MID with the custom fee added
Shipping address street number - Number with hyphen (Ex: 1-95)
Billing address street number - Number with hyphen (Ex: 1-95)
Billing address customer name - Alphabet (Max length of 25 chars)
2FA request uuid (Max length of 50 chars)
Direct refund OTP (Ex: 500654, Max length of 6 chars)
Refund OTP API Id
Refund OTP APP Key
Response
200