REST API

Retrieve a Specific Transaction Batch File

To retrieve a specific transaction batch, the request format is:
GET https://<
url_prefix>/pts/v1/transaction-batches/{id}
Transaction Batch File Definition URL Values
Value
Description
Required/Optional
<
url_prefix
>
Name of the server from which to download the report. Use one of these values:
  • Production
    : api.cybersource.com
  • Production in India
    : api.in.cybersource.com
  • Test
    : apitest.cybersource.com
Required
<
id
>
Unique ID assigned to a batch upload file.
Required

Responses

This call can return one of the following HTTP status codes:
  • 200: Ok.
  • 400: Invalid request.
  • 401: Not authorized.
  • 403: Not authenticated.
  • 404: Report not found or no transactions are available.
  • 500: Bad Gateway.
For detailed information on the responses, including which fields are returned, see the Reporting REST API Reference in the Developer Center.