MALFORMED_REQUEST Billing Plan

cmolli
New Community Member

Hello There,

 

Debug_id: 4d4a44ce65ae1, Environment: Sandbox

I've been trying to create a business plan through Paypal API without success. Below is the request:

 

API Endpoint: https://api.paypal.com/v1/payments/billing-plans

Request:
{"name":"Small Sized Enterprise","type":"FIXED","currency":"INR","payment_definitions":[{"name":"Small Sized Enterprise Payment Definition","type":"REGULAR","frequency":"MONTH","amount":{"currency":"INR","value":"1399"},"cycles":"12","frequency_interval":"1"}]}

 

Response:

{
"name": "MALFORMED_REQUEST",
"message": "Incoming JSON request does not map to API request",
"information_link": "https://developer.paypal.com/webapps/developer/docs/api/#MALFORMED_REQUEST",
"debug_id": "4d4a44ce65ae1"
}

I've tried this request in Sandbox and Live version also. Both of them give the same response.

Please someone help

 

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.