Hi,
We are creating invoice through Square Invoice API.
Can we get the status of invoice like “Viewed, Not Viewed” by customer through Invoice API? We are getting the invoice status like “PAID, UNPAID, REFUNDED, CANCELED” through Invoice API. BUT we are not getting invoice status like “Viewed, Not Viewed”.
How we can get this through Invoice API?
Thanks.
I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:
Additional Documentation
Create and Publish Invoices
Invoices API Requirements
Create and Publish Invoices
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
The Square Invoices API currently does not support retrieving the status of an invoice as “Viewed” or “Not Viewed” by the customer. The API provides the status of the invoice in terms of its payment state, such as “PAID”, “UNPAID”, “REFUNDED”, or “CANCELED”, but it does not track or return information about whether the customer has viewed the invoice.
This answer was reviewed by @Bryan-Square.
Square in the infinite wisdom decided we the customers do not require this in an API because, …. well plebs do not need them. so go eat cake.
If you want this functionality, use a link shortening service like Short.io etc and send the shortened link to your clients (not the ugly links that square generates), you can then call the short API to see human clicks and timestamps. Hope this helps.