#Silvao
1 messages ยท Page 1 of 1 (latest)
transfer_data only works with Connect. You'd need to create a connected account in order to test transfer_data: https://stripe.com/docs/connect/accounts
transfer_data is for Destination Charges, and it's recommend on Express and Custom connected account.
thanks bro
No problem! Happy to help ๐
In fact, I intend to commission the subscriptions that are made through indication in 30% of the purchase value and every month give 5%, the best way to create this flow is using transfer_data?
When will the 30% of the purchase value will be sent to connected account? Is it only one-time when the customer subscribes to initial subscription?
the amount is sent as soon as the user completes the payment, he will receive the 30% only in the first payment, but he will receive 5% recurring every time someone he was referred makes the monthly payment
In this case, when you create the initial subscription, the transfer_data.amount_percent can be set to 30% - first payment. After the customer pays the first invoice successfully, then update transfer_data.amount_percent to 5% - future billing cycle.
I can create a connect account through the dashboard or only via code
You should have API integration ready for Connect as live mode will follow the same
in my case, the sellers do not have an account on the platform, I just create a partnerCode for them and have a field for the stripeId
to make the transfer, would I be able to execute the query locally just to be able to get this accountID to make the transfers?
To use transfer_data, the sellers must have a connected account on your platform. It's not possible to transfer without a connected account.
As long as transfer and payout are involved, the sellers should have a connected account on your platform that goes through the onboarding process
Okay thanks bro
No problem! Happy to help ๐