Request
Method:POSTEndpoint:
/api/get-subscriptionHeaders:
Content-Type:application/jsonOrigin: Must match the configured app URL
subscriptionId(string, required): The Stripe subscription ID
Response
Success Response (200):400 Bad Request: Subscription ID is required403 Forbidden: Unauthorized origin404 Not Found: Subscription not found500 Internal Server Error: Server error
Example
Notes
- This endpoint requires the request to come from the configured app URL
- Returns key subscription information including status and billing periods
- Only accessible from the official Phonely application
Body
application/json
Stripe subscription ID

