API Reference

Refund Offset Sale

Direct sale with the card number

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 refund

Transaction type should be set as refund

double
required
Defaults to 5

Refund amount, should not exceed the actual sale amount (Ex: 10.00)

int32
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
required

A unique response transaction id from the response of a sale transaction (Numeric - Length of 20 chars)

string
required
Defaults to 1

Should be set as value 1

string

Approval code response from sale transaction (Alphanumeric - Max length of 8 chars)

string

RRN number from sale txn response (Numeric - Max length of 15 chars)

string

card token, received from sale, use it only if you need to change the card number

Responses

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