Add partial payments to schema.

Successor to #1947 after I sent the PR to master instead of develop,
bringing tons of unwanted commits along.