#alpha-mouse - Available On
1 messages · Page 1 of 1 (latest)
Hello! This information can be found on the Balance Transaction objects: https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-available_on
Nice, one more question then, how to map payment id (both pi_.. and py_...) to balance transaction id? Or could they be used directly in the balance transactions api?
Payment Intents (pi_) have Charges (ch_ or py_): https://stripe.com/docs/api/payment_intents/object#payment_intent_object-charges
And Charges point to the Balance Transaction: https://stripe.com/docs/api/charges/object#charge_object-balance_transaction
Great then. And this "available on" is computed right away at the moment of payment intent creation, so can be fetched right after creation, or even in with expanding, right?
I believe so, yes.