Create order refund
Issues a refund for the specified order, optionally including a product list and/or components (service gesture, shipping, Duties & Taxes).
Query Parameters
The order-level refund details, as a URL-encoded, JSON-serialized OrderRefundDetails object — passed in the query string, not in the request body. Only OrderId is required. See the integration guide for the object's fields.
"{\"OrderId\":\"GE95135467GB\",\"FullRefund\":false,\"TotalRefundAmount\":\"320\",\"RefundReason\":{\"OrderRefundReasonCode\":null,\"Name\":\"Undefined\"}}"
Body
The unique product line identifier at the order level, as provided in GetCheckoutCartInfo and returned in SendOrderToMerchant (Global-e to Merchant).
The code of the product from the GetOrderDetails endpoint. This can be either the SKU or the ProductCodeSecondary. Mandatory if CartItemId is not specified.
The product line quantity to refund. If the amount attributes are not specified, a full refund is initiated for (product unit * quantity). For returnable products, use "null" for the refund attribute. Mandatory if appeasements are not enabled.
Preferred if not full product amount - The total product line refund amount in Merchant currency, if partial will be backward pro-rated for reconciliation.
The total product line refund amount, in %.
If partial, the total product line refund amount in Customer currency will be pro-rated for customer values from transaction amounts. The amount must include domestic VAT, if applicable.
Provide the product line refund reason for logging on the Global-e side.
Add comments about the refund for logging on the Global-e side.
Response
Refund processed. The same envelope carries both successful and processing-error outcomes — distinguished by Success. On a processing error, Success is false and NotifyOrderRefund is null.
Refund response envelope.

