I want to call PayPal MassPay API in JSON format

84 views Asked by At

https://api-3t.sandbox.paypal.com/nvp - this is for nvp. How to invoke for JSON? are the input parameters the same? what are the response parameters? I want to call this API from a javascript.

1

There are 1 answers

0
schmidlop On

The Mass Pay API only supports SOAP/XML and NVP (name value pairs).

developer guide

However, there are many options you could use to convert from XML to JSON.

Like this one for instance: https://www.npmjs.com/package/xml2js