#madelyn - hosted invoices
1 messages · Page 1 of 1 (latest)
This is not possible using the API. Creating invoices via the API requires creating invoice items on a customer first, then generating an invoice for that customer.
You can create a customer without an email address, but you must have a customer to use.
Hi @oak warren - appreciate you jumping in! That does sound like what we are trying to do. Here are our steps:
We are:
- creating a product
- creating a price
- creating a customer (without an email)
- creating an invoice line item
- trying to create an invoice, but receiving an error
Thoughts?
Can you share the request ID when you encounter the error? eg req_123
https://stripe.com/docs/api/request_ids
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That will help me diagnose