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/BillingAgreementsFunctionalTest/testUpdate.json
japatel 4d481ad104 Enabled Billing Plans and Agreements APIs
- Added API Classes, Samples, and Tests
- Updated Functional Tests
- Updated Documentation with new SDK Name
- Updated Few Samples to use newer nicer result page
2014-10-31 13:53:42 -05:00

47 lines
1.2 KiB
JSON
Executable File

{
"description": "This operation updates agreement",
"title": "Update agreement",
"runnable": true,
"operationId": "agreement.update",
"user": {
"scopes": ["https://uri.paypal.com/services/subscriptions"]
},
"credentials": {
"oauth": {
"path": "/v1/oauth/token",
"clientId": "",
"clientSecret": ""
}
},
"request": {
"path": "v1/payments/billing-agreements/{Agreement-Id}",
"method": "PATCH",
"headers": {},
"body": [
{
"op": "replace",
"path": "/",
"value": {
"description": "Updated description",
"start_date": "2024-06-18T10:00:00Z",
"shipping_address":{
"line1":"Hotel Blue Diamond",
"line2":"Church Street",
"city":"San Jose",
"state":"CA",
"postal_code":"95112",
"country_code":"US"
}
}
}
]
},
"response": {
"status": "200 OK",
"headers": {},
"body": {}
}
}