added payment to api