v1
latestOpenAPI 3.1.02026-08-0425501.2 MBDirect Sale API (L2/L3)
Direct sale with the card number. For AVS verification from the API, the fields sent should be based on the portal settings. If the setting is configured as “Address Only,” then only the address details should be sent in the address1 field. If the setting is configured as “ZIP Only,” then only the zip value should be sent in the zip property.
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
sale or auth ('sale' - Amount of the purchase will be deducted from the cardholder's bank account and 'auth' - it will be held (authorized) for a certain period of time/days)
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
Tax amount - Currency $ (Eg. 00.00)
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)
Name of the cardholder - Alphabet (Max length of 40 chars)
Invoicenumber is required if we pass order_details
Add the order description - Optional (Alphanumeric - Max length of 50 chars)
Additional fee of surcharge amount - Currency $ (Eg: 10.00)
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
Customer phone number- 10 digit Numeric (Ex: 5247896523)
Address should be max 100 chars - Alphanumeric
Shipping country should be mention default set us US
Zip code should be 5 digits (Numeric - Ex: 10001, 90002)
Customer email id - Varchar (Ex: test@domain.com, Max length of 50 chars)
Customer field must contain a maximum of 100 characters and may include only alphanumeric characters, #, and @.
The PO number must be provided to receive the Level 2 benefit (Alphanumeric Max 25 chars).
The Customer VAT should be maximum 13-character alphanumeric value (Level 3 benefit).
Freight amount - Currency $ (Eg. 00.00) (Level 3 benefit).
Freight tax amount - Currency $ (Eg. 00.00) (Level 3 benefit).
The postal code should be maximum 10 numeric value (Level 3 benefit).
The VAT invoice should be Maximum 15-character alphanumeric value (Level 3 benefit).
Duty amount - Currency $ (Eg. 00.00) (Level 3 benefit).
Either 0 or 1.
Address verification service (zip, street address - Numeric length of one chars)
Response
200