post

/orders/{order_id}/payment_actions/refunds

Creates a refund.

Authorization

apiKey - X-Auth-Client
apiKey - X-Auth-Token

Request Parameters

1 Path Parameter
2 Headers

Request Body

1 Example
Schema
object

Request body for refund requests.

order_id
integer

Order id against which this refund will be created

1 validation + required
items
array[anyOf]
required
reason
string

Reason for refund

1 validation
payments
array[object]
required

Responses

1 Example
Schema
object
data
object
meta
object

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
Path Params
1 path param not set
order_id
$$.env
2 variables not set
store_hash
X-Auth-Client
X-Auth-Token