📜  在 php 代码示例中按条带创建客户

📅  最后修改于: 2022-03-11 14:54:01.700000             🧑  作者: Mango

代码示例1
$customer = \Stripe\Customer::create(array(

                'email' => $email,      //demo@gmail.com

                'source'  => $tokenData, 

                'name' =>  $firstName,    //Deepak

                'address' => [

                    'line1' => '510 Townsend St',

                    'postal_code' => '98140',

                    'city' => 'San Francisco',

                    'state' => 'CA',

                    'country' => 'US',

                ],

            ));