How would you implement a payment service provider? Explain your approach to HTTP APIs, request content, and authentication.