Payment Excute Error: Method type not supported for this operation

purnell78
Contributor
Contributor

When we try to complete a payment we're getting an error.

Curl URL
https://api.sandbox.paypal.com/v1/payments/payment/PAY-6919774712486433JLP6PPIQ/excute/

HTTP Headers
Content-Type: application\/json","Authorization: Bearer A21AAHreFxxtc86Y_27nsOJp9e"

Data
{"payer_id":"LUQRF5YU9BXG6"}

Error
{
    "name": "MALFORMED_REQUEST",
    "message": "Method type not supported for this operation",
    "information_link": "https:\/\/developer.paypal.com\/webapps\/developer\/docs\/api\/#MALFORMED_REQUEST",
    "debug_id": "dd9ba4864e05c"
}

Login to Me Too
1 REPLY 1

angelleye
Advisor
Advisor
What's the full request? All you passed was payer_id..??

Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
Login to Me Too

Haven't Found your Answer?

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