List all customer invoices
1 min
GET
https://app.amberflo.io/payments/billing/customer-product-invoice/all
customerIdstringUnique identifier of the customer whose invoices should be retrieved.
This parameter is required to identify which customer's invoice history to access.
productIdstring<p>Unique identifier for the specific product to filter invoices.
If not provided, defaults to the account's default product ID ("1").</p>
startTimeInSecondsinteger<int64><p>Unix timestamp (in seconds) to filter invoices from this start time.
Only invoices at or after this time will be included in the results.</p>
endTimeInSecondsinteger<int64><p>Unix timestamp (in seconds) to filter invoices up to this end time.
Only invoices before or at this time will be included in the results.</p>
fromCachebooleanWhether to return cached invoice data for faster response times.
Set to false to force fresh data retrieval with latest payment status updates.
200Returns array of all customer invoices with detailed usage and payment information
400Invalid customer ID or query parameters provided
401Authentication required or invalid API key provided
403Insufficient permissions to access customer invoice data
404Customer not found or no invoices available
500Internal server error occurred while retrieving invoice data
curl --request GET \
--url 'https://app.amberflo.io/payments/billing/customer-product-invoice/all?customerId=customer_123&productId=1&fromCache=true' \
--header 'accept: application/json'