Alexis
Alexis

Reputation: 61

Create accounts and API tokens for live mode and test mode

I want to create a system that works similar to stripe. There'll be live API keys, as well as test API keys. I have been thinking of how to implement this architecture, and I am not sure the best way to go about it. I found a similar question on this but it didn't help much.

Architecturing testmode/livemode using OAuth 2 token

My current progress is basically:

However, after authenticating the request from a test api token, it's unclear how to route or perform requests to TestAcoount instead of LiveAccount.

Please any ideas or a better implementation strategy is highly welcomed

Upvotes: 0

Views: 66

Answers (0)

Related Questions