Get Invoices
Return invoice data through the frontend billing API surface.
POST
Get invoices
Retrieves billing invoices for a specific customer from Stripe.Documentation Index
Fetch the complete documentation index at: https://docs.phonely.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request
Method:POSTEndpoint:
/api/get-invoicesHeaders:
Content-Type:application/jsonOrigin: Must match the configured app URL
customerId(string, required): The Stripe customer ID
Response
Success Response (200):400 Bad Request: Customer ID is required403 Forbidden: Unauthorized origin404 Not Found: Invoices not found500 Internal Server Error: Server error
Example
Notes
- This endpoint requires the request to come from the configured app URL
- Returns Stripe invoice objects with full billing details
- Only accessible from the official Phonely application
Get invoices

