Pay3 Android SDK
Initialize
3min
installation add the pay3 sdk to your app's build gradle build gradle kts dependencies { implementation("money pay3\ android sdk 1 0 0") } initialize the sdk initialize the pay3 sdk in your application's main activity this function initialises pay3 sdk to support fiat checkout flow pay3 team shares values for hostname and clientid during onboarding following parameters can be used for creating new instance of pay3 parameters hostname pay3 will be opened in a new window using this hostname prefix the host name is environment dependent clientid a unique client id is created for each client application the client id is environment dependent mainactivity kt import com pay3 sdk pay3 class mainactivity componentactivity() { override fun oncreate(savedinstancestate bundle?) { super oncreate(savedinstancestate) // initialize sdk with your client id and hostname pay3 init(this, "your client id", "https //pay3 hostname shared by pay3") // rest of your activity code } }