Check Subscription Status
π Check the Status of a Subscription
Use this endpoint to get the current state of a subscription.
π§ Endpoint
POST /subscription/status
π₯ Request Body
Field | Type | Description |
---|---|---|
track_id | string | Unique identifier of the subscription |
β Example Request
{
"track_id": "a1b2c3d4-e5f6-7890-g1h2-i3j4k5l6m7n8"
}
π€ Response
β Example Success Response
{
"status": "active",
"track_id": "a1b2c3d4-e5f6-7890-g1h2-i3j4k5l6m7n8"
}
β Example Error Response
{
"detail": "Subscription not found, track_id: invalid_track_123"
}