Using PayPal Name Value Pair API

Isolated Sandbox to test your ecommerce solutions
The following contains information on how to use the Name-Value Pair API (NVP API) interface from PayPal. The PayPal NVP API system is a lightweight alternative to the PayPal SOAP API that enables developers to leverage the SOAP API functionality via simple HTTP requests to PayPal. Using The NVP API, developers specifically request parameters (e.g., user name, API method name, etc.) using simple name-value pairs. With the NVP API, you can:
• Accept Payments using Website Payments Pro.
• Search Your transaction history and query details on past transactions.
• Automate back office functionality, such as capturing authorizations and processing refunds.

Important Note: Most pre-built shopping carts will already include the modules for this and should require little to no custom coding.

For developers writing their own shopping cart the recommended way to post your transactions with Pay Pal is to use their HTTPS interface.

The HTTPS interface uses an API signature for security so you do not need to have a PayPal certificate installed on the server side as you would if you were using Pay Flow Pro. Instead the NVP uses an API signature for validation.

You will use the Name-Value Pair API via HTTPS for Website Payments Pro and Express Checkout.

Important Note: You cannot use Website Payments Pro without also Enabling Express Checkout.

Following is a collection of information from Pay Pal dealing with the NVP https interface.

“The PayPal Name-Value Pair Interface is recommended for most developers looking to integrate PayPal APIs, such as Website Payments Pro and Express Checkout. Each platform contains working sample code:” -PayPal

Below are some links to documentation you will find helpful when working with the PayPay NVP API:


Add Feedback