Using API calls to process Automatic Billing agreements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have set up a button on my site to set up Automatic Billing agreements. The button works great, and I can view the agreements that have been set up in the PayPal UI using the "Recurring payments dashboard". I can manually bill the agreements through the UI as well. While this works, it is obviously not a viable business solution to need to go into the UI and manually process payments each month, so I am attempting to set up API calls to do this.
Attempting to make a REST API call to https://api.paypal.com/v1/payments/billing-agreements/<agreement ID>/set-balance results in the following error:
{"name":"SUBSCRIPTION_UNMAPPED_ERROR","message":"Subscription Profiles not supported by Recurring Payment APIs.","information_link":"https://developer.paypal.com/docs/api/payments.billing-agreements#errors","debug_id":"4cef37d1b5f90"}
Is there another API-based solution for setting the outstanding balance on these agreements and then billing the outstanding balance?

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How to integrate PayPal during user signup to avoid re-entering credentials for future payments? in REST APIs
- Getting an error when calling API endpoint for Create Billing Agreement Token V1 in Sandbox Environment
- This merchant account is not permitted to create Merchant Initiated Billing Agreement in PayPal Payments Standard
- Getting METHOD_NOT_SUPPORTED response to billing agreement token request in REST APIs
- Enable "Billing Address Request" for the Sandbox Account. in Sandbox Environment