Postby xlives » Wed Apr 10, 2013 11:42 am
I would like to check out a shopping cart using REST Apis. I know that, in order to achieve that, I need to call either /cart/checkout or /cart/checkout/payment/response. As my website will integrate with Paypal, so I know that I have to call /cart/checkout/payment/response using POST method. I also looked deeply inside the code and found that the Api receives PaymentReferenceMapWrapper as its parameter. However, that class looks a bit complicated to represent in term of JSON data. Therefore, please give me an example of JSON data to represent that class. Thanks in advance.