But I'm thinking to use Stripe. So I have to use a WebView with OkHttpUtils2 to call the Stripe REST Api. I'm right ?
A Webservice is something that a payment provider offers to give you the means to tell it what it is you want to do. So in other words, you want to send the provider the credit card detail (number, expiry and cvv) and they will do the authorization, and send you a reply back.
So the idea of the REST api is that you use web posts to supply the provider with your credentials, the card detail and the amount you require.
Then for every post there would be a reply. The reply would come from them and will contain info regarding the status of the transaction (or any error codes)
So in other words you can handle the entire transaction without using a webview. (By using okiutils you are using the language of the web, but not an actual webbrowser).
Now the reason I stated the use of a webview was because some payment providers (like payfast in south africa) offers you a web page where you can send your users to, making payment extremely easy. You dont have to handle any posts. etc. But there is only a few that works like that. Most of them make use of Web posts (REST)
Hope this makes more sense !