get https://app.amberflo.io/payments/billing/customer-product-invoice
Use this endpoint to get a specific invoice of a customer.
You can get either the "latest" invoice, by setting the latest
parameter to true
, or a "previus" invoice by, providing the product plan id
and the invoice start date parameters.
To know whether the invoice has been paid or not, look at the paymentStatus
of the response.