For the complete documentation index, see llms.txt. This page is also available as Markdown.

/admin/cancel-subscription

Cancels the premium subscription. User will be able to access features until what would have been the next billing period or after 30 days, whichever is shorter.

await axios.post(`https://api.cryptocadet.app/api/admin/cancel-subscription`, {
apiKey, 
secretKey, 
uid
})

apiKey: Vxusewjwhjwrhkwwj181ksl

secretKey: sk-wwh284h2ksjfshshshsjh

uid: XP27shj24190ws

Status: 200

Data: Subscription canceled successfully. You will continue to have premium access until ${new Date( updatedUser.endDate )}

Last updated