displaying upgrade/cancel button for subscriptions in account page


I was wondering how to display the "cancel" paypal button in the account page for those who would like to "cancel" their subscriptions? And if it's cancelled, would it be for all subscriptions or just the content they subscribed to? There doesn't seem to be much documentation for that. Thanks in advance.