PayPal notify-URL not anymore in createBilligAgreementToken requests?
Martin_Strube
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Aug-25-2021
02:21 AM
I use the PayPal API to get Billing Agreements via
/billing-agreements/agreement-tokens
Anyhow I wonder where the parameter for the PayPal notification function is now. Recently the request Body looked like this
{
"description": "Billing Agreement",
"payer": {
"payment_method": "PAYPAL"
},
"plan": {
"type": "MERCHANT_INITIATED_BILLING",
"merchant_preferences": {
"return_url": "https://example.com/return",
"cancel_url": "https://example.com/cancel",
"notify_url": "https://example.com/notify",
"accepted_pymt_type": "INSTANT",
"skip_shipping_address": false
}
}
}
However the API looks totally different now. Do I have to switch to a new API now that looks like this:
/v1/payments/billing-agreements
What happende with the notifiy_url in my actuall calls? Doesn't it exist anymore? How to get callbacks if a customer cancels his BillingAgreement?
Do I have to use the webhooks now? https://developer.paypal.com/docs/api/webhooks/v1/
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.