Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  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. ));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement