Ottieni l'abbonamento attivo
GET/api/v1/partner-gateway/subscription
Returns the currently active subscription plan for your account. The response includes the plan code (e.g. PRO_MONTHLY, STARTER_YEARLY), the status (ACTIVE, CANCELED, SUSPENDED), the current billing period start and end dates, the next renewal date, whether the subscription has been canceled, and the next plan code if a plan change is scheduled. Use this endpoint to programmatically check your plan tier before making API calls that may be restricted by plan level, or to display subscription information in your own dashboard. The billing period dates define the current invoicing cycle. The nextRenew date indicates when the subscription will automatically renew (unless canceled). If canceled is true but status is still ACTIVE, the plan remains usable until the end of the current billing period, after which it will not renew. Returns 401 if the API key is missing or invalid. Returns 404 if no active subscription exists for your account. Returns 502 if the upstream subscription service is temporarily unavailable.
Risposte
- 200
- 401
- 404
- 502
Abbonamento attivo recuperato con successo
Chiave API mancante o non valida
Nessun abbonamento attivo trovato
Errore del servizio upstream