Get all invoices for the customer
1 min
GET
https://app.amberflo.io/customer-portal/invoice/all
productIdstringProduct ID as defined in account pricing. Change from default only if you have multiple products.
fromCacheboolean<p>Setting this param to false will cause the service to return cached invoice data (usually a couple of hours lag). This call has better performance than the default. Default to false.</p>
withPaymentStatusbooleanSetting this param to false will cause the service to not fetch the payment status as part of the invoice. Recommended if you don't need the invoice payment status or if the invoice is still in a open state. Default to true.
sessionTokenstring<p>A required session token used to authenticate API calls made on behalf of a customer. This token is obtained from the <code>Create a session</code> endpoint and must be included with every request to authorize access.</p>
200Successful response
curl --request GET \
--url 'https://app.amberflo.io/customer-portal/invoice/all?productId=1&sessionToken=string' \
--header 'accept: application/json'