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
38 lines
964 B
JSON
Executable File
38 lines
964 B
JSON
Executable File
{
|
|
"description" : "Create PayPal agreement after buyer approval",
|
|
"title" : "Agreement creation",
|
|
"runnable" : true,
|
|
"operationId" : "agreement.execute",
|
|
"user" : {
|
|
"scopes" : ["https://uri.paypal.com/services/subscriptions" ]
|
|
},
|
|
"credentials" : {
|
|
"oauth": {
|
|
"path" : "/v1/oauth/token",
|
|
"clientId":"",
|
|
"clientSecret":""
|
|
}
|
|
},
|
|
"request" : {
|
|
"path" : "v1/payments/billing-agreements/EC-6CT996018D989343F/agreement-execute",
|
|
"method" : "POST",
|
|
"headers" : {},
|
|
"body" : {}
|
|
},
|
|
"response" : {
|
|
"status" : "200 OK",
|
|
"headers" : {},
|
|
"body" :
|
|
{
|
|
"id": "I-5D3XDN2D5FH1",
|
|
"links": [
|
|
{
|
|
"href": "https://stage2p2163.qa.paypal.com/v1/payments/billing-agreements/I-5D3XDN2D5FH1",
|
|
"rel": "self",
|
|
"method": "GET"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|