📜  使用条带令牌 API 创建用于支付的令牌. - 无论代码示例

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

代码示例1
$tokenData = \Stripe\Token::create([

                'card' => [

                'number' => $cardNo,     //4242424242424242

                'exp_month' => $cardExpMonth,  //12

                'exp_year' => $cardExpYear,  //2021

                'cvc' => $cardCvc,  //123

                ],

            ]);