#pepe-garca_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/1283027962698141767
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you please translate your message? We can only support English questions here
Hello, we are working on a marketplace project where users sell products and when the payment process is completed and the receipt of the product has been verified, the system has to make a transfer to the seller based on several parameters. The platform uses Stripe Connect to manage the connected accounts. We have made the Payment Intent without problems but when we go to make the transfer, the API returns an error indicating that there is no balance.
An error occurred when calling the Stripe API to create a transfer: Request req_84XupdpZUfUX76: You have insufficient available funds in your Stripe account. Try adding funds directly to your available balance by creating Charges using the 4000000000000077 test card. See: https://stripe.com/docs/testing#available-balance
This is explained here:
The default behaviour is to transfer funds from the platform account’s available balance. Attempting a transfer that exceeds the available balance fails with an error. To avoid this problem, when creating a transfer, tie it to an existing charge by specifying the charge ID as the source_transaction parameter. With a source_transaction, the transfer request returns success regardless of your available balance if the related charge has not settled yet. However, the funds don’t become available in the destination account until the funds from the associated charge are available to transfer from the platform account.
In this episode, you'll learn all the objects involved when using the charge type separate charges and transfers with Stripe Connect and the payment flow between a platform and a connected account.
The platform we're building in this series allows creators to produce creative content (e.g., a newsletter), publish their content, and monetize the...
As per the error, acct_1PAqw5ISRbqNqXoD has insufficient 'available' balance. Looks like you've been processing payments on the account using 4242 test card (example) which takes ~days to clear and become available for payout
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Instead use 4000000000000077 card and that will bypass the delay and became immediately available for transfer/payout
Or pass the source_transaction param when you create the Transfer and it'll succeed and occur once the related payment has settled async
Ok thanks a lot! I will try to make payment with this card and after that create a transfer to a connected account