SHARE
TWEET

Untitled

a guest Jul 16th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $customer = \Stripe\Token::create(array(
  2.         'account' => array(
  3.             'individual' => array(
  4.                 'first_name'          => 'J√©rome',
  5.                 'last_name'         => 'Arakelian',
  6.             ),
  7.             'tos_shown_and_accepted' => true
  8.         )
  9.     ));
  10.    
  11.     debug($customer);
  12.    
  13.     $result = \Stripe\Account::create(array(
  14.         "type" => "custom",
  15.         "country" => "FR",
  16.         "account_token" => $customer->id,
  17.         "email" => $curtomer_email,
  18.         "business_type" => "individual"
  19.     ));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top