#Dominik_FINN
1 messages ยท Page 1 of 1 (latest)
The events with ids starting with ccsbtxn_. We are getting the ones starting with cbtxn_
Ideally we would be able to see/trace to which payment intents a cash balance funding gets allocated
Could you please share one example ID?
ccsbtxn_1NidohDOkQuZ6Q4MDqpyTJVx as the funding event and cbtxn_1Nsk3gDOkQuZ6Q4Mw8CP9UTk as the transaction event (could be funding/deposit, but also can be withdrawl/allocated to payment intent)
ccsbtxn_1NidohDOkQuZ6Q4MDqpyTJVx we get when going manually through the dashboard into a funding event, cbtxn_1Nsk3gDOkQuZ6Q4Mw8CP9UTk when calling v1/customers/{Customer_ID}/balance_transactions
Maybe you could provide a bit of a high level context about what you're trying to do?
Ideally we would be able to see/trace to which payment intents a customer cash balance funding is associated to. So if a customer transfers us 100$ we would like to see to which payment intent these 100$ gets allocated. We often have multiple intents incomplete/open per customer, which obviously increases error rate and would like an automated solution to trace what went wrong/where it went wrong, as right now this needs to happen completely manual
Thanks for the context. So you are using automatic reconcilliation but are unclear on how to see which Payment Intent(s) are getting paid by the various funds that you are getting sent?
Yes. And most of the time the auto reconciliation is working great, but sometimes for complex customers or with manual errors on customer side, things get wrongly matched. And we only know then that sth went wrong and need to do tedious manual investigation to find out exactly where the issue was/which intents got incorrectly matched.
Gotcha, so the end goal is to go from some cash balance transaction ID like ccsbtxn_1NidohDOkQuZ6Q4MDqpyTJVx to the ID of the PaymentIntent that it funded?
Yes exactly and vise versa.
Right now we do it with a combination of manually checking the dashboard and transactions and comparing against each other, but this is obviously quite labour intensive
Have you tried using the applied_to_payment.payment_intent property? It looks like that should give the link from cash balance transaction to PaymentIntent
https://stripe.com/docs/api/cash_balance_transactions/object#customer_cash_balance_transaction_object-applied_to_payment
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes, that is the Transaction itself, but as far as I understand doesn't link back to funding of the cash balance in the first place.
Gotcha, thanks for the clarification. Having trouble finding a way to do this myself, I will ask colleagues and get back to you with what we can find
Thank you, no worries
๐ taking over here as Pompey needs to step away soon
Hey, thank you
With automatic reconciliation, it is almost impossible to associate these objects unfortunately. As there might be more than one invoices involved with one transfer
Typically, we recommend switching to manual reconciliation in this case where your integration controls which funds are used for which invoices etc
Ok, thank you. For a few tricky customers will do that then
NP! ๐ Happy to help