#kanishkaNangia-connect
1 messages · Page 1 of 1 (latest)
In order to make requests in the connected account from the platform account, authentication is required, the request would need the Platform's secret key, along with the Stripe-Account header that is the Connected account id: https://stripe.com/docs/connect/authentication#stripe-account-header
I believe we implement same, we send the keys and everything for our platform account. However when we pass teh account as our platform account we get below error. invalid_request_error - transfer_data[destination]
The 'transfer_data[destination]' param cannot be set to your own account.
However as the request is to create subscription we should be able to get money in out account from Subscriber.
As of now we create a separate connect account and use that but I believe that is not what we want. We want that amount should come to out platform account and then we should transfer it ahead.
The transfer_data.destination is for the Platform account to transfer to the Connected account, you cannot set this to the Platform account as the destination
Are you trying to transfer fund from your Connected account to Platform account?
You have the right idea, an amount is charged from the Platform account, then transfer_data.destination is used to transfer the funds to the Connected account, hope you find this flow chart useful https://stripe.com/docs/connect/charges-transfers#collecting-fees
As a follow up, this is an example of how to handle subscription with Connect https://stripe.com/docs/connect/subscriptions#transfer