How can I cancel a PayPal Billing Agreement via an API call

533 views Asked by At

I'm using PayPal NVP API to do reference transactions with express checkout. I create billing agreements and charge using the agreements in sandbox and in a production environment, however when I try to call BAUpdate (METHOD=BillingAgreementUpdate in the NVP API) I get the a response with error code 81002 and description

Method specified is not Supported

I can't find anywhere in PayPal's docs if this method is deprecated or if I need to send something else.

1

There are 1 answers

0
Machavity On BEST ANSWER

The proper call is BillAgreementUpdate (confusing, I know). That should let you cancel your billing agreement.