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
Body
application/json
Stripe customer ID

