#Inclouds
1 messages ยท Page 1 of 1 (latest)
Hi
Can you please share more details, these funds will be used for payout for example ?
i implemented separate charges and transfers in my project, and would like to test flow
You can use one of these test Card in order to have available balance immediately and by pass the pending balance... You can create as much as payment you need in order to add funds.
so basically the funds from my stripe account will be transfered to connected account and then paid out to connected account's bank account
i used the test card 4242 and the funds are not avaialble immediately
Try using one of these cards:
https://stripe.com/docs/testing#available-balance
This test card, by pass the pending balance: 4000003720000278
oh, thanks, i will try ๐
it worked, thank you very much ๐
are the funds available immediately in context of transfering funds to connected accounts? i am asking, because i still get the exception when transfering funds, that i have insufficient funds on my platform account
Hi! I'm taking over this thread.
Can you share the request ID (req_xxx) that is failing? You can find it here https://dashboard.stripe.com/test/logs
req_HVjXjBFfBm47yG
This request is using the same idempotency key as a previous request. So Stripe just ignore that request and return the same response as the previous request (which was an error).
So make sure you use a different idempotency key.
ok, i get it, but i am not sure if it should work like that. It seems that i need to be very careful to have sufficient funds, because if not, even though i add funds to my account, the payout still won't be available. My indempotency key is built from my domain Payout object id, so there is no chance to just change indempotency key on production.
I thought that the indempotency key in that case is to prevent duplicated payouts in i.a. distributes systems, where the same message can be delivered multiple times.
do you know maybe how long the indempotency key is stored on stripe side?
do you know maybe how long the indempotency key is stored on stripe side?
From here: https://stripe.com/docs/api/idempotent_requests
Keys are eligible to be removed from the system automatically after they're at least 24 hours old
It seems that i need to be very careful to have sufficient funds
You can check your available balance with https://stripe.com/docs/api/balance/balance_retrieve
Also you could use source_transaction when creating a transfer https://stripe.com/docs/api/transfers/create#create_transfer-source_transaction