v5

latestOpenAPI 3.1.02026-08-081,0211,3082.1 MB
PAYMENT

Downgrade Subscription

Downgrades the user subscription :param db: The database session for accessing the database. :param tenant: The current tenant :param auth: The authorization token for the request. :return: StandardResponse.

post/payment/downgrade

Headers

x-tenantstring

Request body

plan_typestring required
tenurestring
discountinteger

Response

Successful Response

okboolean required