removed api dependency from PaymentRequest