#BIG STEVE

1 messages · Page 1 of 1 (latest)

small grailBOT
pulsar tinsel
#

Hey there, are these connect-related payments?

loud gazelle
#

Yes

pulsar tinsel
#

the py_123 are charge objects with a different prefix for <waves hands> reasons

#

So you can retrieve them from the Charge api

#

using connect headers, if needed

#

(you typically see them for the "payment" related to a destination charge transfer, but also for legacy ACH charges)

loud gazelle
#

Gotcha

#

So could I use the "
/v1/charges/:id" endpoint to fetch the data?

pulsar tinsel
pulsar tinsel
loud gazelle
#

Ok that makes sense

#

that's what I first thought but the sample charge has an id starting with ch_xxx so was thrown off

#

Getting Error: No such charge: 'py_XXXX'

pulsar tinsel
#

The ID prefixes are meant to be helpful hints, but are subject to change

#

I suspect the connect context is missing

loud gazelle
#

Looking into how I can get that, since the Stripe library just throws an error

#

looking via dash 1 sec

#

req_qYOYH32FaeshWQ

pulsar tinsel
#

{ stripeAccount: 'acct_123' }

loud gazelle
#

OH my god

#

Thank you very much

pulsar tinsel
#

NP!