Payment codes

This ought to be done.