forked from LiveCarta/PayPal-PHP-SDK
- Added API Classes, Samples, and Tests - Updated Functional Tests - Updated Documentation with new SDK Name - Updated Few Samples to use newer nicer result page
40 lines
855 B
JSON
Executable File
40 lines
855 B
JSON
Executable File
{
|
|
"description" : "This operation changes the state of billing plan to active if its in created state.",
|
|
"title" : "Patch Request for changing state",
|
|
"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":"/",
|
|
"value":{
|
|
"state":"ACTIVE"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"response" : {
|
|
"status" : "200 OK",
|
|
"headers" : {},
|
|
"body" : { }
|
|
}
|
|
}
|
|
|
|
|
|
|