#mdubya

1 messages · Page 1 of 1 (latest)

plain gazelleBOT
shy mirage
#

creating a saas platform that allows the platforms users to have their own customers and charge their customers. but also allowing the platforms users to pay their staff via 'transfers'

#

transfers are only able to made to connect accounts. but instead of the transfer being made from my account, its made from the employers account

spiral musk
#

Hi there, is the hierarchy like below?
-platform
--> standard account (platform users)
---> express/custom account (staff)

shy mirage
#

yessir

spiral musk
#

and the transfer is from platform user to staff (level 2 -> level 3)?

shy mirage
#

yessir

#

also. not sure where you are but thanks for fielding this question at 2am. ha

spiral musk
#

No problem! happy to help.

#

Yes this use case is totally possible.

shy mirage
#

i dont suppose there is a easy way of executing this maneuver ?

#

does the 'staff' account have to be onboarded as a connect account to the 'platform_user'?

shy mirage
#

im trying to work thru it myself. i assume the 'transfer' capability needs to be activated on the (lvl2) account. i currently have those set as standard accounts and when i try to enable 'transfers' i get the response "You cannot update capabilities for Standard connected accounts."

#

@spiral musk still with me?

spiral musk
#

Thanks for waiting, discord is busy at this moment.

shy mirage
#

no worries.

spiral musk
#

Yes the staff account need to be the connected account of the platform_user.

shy mirage
#

would i need api_keys of the platform_user in order for the platform to execute the transfer?

spiral musk
#

Yes you need. The transfer request will be initiated from the platform_user

shy mirage
#

would i need the platform_user to manually enter those or can i retrieve them via the api?

spiral musk
#

There's no API to retrieve an API secret, you need to store the API secret securely in your server.

shy mirage
#

hmm. ok. makes sense. hoping i could avoid this layer via some sort of inheritance