#Sarmento

1 messages · Page 1 of 1 (latest)

median tinselBOT
green cliff
honest wagon
#

The accounts are BR

green cliff
honest wagon
#

Is necessary the param source_transaction, but i don't know what to provide in this parameter

green cliff
#

what you would want to do when creating the Transfer is to include the corresponding Charge id (it'll look like ch_ or py_) in the source_transaction parameter : https://stripe.com/docs/api/transfers/create#create_transfer-source_transaction

The main point to remember is that when using source_transaction, if the payment is still pending, then the transfer will pull the funds from the pending balance. If the payment is already available, then the transfer will pull the funds from the available balance.

if you don't specify the source_transaction, it'll always try to use the funds from your available balance and if the payment funds is not yet available, and you don't specify the source_transaction then you may frequently run into the problem of insufficient funds

#

to be clear though, source_transaction isn't a required parameter

honest wagon
green cliff
#

ah, sorry, missed out on that requirement for BR

#

then include the source_transaction

honest wagon
#

What would this py_ ?

green cliff
#

if it's a non-card payment, the object id will start with py_

honest wagon
#

Ok, so, in the case of Brazilian accounts, do I have to create a charge before the transfer?

green cliff
#

where would the funds to transfer to the connected account come from otherwise?

honest wagon
#

The funds would come from the account that manages the app

green cliff
#

alright, but where would the funds from the platform account (i.e. account that manages the app) come from?

honest wagon
#

Would come from purchases of services and user subscriptions

#

Example of the use case of this transfer, a user buys a package of messages (these messages are "special"), when he sends such a message to another user, the user who receives the message also receives 50% of the value of a message

ember moon
#

If the purchases of services and subscriptions are made in the platform, you will be able to set the source_transaction from those payments