CancelProfile Method
This will cancel the profile.
Syntax
[VB.NET] Public Sub CancelProfile(ByVal ProfileId As String)
[C#] public void CancelProfile(string profileId);
Remarks
Use this method to cancel the specified recurring payments profile. This method takes a ProfileId parameter which specifies the profile to be canceled. An optional Note may be attached to the request to PayPal.
Note that only profiles with an Active or Suspended Status may be canceled.
NOTE: This method has a corresponding asynchronous version (CancelProfileAsync) for use in the Xamarin environment.