Level 47
Use the auth option with the YOUR_SECRET_KEY as the user and an empty string as password.
http://docs.guzzlephp.org/en/latest/request-options.html#auth
$client = new \GuzzleHttp\Client();
$response = $client->post('https://connect.stripe.com/oauth/deauthorize', [
'auth' => ['XXXXX', ''],
'form_params' => [
'client_id' => 'ca_8e8Y5aZOmUEaM47nBRYvL6NirsnkEKPD',
'stripe_user_id' => 'acct_Ng24IGpK2whxwj',
]]);
1 like