This endpoint creates a refund request that can process partial or full refunds. It handles payment reversals, inventory adjustments, and customer notifications.
Authentication
This endpoint requires a valid API key withrefunds:write
permissions.
Request Body
Original order ID to refund
Refund type: “full”, “partial”, “item_return”, “shipping”, “tax_only”
Refund reason code
Detailed explanation of refund reason
Items to refund (required for partial/item refunds)
Refund amounts breakdown
Refund payment method
Return shipping details
Processing options
Internal notes about the refund
Additional custom fields