Payment capture flow using Rest API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
https://www.paypal.com/apex/product-profile/p4p_ordersv2/createOrder
https://developer.paypal.com/docs/api/orders/v2/#orders_create
quite different documentation, which is valid?
Many thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day @icicic,
Thank you for posting to the PayPal community.
https://www.paypal.com/apex/product-profile/p4p_ordersv2/createOrder documentation is a demo/simulator.
Please perform Create Order API(https://developer.paypal.com/docs/api/orders/v2/#orders_create) call and then redirect the customer/buyer to "approve" URL returned from the Create Order API response as below:
{ "href": "https://www.paypal.com/checkoutnow?token=*******”, "method": "GET", "rel": "approve" },
Once the order is approved by the customer/buyer, merchant should perform Capture Order (https://developer.paypal.com/docs/api/orders/v2/#orders_capture) API call and customer/buyer should pass the valid funding source.
Detailed guide link - https://developer.paypal.com/docs/api/orders/v2/
Sincerely,
Chiranjeevi
PayPal/Braintree MTS
If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI @MTS_Chiranjeevi thank you, I appreciate you taking the time to reply.
however https://www.paypal.com/apex/product-profile/p4p_ordersv2/createOrder documentation is a demo/simulator.
That doesn't answer the question at all, the 2 links I provided are for the SAME API! so why does the documentation differ?
You explanation of payment flow is godd thank you

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- where does paypal payments go to if there is no linked phone or email to the seller ? in PayPal Payments Standard
- Couldn't receive International payment in PayPal Payments Standard
- Is it possible to make payments in RON (Romanian Leu) through PayPal? in REST APIs
- My PayPal is not allowing me to receive or send requests. in PayPal Payments Standard
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment