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 |
PtsV1TransactionBatchesGet200Response ptsV1TransactionBatchesGet(startTime, endTime)
Get a list of batch files processed through the Offline Transaction Submission Services
Provide the search range
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);
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 |
PtsV1TransactionBatchesGet200Response
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/hal+json