How is an online refunding implemented?

See also: