#mxa-invoice
1 messages · Page 1 of 1 (latest)
heya! You're probably looking for these two :
https://stripe.com/docs/api/invoices
https://stripe.com/docs/invoicing/integration
Hmm, so in reference to the first link, under "create invoice", the return states "Throws an error if there are no pending invoice items or if the customer ID provided is invalid."
So I know I'll have to add an "InvoiceItem" to the customer before I can make an "Invoice", but step 2 of the second link says "Create a Product"
Is it not possible to programmatically create a "one-time" product?
you can create a one-time Price when creating the invoice item : https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-price_data, but for the Product, you're going to need to create it via https://stripe.com/docs/api/products/create