See:
Cancelling an Invoice
Cancelling a Subscription
Cancelling a Membership
Cancelling an Event Registration
Processing a Refund for a Credit Card Purchase
Processing a Refund for a Check Payment