Refund Offset Sale

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

To perform a refund transaction, provide ref_txn_id or all of the following transaction details: auth_code and rrn.

Body Params
string
required
Defaults to h6tSvf0Cz7fSB86B44bkLEplS15AsWYo

Merchant APP ID (Alphanumeric - Length of 32 chars and special chars $@%#)

string
required
Defaults to zOKj0LUOiW4L9jFRrMbMiJQ5KxQEpSMm

Merchant APP KEY (Alphanumeric - Length of 32 chars and special 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 10

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

string
required
Defaults to 0

Set 0 for transactions processed through a traditional MID with no custom fee. Set 1 for transactions processed through a cash discounting MID with a custom fee.

string
required
Defaults to inv0001

Invoicenumber is required if we pass order_details

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)

additional_prompts
array of objects

Custom inputs, with a maximum of 25 entries allowed.

additional_prompts
string

If the merchant has multi-MIDs, they need to send both the child EPI and the parent EPI in the EPI request

int32

Set to 1 to enable duplicate transaction checking based on the portal setting. Set to 0 to disable it. For example, By Invoice Number declines transactions with the same invoice number in the same batch. The PO number is required when the Invoice Number duplicate check is enabled in the settings.

string

When sending the invoice number for the duplicate transaction check, the PO number must also be provided (alphanumeric, maximum 25 characters).

Responses

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