cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to execute a payment partially (partially amount) using REST API?

SOLVED
Member

Is it possible to execute a payment partially (partially amount) using REST API?

Hy community,

 

my question: Is it possible to execute a payment partially (partially amount) using REST API?

Example:

the customer puts 3 items in his shopping cart. 
We authorize all 3 items in a whole transaction (the whole shopping cart).
Now after all, when he clicks "Order" on our Site, 1 item would be charged immediately, the two other should be executed when we confirm it later?

To execute the whole cart works, but how can I execute only partial items?
If it is possible. And what would be the alternatives to do so?

Thanks in advance!

Let me know if there are any questions

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Volunteer Advisor

Re: Is it possible to execute a payment partially (partially amount) using REST API?

What you're looking for is Authorization and Capture.  For this you would change the "intent" parameter in your API request to "authorize" or "order" instead of "sale".  

 

Here is info on setting up an Authorization, which would hold the funds on the buyer's funding source so they're available when you capture (up to a time limit.)  Here is info on an Order, which is similar, but it doesn't do an Auth to hold funds.  It just sets it up so you can capture later.

 

 

Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
2 REPLIES
Highlighted
Volunteer Advisor

Re: Is it possible to execute a payment partially (partially amount) using REST API?

What you're looking for is Authorization and Capture.  For this you would change the "intent" parameter in your API request to "authorize" or "order" instead of "sale".  

 

Here is info on setting up an Authorization, which would hold the funds on the buyer's funding source so they're available when you capture (up to a time limit.)  Here is info on an Order, which is similar, but it doesn't do an Auth to hold funds.  It just sets it up so you can capture later.

 

 

Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
Member

Re: Is it possible to execute a payment partially (partially amount) using REST API?

Thank you, this is what I was looking for! Smiley Happy