This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/tests/PayPal/Test/Functional/resources/BillingPlansFunctionalTest/testUpdateChangingMerchantPreferences.json
japatel f997f3277e Updated User Agent & More Samples for Billing Plans
- Fixed versioning in User Agent.
- Updated Billing Plan sample to update Payment definitions
- Docs & Tests
2014-11-05 13:30:28 -06:00

40 lines
1.0 KiB
JSON
Executable File

{
"description": "Patch operation for changing merchant preferences values",
"title": "Patch Operation for changing merchant preferences",
"runnable": true,
"operationId": "plan.update",
"user": {
"scopes": ["https://uri.paypal.com/services/subscriptions"]
},
"credentials": {
"oauth": {
"path": "/v1/oauth/token",
"clientId": "",
"clientSecret": ""
}
},
"request": {
"path": "v1/payments/billing-plans/{PLAN-ID}/",
"method": "PATCH",
"headers": {},
"body": [
{
"op": "replace",
"path": "/merchant-preferences",
"value": {
"cancel_url": "http://www.cancel.com",
"setup_fee": {
"value": "5",
"currency": "USD"
}
}
}
]
},
"response": {
"status": "200 OK",
"headers": {},
"body": {}
}
}