Plugin Subscription Plans

Create plugin subscription plan

POST
http://localhost:3000/api/plugin-plans

Body

application/json
pricenumberrequired

Plan price

isPopularboolean

Whether this plan is marked as popular

isRecommendedboolean

Whether this plan is recommended

trialDaysnumber

Trial period duration in days

setupFeenumber

Setup fee for the plan

discountPercentagenumber

Discount percentage for the plan

namestringrequired

Plan name

descriptionstring

Plan description

typestringfreetrialbasicpremiumenterprisecustomrequired

Plan type

currencystringAFNAFAALLALKDZDADPAOAAOKAONAORARAARSARMARPARLAMDAWGAUDATSAZNAZMBSDBHDBDTBBDBYNBYBBYRBEFBECBELBZDBMDBTNBOBBOLBOVBOPBAMBADBANBWPBRCBRZBREBRRBRNBRBBRLGBPBNDBGLBGNBGOBGMBUKBIFXPFKHRCADCVEKYDXAFCLECLPCLFCNXCNYCOPCOUKMFCDFCRCHRDHRKCUCCUPCYPCZKCSKDKKDJFDOPNLGXCDDDMECSECVEGPGQEERNEEKETBEURXEUFKPFJDFIMFRFXFOXFUGMDGEKGELDEMGHSGHCGIPGRDGTQGWPGNFGNSGYDHTGHNLHKDHUFISKISJINRIDRIRRIQDIEPILSILPILRITLJMDJPYJODKZTKESKWDKGSLAKLVLLVRLBPLSLLRDLYDLTLLTTLULLUCLUFMOPMKDMKNMGAMGFMWKMYRMVRMVPMLFMTLMTPMROMURMXVMXNMXPMDCMDLMCFMNTMADMAFMZEMZNMZMMMKNADNPRANGTWDNZDNIONICNGNKPWNOKOMRPKRPABPGKPYGPEIPENPESPHPPLNPLZPTEGWEQARXRERHDRONROLRUBRURRWFSVCWSTSARRSDCSDSCRSLLSGDSKKSITSBDSOSZARZALKRHKRWKROSSPSURESPESAESBLKRSHPSDDSDGSDPSRDSRGSZLSEKCHFSYPSTDTJRTJSTZSTHBTPETOPTTDTNDTRYTRLTMTTMMUSDUSNUSSUGXUGSUAHUAKAEDUYUUYPUYIUZSVUVVEFVEBVNDVNNCHECHWXOFYDDYERYUNYUDYUMYURZRNZRZZMWZMKZWDZWRZWLrequired

Plan currency

billingPeriodstringdailyweeklymonthlyquarterlyyearlyone-timerequired

Billing period

featuresArray<string>required

Plan features

limitationsobject

Plan limitations

isActiveboolean

Is plan active

metadataobject

Plan metadata

sortOrdernumber

Sort order

pluginIdstring

Plugin ID

Response

Plugin subscription plan created successfully

Response fields application/json
deletedAtstring<date-time>
Example
2018-11-21T06:20:32.232Z
createdAtstring<date-time>

The creation timestamp of the entity.

Example
2018-11-21T06:20:32.232Z
updatedAtstring<date-time>

The last update timestamp of the entity.

Example
2018-11-21T06:20:32.232Z
idstring
isActivebooleantrue

Whether the plan is active and available for purchase

isArchivedbooleanfalse
archivedAtstring<date-time>
Example
2018-11-21T06:20:32.232Z
namestringrequired

Plan name

descriptionstring

Plan description

typestringfreetrialbasicpremiumenterprisecustomrequired

Subscription type/plan level

pricenumberrequired

Plan price

currencystringrequired

Currency code (e.g., USD, EUR)

billingPeriodstringdailyweeklymonthlyquarterlyyearlyone-timerequired

Billing period

featuresArray<string>required

Plan features list

limitationsobject

Plan limitations and quotas

isPopularboolean

Whether this plan is marked as popular

isRecommendedboolean

Whether this plan is recommended

trialDaysnumber

Trial period duration in days

setupFeenumber

Setup fee for the plan

discountPercentagenumber

Discount percentage for the plan

metadatastring

Plan metadata (JSON string)

sortOrdernumber

Sort order for displaying plans

pluginIdstringrequired

Plugin ID

createdByIdstring

User who created this plan

subscriptionsArray<string>

Subscriptions using this plan

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey