Cancel FedEx shipments and create refunds through the EasyPost API
It’s simple. We’ve written out a language-specific guide for creating refunds through EasyPost here.
Note: Sometimes you'll run into problems refunding shipments through UPS if you have multiple shipments in one order. For UPS specifically, you have to request a refund on the first shipment of the order, otherwise the refund will not process correctly.