I found that there is a type of id start with py_
,
It is unique id for payments,
but I have never seen it in Stripe API doc.
py_
objects have the same API shape as the Charge object. They are fundamentally the same thing, but in most cases represent a transaction/transfer between two Stripe accounts (i.e. with Connect) or non-card payment methods.
See Creating destination charges on your platform for more details.
Depending on which version of the Stripe API you use, your responses from stripe.charges.list
might not include payments with py_
in their ID. In one example, we are using the 2015-07-28
version of the Stripe API, stripe.charges.list({customer: '...'})
returned 4 items, all with ch_
id's...
When we upgrade to the version 2024-11-20.acacia
, the same query returns 8 items, 4 additional items with py_
id's...