diff --git a/example/server/src/index.ts b/example/server/src/index.ts index 10ea8728..b12d3380 100644 --- a/example/server/src/index.ts +++ b/example/server/src/index.ts @@ -370,7 +370,7 @@ app.post('/create-setup-intent', async (req, res) => { //@ts-ignore const setupIntent = await stripe.setupIntents.create({ ...{ - customer: customer.id, + customerId: customer.id, payment_method_types, usage: ['off_session'], },