#prodigiousGhost

1 messages · Page 1 of 1 (latest)

severe egretBOT
fair cobalt
#

Additionally my app works by sellers listing items for sale, at the time of listing, I need to retrieve their payout details to show them on the review page before they make the listing, is there a way to retrieve these details without sending the user to another webpage ?

heady jackal
#

Let me rope in a colleague who's more familiar with ios

split brook
#

Hi there

fair cobalt
#
const accountLink = await stripe.accountLinks.create({
  account: 'acct_1Msva0BUu6xpCsAu',
  refresh_url: 'https://example.com/reauth',
  return_url: 'https://example.com/return',
  type: 'account_onboarding',
});
#

what would be the URLs i put here ?

severe egretBOT
split brook
fair cobalt
#

is there any other way ?

split brook
#

Unfortunately, no alternatives at the moment.

fair cobalt
#

what would I have to do on my site ?

#

https://example.com/reauth

where would this point ? and what action should it do... how can i reauthenticate it without knowing the original user account ID

split brook
#

We explain refresh vs return URL in the docs.
https://stripe.com/docs/connect/express-accounts#return-user

Typically, when your users hit Refresh URL refresh_url: 'https://example.com/reauth

Then that means that they haven't completed onboarding and are trying to continue that. So on an application level you'd want to authenticate them first to make sure its really them and then create another account link on your server to allow them to continue onboarding.

Once that's done, they should be redirected to return_url (Which is ideally your website page that redirects them to your iOS app using Universal link)

We can't walk you through how to set up a universal link on your server unfortunately. you'd want to refer to the Apple Developer docs I shared above

fair cobalt
#

Ok I understand

#

thank you, I will look into it