What is CONNECTED_STRIPE_ACCOUNT_ID? How to get it from android platform?

試著忘記壹切 提交于 2019-12-05 02:32:07

There are three different ways to create charges with Connect :

Which way you should use depends on your exact use case, as it also determines who pays Stripe's fees and who's responsible for refunds and chargebacks. Check out this paragraph to help you decide which way is best suited for your business.

In the first two cases, you'd specify your platform's cut with the application_fee parameter, and the destination account's ID ("acct_...") in either the Stripe-Account header or the destination parameter.

The account ID should be in your database. If you use standard accounts or Express accounts, then you get it at the end of the OAuth flow, in the stripe_user_id field. If you use custom accounts, then you get it in the id field in the response to the account creation request. In all cases, you need to save this ID in your database so you can retrieve it to issue API requests and accept payments on behalf of this account.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!