Create a refund for an order

Creates a new refund for a specific order. Refunds created through the API never create a refund for the payment transaction.

Path Params
integer
required

ID of the order which the refund will be assigned to.

Body Params
number
required

The gross amount of the refund.

string
required

The reason for the refund.

Responses

400

Invalid request parameters.

401

Unauthorized. Invalid or missing API key.

404

Order not found.

500

Server error.

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