Get Invoices
Return invoice data through the frontend billing API surface.
POST
Get invoices
Retrieves billing invoices for a specific customer from Stripe.
Endpoint:
Headers:
Parameters:
Error Responses:
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
Last modified on July 11, 2026
Get invoices

