Creating a Request
The client uses a GET or POST method to send requests to the server. To send the request, the header must contain an authorization token. For information and instructions on creating the header and an authorization token, refer to our Authentication page.
There are three environments to which you can send requests
- Test: apitest.cybersource.com
- Production: api.cybersource.com
- Production in India: api.in.cybersource.com
To create a request, your client application must send an HTTPS message to the server. The URL and method that you specify in your message indicate which function you are calling and the parameters of the call. For example, if you wanted to view the details of a transaction, you would format the URL as follows:
If you want to get the details for a transaction with the Request ID 1234, use the following URL:
Client Application Requirements
To connect to the server, your client application must support HTTPS connections. An HTTPS connection is similar to an HTTP connection, but it is encrypted by using Transport Layer Security (TLS). Your client application must support HTTP/1.1 and TLS 1.2 connections.
HTTPS libraries are available for many programming languages, including Java, C/C++, Perl, and Visual Basic. You can implement a client in any language that allows you to use HTTPS to communicate with the report server.