#meisei81

1 messages · Page 1 of 1 (latest)

real steppeBOT
quartz sigil
#

Can you share an example Checkout Session ID (cs_xxx) that you would like to retrieve?

tranquil dragon
#

cs_live_a1ND4XSaMd3xzeZlGVx0ARpTWGF4svas7ByzWv2rC6HR6sNyxW9G6971AX

#

Our system support the merchant to re-apply stripe express account many times. When they apply, we'll delete the old express account id, and now we can't retrieve the payments made by old express account.

quartz sigil
#

What kind of charge and payment details do you want to retrieve? The Checkout Session was created on the platform, so the payment information should be available directly on the platform itself

tranquil dragon
#

There're lots of payments in our system have checkout session id but no payment intent id.

#

I want to find which payments are dispute

#

But without express account id, I can't retrieve payment intent id with checkout session id

#

If I don't have the payment intent id, I can't relate to the dispute detail.

quartz sigil
#

cs_live_a1ND4XSaMd3xzeZlGVx0ARpTWGF4svas7ByzWv2rC6HR6sNyxW9G6971AX was created on the platform, not Express connected account. You shouldn't need Express connected account to retrieve its payment intent on this Checkout Session. Have you tried using Checkout Session Retrieval API with platform secret key on this Checkout Session? https://stripe.com/docs/api/checkout/sessions/retrieve

tranquil dragon
#

Sorry. let me check on this.

#

Another question. I get the payment intent id, but still don't have the express account id. How can I retrieve the dispute detail with payment intent id?

#

pi_3OWsFxCjPVyC4SYu1AMp8kU3

quartz sigil
#

This payment intent was a Direct Charges, i.e. with Stripe-Account header as connected account ID (unlike the previous cs_live_xxx with Destination Charges). You'd need the express connected account ID to perform retrieval. I'm afraid it's not possible to retrieve the dispute details without a connected account ID.

tranquil dragon
#

I see. So, there would not be possible to retrieve any data under an express account without a account id, right?

quartz sigil
#

Yup! Direct Charges require connected account ID for information retrieval

tranquil dragon
#

Got it. Thanks.

quartz sigil
#

No problem! Happy to help 😄