Unable to capture the authorized payment, getting amount limit exceed

rahulsharma8419
New Community Member

Hi,

   I am just implementing the paypal rest api for capture payment from credit card. For store the cards i used Vault system to store the card and use authorize Api to authorize the capture amount. All are working fine till authorize the payment, but when i am trying to capture the payment its showing Bad Request "Capture limit exceed". While authorize i am giving amount f $60.70 and while capture amount i am giving $10.70

 

For authorize:  payments/payment

Request: "intent": "authorize" (and with all required params)

 

For Capture: payments/authorization/<auth_id>/capture

Request: "amount": {

                         "total": 10.70,

                          "currency": "USD"

                 },

                "is_final_capture":  true

 

can anyone please tell me where i am wrong?

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.