#Aastone
1 messages · Page 1 of 1 (latest)
Thanks for your answer, let me explain a little better
I have built an api to make a subscription system for a customer using stripe connect
I want customer to be able to subscribe for a service
and pay it on a monthly basis
on each payments
I take 10% of the amount and split the amount in 2
half for the platform half for my client
the rest of the money is going to the service provider
i'm listening to a webhook to know when the payment is successful
my problem here is that it doesn't work when the balance of my account is empty
and i get emails saying that something is wrong with my webhook
My account is setup to wire the money on my balance everyday
is there a way to keep a minimum amount on my balance or an other way to fix this problem?
my problem here is that it doesn't work when the balance of my account is empty
When do you get that error? When you try to transfer money to a connected account?
I get this problem when i charge client for his monthly plan and my api is trying to split the money on child account with an empty balance
this is the email i get:
We’ve had some trouble sending requests in test mode to a webhook endpoint associated with your BLACKBOX Club account. Stripe sends webhook events to your server to notify you of activity in your Stripe account, such as a completed payout or a newly-created invoice.
I get this problem when i charge client for his monthly plan and my api is trying to split the money on child account with an empty balance
How do you split the money on the child account? By calling the transfer endpoint? And does the API call succeeds or fail?
Hi there 👋 I'm jumping in as my teammate needed to step away.
give me a minute i'm asking
I'm not sure whether it's possible to reserve a portion of funds to be used for future transfers, but if so I think that is something that our support team would be more familiar with and recommend that you ask them:
https://support.stripe.com/?contact=true
Yes we are calling the transfer enpoint and the api call succeed if we have money available in the balance
When working with Separate Charges and Transfers, we have functionality available that allows you to tie the creation of a Transfer to a processing payment:
https://stripe.com/docs/connect/charges-transfers#transfer-availability
With this flow, you can specify the payment that the Transfer should be related to, and the Transfer is then created when that payment succeeds. This functionality is commonly used to mitigate the need to ensure you have funds available in your Platform account's balance for these transfers.