PayPal Payment Excute Error: Method type not supported for this operation

PayPal Payment Excute Error: Method type not supported for this operation

当我们尝试完成 PayPal 付款时出现错误。

卷曲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":"LUQRF5YkjhXG6"}

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"
}

您的 URL

有错别字

应该是execute而不是excute

使用:https://api.sandbox.paypal.com/v1/payments/payment/PAY-6919774712486433JLP6PPIQ/execute/