put

/merchant/{refMerchantId1}/order/{orderid}/transaction/{transactionid}

Use Refund to refund previously-captured funds to the payer.

Typically, a Refund is linked to the Capture or Pay through the orderId. When you trigger Refund you will provide the original orderId, a new transactionId, and the amount you wish to refund. You may provide other fields if you want to update their values, however you must NOT provide sourceOfFunds.

In rare situations, you may want to refund the payer without associating the credit to a previous transaction (a Standalone Refund). In this case, you need to provide the sourceOfFunds and a new orderId.

The request model for Refund is also called Refund. It includes action, agreement and billing objects and the relevant id strings.

Request Parameters

3 Path Parameters
1 Header

Request Body

1 Example
Schema
object
apiOperation
string
2 validations + required
correlationId
string
lineOfBusiness
string
partnerSolutionId
string
userId
string
action
object
agreement
object
billing
object
currencyConversion
object
customer
object
device
object
externalTokenProvider
object
order
object
posTerminal
object
responseControls
object
session
object
shipping
object
sourceOfFunds
object
transaction
object

Responses

1 Example
Schema
object
apiOperation
string
2 validations + required
correlationId
string
partnerSolutionId
string
userId
string
1 validation
action
object
order
object
posTerminal
object
responseControls
object
sourceOfFunds
object
transaction
object
string

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
2 path params not set
refMerchantId1
orderid
transactionid
$$.env
1 variable not set
payAuthHeader
merchantId
orderId