Discussions
Hi, I wanted to find out if there is a way to retrieve both the invoice and the refund document via API after a refund has been issued? Currently, I can only download the refund document, but I also need access to the original purchase invoice. Is there a way of returning both PDFs?
21 days ago by Technical Communication
Unfortunately, once a refund has been applied to an order, the API will only return the refund confirmation PDF. Therefore, you would need to trigger the API call once after successful payment to retrieve the invoice belonging to the purchase.
Then, you'll need to trigger the API call once more after a refund to retrieve the refund confirmation PDF.