Retrieving the Agreement object from Create Agreement Sample to demonstrate the List
Lets get the updated Agreement Object
NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY
NOTE: PLEASE DO NOT USE RESULTPRINTER CLASS IN YOUR ORIGINAL CODE. FOR SAMPLE ONLY
Suspend an agreement
This sample code demonstrate how you can suspend a billing agreement, as documented here at: https://developer.paypal.com/webapps/developer/docs/api/#suspend-an-agreement API used: /v1/payments/billing-agreements//suspend