Paymentd api docs

Here is the documentation Arthur and I wrote up.