

#Rest client download protocol how to
This code snippet shows how to use HTTP method POST.ĭestination URL for a Transaction Request With NVP, the HTTP method POST is utilized for all transaction operations. For example, if the Request-URI is, then GET retrieves t1. The HTTP method GET retrieves a representation of the addressed member of the collection.

For example, if the Request-URI is, where t1 is a member of the collection resource o1, then if t1 exists the request modifies the resource t1 else creates a new member t1. With REST, the HTTP method PUT updates the addressed member of the collection or if it doesn't exist, creates a new member. All the basic operations performed through the Mastercard Payment GatewayAPI use HTTP method PUT with the REST protocol (except Retrieve and CheckGateway operations) and HTTP method POST with the NVP protocol. Mastercard Payment Gateway Supported Features Payment Security and Fraud Preventionĭepending on your protocol and integration options chosen, you may need to use a specific HTTP method for each transaction. Customize Your Direct Payment Integration.Implementing a Direct Payment Integration
