Create Subscription for Saas Service via API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have an e-commerce and sell Saas services on a pay-as-you-go basis.
I would like to use PayPal to receive these payments.
I would like the customer to grant an authorization to I can charge him one or more payments of variable amounts on a monthly basis.
I tried using your API to create the following:
- A product
- A plan
- A subscription
The problem is that on the plan it is necessary to put an amount and a billing interval and when the customer authorizes (via url) to receive a first debit of an amount but at that stage I would like to communicate to the customer that there is no initial amount to pay but it is only a debit authorization.
I don't understand which objects to use from your API and whether it is possible to get the result I want.
Thank you

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @mcoralluzzo
Thank you for posting to the PayPal community.
Yes, you can achieve this by following the steps below.
Create a product and plan in your PayPal account. During the plan setup, make sure that the "billing interval" is set to monthly and the "amount" is set to 0. This will ensure that no initial charge is applied.
The "setup_fee" field is not mandatory and any value can be passed (including 0 or non-zero values). Kindly visit the following link- https://developer.paypal.com/docs/api/subscriptions/v1/#plans_create!path=payment_preferences/setup_...
For more detailed instructions and guidance, I recommend referring to the provided guide link below:
https://developer.paypal.com/docs/subscriptions/
https://developer.paypal.com/docs/api/subscriptions/v1/
https://developer.paypal.com/docs/subscriptions/integrate/
If you are still experiencing issues, please create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US . Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
Kavya
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I followed the directions and sent this model.
I set setup_fee to zero and everything is ok but the system but I need to define a pricing scheme that allows me to manage variable and non-predefined amounts.
this is the response I get when I insert the fixed_price into the pricing_scheme..
this is the answer.
{
"name": "UNPROCESSABLE_ENTITY",
"message": "The requested action could not be performed, semantically incorrect, or failed business validation.",
"debug_id": "8b5b31d62b177",
"details": [{
"field": "/billing_cycles/0/pricing_scheme/fixed_price/value",
"value": "0.0",
"location": "body",
"issue": "INVALID_PARAMETER_VALUE",
"description": "The value of a field is invalid."
}
],
"links": [{
"href": "https://developer.paypal.com/docs/api/v1/billing/subscriptions#UNPROCESSABLE_ENTITY",
"rel": "information_link",
"method": "GET"
}
]
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @mcoralluzzo
We sincerely apologize for any inconvenience caused.
I understand that you are experiencing an "UNPROCESSABLE_ENTITY" error when making API requests. This error typically occurs when the request payload is invalid or not properly formatted, or when your merchant account is restricted.
To assist you in troubleshooting this issue, we have provided detailed guide links below:
https://developer.paypal.com/api/rest/reference/orders/v2/errors/
To prevent any initial charges to your customers, we recommend trying again by offering a "Trial" period of 1 month.
https://developer.paypal.com/docs/api/subscriptions/v1/#plans_create
Furthermore, it is important to note that a free trial billing cycle does not require a pricing scheme.
Note : Please note that for plans with a trial cycle, only 2 trial cycles are allowed per plan.
If you are still experiencing issues, please create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US . Please ensure that you provide detailed information and error details when submitting the ticket.
Sincerely,
Kavya
PayPal MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How do you create subscriptions with PayPal Advanced Checkout? in SDKs
- subscription_id has disappeared in REST APIs
- Paypal subscription Api in REST APIs
- Recurring Payment issue in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Created subscription failed to activate after few hours in Sandbox Environment