Skip to content
Advertisement

Stripe API and PHP: Relationship of PAYOUTS to Payment Intent / Charges

I’m new with STRIPE, and I’ve been reading the documentation for STRIPE, and was task to create a list of payouts to a connected account (type is standard). Also, I have to show the details, under those PAYOUT, all the payments included in it.

However I can’t see any relation to PAYOUTS with PAYMENT INTENTS/CHARGES, is it possible to know all those payments included in the PAYOUTS ? We are creating STANDARD connect accounts for our users.

Advertisement

Answer

I had the same challenge, and had to go thru 4 supporters, tell my needs over and over again, before i finally got the right hint and could complete my checks and cron jobs. I provide my solution here to save others the same experience:

JavaScript

Output (cropped to relevant data):

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement