#keith_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/1478180780386816042
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Which status are you referring? Are you referring to status of Payment Intent or Balance Transaction?
For the Payment Intent and Refund, they will only be available in report when they are succeeded. Are you seeing otherwise?
- Payment Intent status: https://docs.stripe.com/api/payment_intents/object#payment_intent_object-status
- Refund status: https://docs.stripe.com/api/refunds/object
The status of the payment intent or refund objects. Is that true that it only gives you the successful payments in the itemized activity balance report? I don't recall seeing it.
Plus, I have to track whether these payments or refunds have been reversed or voided.
Balance changes from activity reflect changes to your account balance that occur only when a payment or refund has succeeded.
For payments, funds are not transferred from the customer to your account while the Payment Intent is in any of the following statuses: requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, or canceled. As a result, no balance change will occur during these stages. Funds are only moved to your Stripe account when the Payment Intent reaches the succeeded status.
Similarly, for refunds, fund movement only occurs when the refund is successful. When the refund status is pending, requires_action, failed, or canceled, no funds are moved and your balance remains unchanged.
"succeeded" here referring to successful operation, not successful payment
A Payment Intent does not have a reversed or voided status. These states should be tracked by your own system based on whether a refund has been successfully performed on the Payment Intent.
The balance change from activity report will not be able to provide reversed or voided status since Payment Intent and Refund objects don't have those status
If you wish to keep track of those status through report, then yes, this can be done via metadata by your system manually
Alternatively, you can maintain these logic within your system and read the refund or payment intent status from your own database after getting the report
Thank you for the input. We have clients that perform transactional operations in the Stripe Dashboard so it would never reflect in our application and/or database. We will get the refunds from the report, but a refund reversal or voided payment would never be tracked because it is done outside our control. Obviously anything done within our application, we know about and can update its status.