#ibrar_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1314672824618582086
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, this is expected. By default, the fund will take some time to be available for transfer: https://docs.stripe.com/connect/separate-charges-and-transfers?platform=web&ui=stripe-hosted#transfer-availability
What you would want to do when creating the Transfer is to include the corresponding Charge id 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 run into the problem of insufficient funds
If you wish to test the transfer that is immediately available (not in pending), you should use 4000000000000077 test card
@tiny bough are you unblocked here?
Thanks for your help it's working fine.
Glad to hear!