Request Object
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
{
"name": "T-Shirt of the Month Club Plan",
"description": "Template creation.",
"type": "fixed",
"payment_definitions": [
{
"name": "Regular Payments",
"type": "REGULAR",
"frequency": "Month",
"frequency_interval": "2",
"cycles": "12",
"amount": {
"value": "100",
"currency": "USD"
},
"charge_models": [
{
"type": "SHIPPING",
"amount": {
"value": "10",
"currency": "USD"
}
}
]
}
],
"merchant_preferences": {
"return_url": "https://conextion.network/library/PayPal/vendor/paypal/rest-api-sdk-php/sample/billing/ExecuteAgreement.php?success=true",
"cancel_url": "https://conextion.network/library/PayPal/vendor/paypal/rest-api-sdk-php/sample/billing/ExecuteAgreement.php?success=false",
"auto_bill_amount": "yes",
"initial_fail_amount_action": "CONTINUE",
"max_fail_attempts": "0",
"setup_fee": {
"value": "1",
"currency": "USD"
}
}
}
Response Object
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
Warning: sizeof(): Parameter must be an array or an object that implements Countable in
/home/conexti1/public_html/library/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Common/PayPalModel.php on line
176
{
"name": "T-Shirt of the Month Club Plan",
"description": "Template creation.",
"type": "FIXED",
"payment_definitions": [
{
"id": "PD-2NX53612B3848691BKK2ZELQ",
"name": "Regular Payments",
"type": "REGULAR",
"frequency": "Month",
"amount": {
"currency": "USD",
"value": "100"
},
"cycles": "12",
"charge_models": [
{
"id": "CHM-1P506896CR296140VKK2ZELQ",
"type": "SHIPPING",
"amount": {
"currency": "USD",
"value": "10"
}
}
],
"frequency_interval": "2"
}
],
"merchant_preferences": {
"setup_fee": {
"currency": "USD",
"value": "1"
},
"max_fail_attempts": "0",
"return_url": "https://conextion.network/library/PayPal/vendor/paypal/rest-api-sdk-php/sample/billing/ExecuteAgreement.php?success=true",
"cancel_url": "https://conextion.network/library/PayPal/vendor/paypal/rest-api-sdk-php/sample/billing/ExecuteAgreement.php?success=false",
"auto_bill_amount": "YES",
"initial_fail_amount_action": "CONTINUE"
},
"id": "P-1XL70628PH337064RKK2ZELQ",
"state": "CREATED",
"create_time": "2024-11-22T07:10:51.438Z",
"update_time": "2024-11-22T07:10:51.438Z",
"links": [
{
"href": "https://api.sandbox.paypal.com/v1/payments/billing-plans/P-1XL70628PH337064RKK2ZELQ",
"rel": "self",
"method": "GET"
}
]
}