#mindsetinmeta
1 messages · Page 1 of 1 (latest)
Checkout Session ID is not confidential, so it's fine to expose
thanks
how about PI? is it confidential?
can we expose PI id as transaction ID?
because some of the transactions are pre-auth and capture
Capture shares the CS with pre-auth
how can we show them as two transactions?
Object ID from Stripe is not confidential (as you can see that IDs are shared in the public discord channel)
Stripe object ID can only be accessed with API key which should be kept confidential
What is CS?
What do you mean by two transactions? Pre-auth and capture of a payment belong to same transaction
right. I just checked the documentation and they belong to the same PI
another question
when a buyer pays a connected account, the amount paid by the buyer is in the PI. How to retrieve the info of the related payout to the seller?
What type of charges integration do you use? Is it a Direct Charges, Destination Charges, or Separate Charges and Transfer?
the one that pays us first and we will pay the seller with a portion of it
It's Destination Charges, I guess
If you use destination charges (https://stripe.com/docs/connect/destination-charges), you can BalanceTransactions API to retrieve the charges in a payout: https://stripe.com/docs/expand/use-cases#charges-in-payout
is this the way to show the seller a history of all payouts?
You can use List Payout API (https://stripe.com/docs/api/payouts/list) with Stripe-Account header (https://stripe.com/docs/api/connected_accounts) to retrieve payouts of a connected account
how is the payout object created? We fired a Create Checkout Session call and there is no payout object in the response.
With destination charges, the fund will transfer to the connected account automatically. After the fund is transfer to the connected account, the fund will be paid out according to the payout schedule (https://stripe.com/docs/connect/manage-payout-schedule) set on the connected account.
Transfer and Payout are different terms. Transfer refers to funds move from platform to connected account whereas Payout refers to fund move from a Stripe account to real bank account.
so that means, payout objects are created automatically and we cannot associate payout with a checkout session?
A payout can contain multiple charges (which are what Checkout Session use under the hook). You can find the charges in a payout that are created during Checkout Session.