2 factor authentication

I want create payment gateway using ServiceStack API?
Any idea for 2 factor authentication or any thing else for best secure.

There’s no 2 factor auth built into ServiceStack. What Auth options you want to enable is ultimately your choice - we can’t tell you what to build. I’d recommend doing your own research into what others are doing, e.g Stripe uses an API Key for authenticating customer integrations and a Email/password with 2 factor Auth for their Admin portal.

Ok, thanks. I will reference Stripe