Change payment API to be consistent with purchase API