v1
latestOpenAPI 3.1.02026-08-0425501.2 MBCapture API
Query parameters
Merchant APP ID (Alphanumeric - Length of 32 chars)
Merchant APP Key (Alphanumeric - Length of 32 chars)
Transaction type should be set as 'capture'
EPI is an end point identifier, Identify the device on valor infrastructure, it's a 10 digit number starts with 2
RRN number from sale txn response (Numeric - Max length of 15 chars)
Approval code response from sale transaction (Alphanumeric - Max length of 8 chars)
STAN number (Numeric - Max length of 6 chars)
Should match the original sale tran_no (Numeric - Max length of chars 11)
Add excess two zero for original capture transaction amount (Ex: 10.00 means 1000). A request should not be sent when the amount is 0. The amount must be greater than zero
Mode of transaction in POS terminal
Customer phone number- 10 digit Numeric (Ex: 5247896523)
A unique id of the request, A client can send any number of 10 digit
Customer email id - Varchar (Ex: test@domain.com, 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
Tax amount - Currency $ (Eg. 00.00)
City tax amount - Currency $ (Eg. 00.00)
Custom fee/surcharge fee if any - Add excess two zero for original amount (ex: 5.00 means 500)
Tip if any - Optional (Eg. 00.00)
Request body
Response
200
Example response
{
"error_no": "S00",
"success_url": true,
"error_code": "00",
"amount": "5.67",
"tax": "0",
"customfee": "14",
"msg": "APPROVED",
"desc": "APPROVAL TAS168 ",
"approval_code": "TAS168",
"rrn": "328510502516",
"txnid": "5217748",
"tran_no": 9,
"stan": 105,
"partial_amount": "000000000567",
"pan": "XXXX",
"expiry_date": "/",
"epi": "2313185814",
"channel": "VT",
"netamt": 19.67
}