#.ramzizi
1 messages ยท Page 1 of 1 (latest)
Hi ๐
Invoices are unique to Customer objects so each Invoice would need to be associated with a Customer and that Customer would need to have an email set to allow for sending the invoce.
Is there no other way Stripe can email a payment link to someone specific?
No. We need a Customer object with an email. You also need Customers to create Invoices so, even if the email was dynamic, you still couldn't create the Invoice without creating a Customer.
I have no issue creating the invoice for the customer and emailing it to that specific customer, I was just wondering if it's possible to forward the payment link to a different email as well
I don't think we have that available in the API currently. I'm guessing you don't just want to retrieve the hosted_invoice_url and send the email yourself. https://stripe.com/docs/api/invoices/object#invoice_object-hosted_invoice_url
OK understood. You're correct I wanted stripe to send the email since it is more polished than what I can send myself
Unfortunately I do no think that is a current feature of the API. I know it's a feature we are working on but I think that is still focused on adding a cc list of emails to the Customer object.
Thanks, hopefully that feature is out soon
In my case it would easiest if the CC function was attached to this function: https://stripe.com/docs/api/invoices/send
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I can raise that internally and you can write to support to be informed if we move forward with this.