#lennard-customers
1 messages · Page 1 of 1 (latest)
@buoyant sable you can simply create one in test mode in the API using your test mode API keys and inspect that, or look at the example response in the API reference.
Thank you very much @amber juniper, I will have a look at it.
@amber juniper Is there any premade mongo db models?
My goal is to store the data after a new subscription in a mongo db to then create a charge each time a function of my backend is called.
nope we don't have an example of a model I can share with you.
Ok. Thanks for the good support. I wish you a good day 😀
@amber juniper One more question: When creating a usage record (that charges the user x$), do i just need the subscription id?
And the amount to add, that is obvious.
you need the subscription item ID , which is not quite the same thing as the subscription ID. https://stripe.com/docs/api/usage_records/create