Refund
Create and query refund records for orders.
Refund records track money returned to customers for an order — full or partial, covering products, shipping, tips, and additional fees, across one or more payment channels. Merchants create these records after deciding to refund a customer and the platform settles the money back through the original payment channels.
Provides endpoints to list all refund records across orders (with filters and pagination), count refund records matching filters, list refund records for a specific order, and create a new refund record on an order.
List refund records
Returns refund records across all orders, paginated via cursor and filtered
Get refund records count
Returns the total number of refund records matching the same filters
List order refund records
Returns all refund records attached to the specified order, along with the
Create order refund record
Attaches a new refund record to the specified order, declaring how much