#crochetpomelo
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- crochet-invoice-sct, 27 minutes ago, 13 messages
That may be the receipt on the charge object for the successful payment? https://stripe.com/docs/api/charges/object#charge_object-receipt_url
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Which you can get to via the paymentintent on the invoice
it brings me to the hosted receipt, is there a way to get the pdf directly?
The invoice_pdf property should have a link to that https://stripe.com/docs/api/invoices/object#invoice_object-invoice_pdf
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sorry, to provide more backgroun, I issued some credit notes. and i want to share the invoice with the credit amount listed in the pdg. The invoice PDF from the invoice obj only show the original information, it does not show credit notes issued
from the invoice_pdf:
from the receipt_pdf downloaded from the hosted receipt link:
Interesting, I am not sure if the API object has a link to that same page. I will double check and get back to you
Can you send me the ID of that invoice? (in_1234)
in_1Oj4v5C3BDyMqCP3N1cAhgJ4
I am not seeing a place that that receipt URL is exposed in our API. I will double check if there is a way to do this with my colleagues and get back to you with what we can find.
Unfortunately it looks like that first URL that I mentioned is the closest thing that we offer at the moment. The page at that URL does show credit notes and such. Unfortunatley it looks like the API does not directly link to the PDF version with credit notes though, so I will file feedback about exposing that in future