#peony-charges-legacy
1 messages · Page 1 of 1 (latest)
Hey @slate kelp! I'm happy to help but I need a lot more details than just this sentence. What are you trying to do, where did you get the Customer id, did you store payment method details first?
I made a customer with card_token_id.
Now I want to create charge with cusomer_id
const charge = stripe.charges.create({
amount: 1000, // Amount in cents
currency: "usd",
customer: customerId, // Replace with the actual customer ID
description: "Example Charge",
});
All of those APIs were actively deprecated back in 2018. How did you end up integrating something so old? Which docs are you following?
peony-charges-legacy