API Reference

RefundService

API reference for the refund service

RefundService

The RefundService service handles refund creation.

Methods

issue()

Creates a refund for an invoice.

Parameters:

  • $invoiceId (string): UUID of the original invoice
  • $items (array): Array of items to refund with structure ['id' => 'uuid', 'quantity' => float]

Returns: ResponseDTO

Example:

See Also

Need help? Check out the complete documentation or open an issue on GitHub.