added payment history to the wallet directive, and payment/payments path to the api