Skip to content

Instantly share code, notes, and snippets.

@ehongyu
Last active May 19, 2017 22:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ehongyu/9a8b03af2fdcb7f7c651741a898d78d0 to your computer and use it in GitHub Desktop.
Save ehongyu/9a8b03af2fdcb7f7c651741a898d78d0 to your computer and use it in GitHub Desktop.
$payout = \Stripe\Payout::create(
[
"amount" => 1000,
"currency" => "usd",
"destination" => 'ba_1ALJm3HxNV2Q6NSzVM3yHukM',
],
[
'stripe_account' => 'acct_1ALJlyHxNV2Q6NSz'
]
);
$response = \Stripe\Payout::retrieve($payout->id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment