#kalintsenkov
1 messages · Page 1 of 1 (latest)
Are you using Stripe Terminal?
Nope, I am using Checkout session API
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And also I need Reference number of the financial transaction
No those are different thing. If you don't use Terminal, why would you need to POS terminal number?
Not sure which could be Reference number. Probably you would generate them on your side and include in the Checkout Session's metadata?
That should be the transaction id
So I assume that session.PaymentIntent.LatestCharge.BalanceTransaction.Id is the right thing?
That could work yes, but IMO you can also treat the CheckoutSession Id, or PaymentIntent Id as a "transaction id"