API Reference

Direct Sale Token

Direct sale with the token

Log in to see full request history
Body Params
string
required
Defaults to h6tSvf0Cz7fSB86B44bkLEplS15AsWYo

Merchant APP ID (Length of 32 chars)

string
required
Defaults to zOKj0LUOiW4L9jFRrMbMiJQ5KxQEpSMm

Merchant APP Key (Length of 32 chars)

string
required
Defaults to 2412333540

EPI is an end point identifier, Identify the device on valor infrastructure, it's a 10 digit number starts with 2

string
required
Defaults to sale

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)

double
required
Defaults to 5

Transaction amount - Maximum amount $99,999.99 (Ex: 0.1 to 99,999.99)

string
Defaults to inv0001

Invoice number is a unique number assigned (Alphanumeric max 12 chars)

string
Defaults to king size bed 10x12

Add the order description - Optional (Alphanumeric - Length of 50 chars)

double
Defaults to 10.2

Additional fee of surcharge amount - Currency $ (Eg: 10.00)

string

Customer phone number- 10 digit Numeric (Ex: 5247896523)

string

Customer email id - Varchar (Ex: test@domain.com, length of 50 chars)

string
required
Defaults to US

Shipping country should be mention default set us US

string
required
Defaults to 1

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

string
Defaults to 0

Should be set 0 or 1

double
Defaults to 12.34

Tax amount - Currency $ (Eg. 00.00)

string

Merchants call back url

int32
Defaults to 0

Set value 0 or 1 (1 - It will calculte the surcharge value from here and 0 - Fee will be calculate from merchant portal)

string

Successful transaction, page redirect to success page

string

Failed transaction, page redirect to failed page

string
required
Defaults to 54E1919A79DB65456466B3261C34DB8C3DE1F0BE

Card token, received from sale use it only

productIds
array of objects
productIds
string
Defaults to 1576

Product discount id

Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json