Developer Guide Menu

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.

Request URLs

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

Request Format

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:
https://<
url_prefix
>/
tss
/
v2
/
transactions
/{
id
}
If you want to get the details for a transaction with the Request ID 1234, use the following URL:
https://<url_prefix>/tss/v2/transactions/
1234

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.
Top