Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

eriktobben's avatar

Cartalyst Stripe Connect

Hi!

I am building an application that uses Stripe Connect to send money directly to the recipient. Question: Is it possible to create a new managed Stripe account with the Cartalyst package?

I see in their docs that they support application_fee and receiving account details, but not how to create a Stripe Connect account / managed account.

From Stripe docs I see they call it "destination", like this:

\Stripe\Stripe::setApiKey(PLATFORM_SECRET_KEY);
\Stripe\Charge::create(array(
  'amount' => 1000,
  'currency' => 'nok',
  'source' => {TOKEN},
  'destination' => {CONNECTED_STRIPE_ACCOUNT_ID}
));
0 likes
2 replies
brunog's avatar
brunog
Best Answer
Level 3

It's the same thing, just pass the destination on the array.

Since that was added not so long ago, it's not on the Cartalyst Stripe documentation. You can always create a PR for that if you want.

Please or to participate in this conversation.