Payouts API

Include new Payout API endpoints.

Please excuse the noisy diff. My editor corrected bad whitespace automatically.

Written against payout API documentation and tests pass, but not yet tested against a live server.