v1

latestOpenAPI 3.1.02026-08-0425501.2 MB

Refund Offset Sale

post/?issuerefund

Request body

appidstring required

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

appkeystring required

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

epistring required

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

txn_typestring required

Transaction type should be set as refund

amountnumber double required

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

surchargeIndicatorstring required

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

invoicenumberstring required

Invoicenumber is required if we pass order_details

ref_txn_idstring required

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

sale_refundstring required

Should be set as value 1

auth_codestring

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

rrnstring

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

child_epistring

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

duplicate_transaction_checkinteger

Either 0 or 1.

Response

200

object required