#simon_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/1290892680469151785
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Checking how your integration works
I tried it few times, the latest transaction on the platform account pi_3Q5JlLApMkaZmFOd0uqfri6f illustrates the case
@jade echo looks like you're in the wrong place, this thread is for someone else's question.
- If you have your own thread please chat there.
- If you have a question or a followup to a closed thread use one of the buttons in https://discord.com/channels/841573134531821608/842637025524842496 to get help (we don't reopen closed threads).
Note that posting inappropriate messages in other people's threads is against the rules. No worries if this was just an honest mistake, but anyone who violates the rules multiple times will be removed from this server.
Based on the my investigations:
- Your integration used Destination Charge - https://dashboard.stripe.com/test/logs/req_uB9EEu5xEKoRYV
- The refund was done in https://admin.corp.stripe.com/request-log/req_B5KDyJkFUfjInX. In this step the transfer was reversed from the connected account to the platform, i.e. the refund amount was taken from the connected account and returned to the customer (not platform)
- For the refund cancellation in https://dashboard.stripe.com/test/logs/req_TuUSxcaeWFOiQ6, the fund has been reversed to the platform in Step (2), so the fund will remain in the platform
I'm checking why the balance was insufficient for transfer to connected account in https://dashboard.stripe.com/test/logs/req_KxR4Jaxj00WrGK when the fund should be available at Step (3)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I see it available in Balances -> all activity on the platform dashboard though
but it is not available for me to use to make a transfer
In https://dashboard.stripe.com/test/balance, it showed the fund will only be available on Oct 9. When you performed the Transfer on Oct 2 just now, the balance wasn't available yet
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Only when you have available balance in https://dashboard.stripe.com/test/balance/overview, you will be able to perform a transfer
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Will there be any event that I can handle once that fund becomes available?
Not really. In https://dashboard.stripe.com/test/events/evt_3Q5JlLApMkaZmFOd0FW2ZXBU of the refund cancelation, there was failure_balance_transaction for the balance transaction: txn_1Q5Jo4ApMkaZmFOdB0LJuKFN
Your system can then use Balance Transaction Retrieval API to retrieve the available_on timestamp: https://docs.stripe.com/api/balance_transactions/object#balance_transaction_object-available_on
Once the available_on timestamp is reached, a transfer can then be made
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
charge.refund.updated event will be sent when the refund is canceled, but not when the fund becomes available
Ok. Sounds doable. Is there a way to cancel the refund and target the fund to the connected account? I didn't see such option in the UI but maybe it exists via API?
Is there a way to cancel the refund and target the fund to the connected account?
I'm afraid this is not supported in API as well.
Alternatively, you can check the balance on the platform account: https://docs.stripe.com/api/balance/balance_retrieve and transfer to the connected account as soon as the balance is more than the transfer amount.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you for confirming my assumptions and pointing to the possible solution.
No problem! Happy to help ๐