Stripe
supports to hold payment like escrow up to 90 days but I can't find any parameter for it.
What I want is to charge money from user and save it to stripe and release it later by API / manually (whichever available).
I also use destination parameter to send amount to connected account as well and its dividing amount correctly but can't find option to hold payment.
Current Code :
\Stripe\Stripe::setApiKey(STRIPE_SECRET_KEY);
$charge = \Stripe\Charge::create(array(
"amount" => 400,
"currency" => "usd",
"source" => "tok_visa",
"destination" => array(
"amount" => 200,
"account" => "acct_1CVDnsDG3NG0OLEa",
),
));
Source : https://stripe.com/docs/api