#emersonb3756
1 messages · Page 1 of 1 (latest)
Hi
Transfers can be separated in time, thats fine
I guess as long as the transaction is captured?
Are you finding any unexpected behaviour here?
No. Currently my payment transactions are for a service that I offer to my customer and for that service multiple vendors have to be paid out. My purchase transaction in Stripe start off as un-captured and when the service is completed, I then capture the payment and issue the transfer to the desired connected account. But what I do currently is break down the total transaction into smaller ones for each vendor, and when each vendor completes their portion of the service I pay them out with a transfer from each respective source transaction. So if I need to pay out 5 vendors I make 5 seperate smaller source transactions and transfer to each from those.
So what I want to do is just make one large source transaction for the entire service and issue multiple transfers from the same source transaction once the entire service has been completed.
So do I have to wait until the source transaction is captured in order to do the 5 different transfer or can I do each transfer from the larger up-capture source payment.
Right, gotcha
Generally that's all fine, but yes the charge must be captured first
You can try this out yourself in test mode an see
If you try to use an uncapture charge for a source_transaction you'll get back an API error:
{
"error": {
"message": "Cannot use an uncaptured charge as a source_transaction",
"param": "source_transaction",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_123?t=1",
"type": "invalid_request_error"
}
}