#neel_72026
1 messages · Page 1 of 1 (latest)
You need to generate the Onboarding link and send it to your sellers, then they open it and we handle the UI from the link
okay, so let me put here what I understood :-
step 1:
AccountCreateParams params =
AccountCreateParams.builder().setType(AccountCreateParams.Type.EXPRESS).build();
Account account = Account.create(params);
step 2:
AccountLinkCreateParams params =
AccountLinkCreateParams.builder()
.setAccount("{{CONNECTED_ACCOUNT_ID}}")
.setRefreshUrl("https://example.com/reauth")
.setReturnUrl("https://example.com/return")
.setType(AccountLinkCreateParams.Type.ACCOUNT_ONBOARDING)
.build();
AccountLink accountLink = AccountLink.create(params);
step 3: direct them to accountLink
SO we have to make use of these APIs... right?