Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 2.56 KB

TransactionBatchesApi.md

File metadata and controls

58 lines (37 loc) · 2.56 KB

CyberSource.TransactionBatchesApi

All URIs are relative to https://apitest.cybersource.com

Method HTTP request Description
ptsV1TransactionBatchesGet GET /pts/v1/transaction-batches Get a list of batch files processed through the Offline Transaction Submission Services

ptsV1TransactionBatchesGet

PtsV1TransactionBatchesGet200Response ptsV1TransactionBatchesGet(startTime, endTime)

Get a list of batch files processed through the Offline Transaction Submission Services

Provide the search range

Example

var CyberSource = require('CyberSource');

var apiInstance = new CyberSource.TransactionBatchesApi();

var startTime = new Date("2013-10-20T19:20:30+01:00"); // Date | Valid report Start Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14   **Example date format:**   - yyyy-MM-dd'T'HH:mm:ss.SSSZZ 

var endTime = new Date("2013-10-20T19:20:30+01:00"); // Date | Valid report End Time in **ISO 8601 format** Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14   **Example date format:**   - yyyy-MM-dd'T'HH:mm:ss.SSSZZ 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.ptsV1TransactionBatchesGet(startTime, endTime, callback);

Parameters

Name Type Description Notes
startTime Date Valid report Start Time in ISO 8601 format Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 Example date format: - yyyy-MM-dd'T'HH:mm:ss.SSSZZ
endTime Date Valid report End Time in ISO 8601 format Please refer the following link to know more about ISO 8601 format. - https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 Example date format: - yyyy-MM-dd'T'HH:mm:ss.SSSZZ

Return type

PtsV1TransactionBatchesGet200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json;charset=utf-8
  • Accept: application/hal+json