put

/merchants/{merchant_id}/reports/transactions/{transaction_id}/partial_refund

Sends a partial refund request to return a part of a payment to a user. Please note that a partial refund is available only for credit card and PayPal payments. Read about the Refund feature to learn more about the process.

Authorization

basic

Request Parameters

2 Path Parameters

Request Body

1 Example
Schema
object
$schema: http://json-schema.org/draft-04/schema#
description
string

Reason for a refund.

required
refund_amount
integer

The refund amount in a purchase currency.

3 validations + required

Responses

OK (No error).

1 Example
Schema
object
$schema: http://json-schema.org/draft-04/schema#
message
string

Can return one of two messages:

  • The request for a refund has been accepted. Xsolla CS will manually complete the refund. It may take up to two business days.
  • The request for a refund has been accepted. Xsolla CS will automatically send the customer an email with alternative refund options as the user’s method does not support direct refunds.

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
2 path params not set
merchant_id
transaction_id
$$.env
username
password