add /processPayment endpoint