API Request

To make a REST API request, you combine the HTTP GET and POST method, the URL to the API service.

The URL to the API service is either:

Demo: https://demo.vnpay333.com

Most GET and POST calls require a JSON request body.

HTTP request headers

The commonly used HTTP request headers are:

Accept

The response format, which is required for operations with a response body. The syntax is:

Accept: application/json

Content Type

The request format, which is required for operations with a request body. The syntax is:

Content-Type: application/json