Transaction

A transaction is the information about a SINGLE call that was made on a resource

NameTypeDescription
startTimeTimestampThe date and time that the processing started for the Transaction.
statusStringThe status of the transaction. Possible values are QUEUED, PROCESSING, COMPLETED, FAILED. NOTE: The isCompleted flag will be true if the status is either COMPLETED or FAILED.
isReversibleBooleanThis represents, Can we reverse the transaction or not
wasReversedBooleanThis represents, whether we have already reversed the transaction or not
contextObjectThis is the request context
completionTimeTimestampThe date and time that processing of the transaction completed.
versionIdStringA unique version id
responseFraudCheckResponse or QuoteResponse or AcquireCardResponse or AcquireCardReversalResponseThe complete JSON request object of the original request. Depends on the request that created the Transaction entity.
stepsCompletedIntegerNumber of steps completed
stepsArrayListThis represents, the list of steps that are executed
requestFraudCheck or Get Quote or AcquireCardThe complete JSON response object of the original request. Depends on the request that created the Transaction entity.
createdTimestampTimestampThe date and time that the Transaction entity was created.
updatedTimestampTimestampThe date and time that the Transaction entity was last updated.
percentCompleteDecimalFor transactions requiring multiple steps, gives the percentage of steps completed
{
   "startTime": "2017-10-26T23:13:19.978Z",
   "completionTime": "2017-10-26T23:13:23.257Z",
   "versionId": "7T7X6SPX1L6VWMS73B3H0K70GH",
   "status": "COMPLETED",
   "isReversible": true,
   "wasReversed": false,
   "context":    {
      "merchantId": "ExchangeCES",
      "tenantId": "9JLLQ508SG7P1GQQ9FB78602G8",
      "roleId": "FWVJKCH8TM6V284GM2RC8QR3FC",
      "certificateId": "96LY8ZLLPPTCRYC29X39C6PBCR",
      "correlationId": "WfJsDwq@rOMAAEmdclcAAAB1",
      "agent": "Apache-HttpClient/4.1.1 (java 1.5)",
      "timestamp": "2017-10-26T23:13:19.776Z",
      "requestId": "fraud4448"
   },
   "request":    {
      "millisecondsToWait": 25000,
      "quoteTransactionId": "CASZ7J74AGH1TX0SDCFK1GM2F4",
      "card":       {
         "cardNumber": "9879200195344148",
         "pinNumber": "4148",
         "productLineId": "19"
      },
      "cardHolder":       {
         "name": "VishnuPriya",
         "emailAddress": "[email protected]",
         "phoneNumber": "8888888888",
         "customerId": "23456",
         "identification":          {
            "number": "Z123456789",
            "type": "DRIVERS_LICENSE",
            "issuanceDate": "2014-04-29T00:00:00.000+0000",
            "expirationDate": "2018-04-28T00:00:00.000+0000",
            "city": "Pleasanton",
            "state": "CA",
            "country": "USA"
         },
         "physicalAddress":          {
            "street1": "6220 stoneridge",
            "street2": "Suite #220",
            "city": "Pleasanton",
            "state": "CA",
            "zip": "94588"
         },
         "creditCardInfo":          {
            "cardNumber": "4005519200000004",
            "cvv": "123",
            "expirationMonth": 10,
            "expirationYear": 2020,
            "billingAddress":             {
               "street1": "6220 Stoneridge Mall Rd",
               "street2": "PO Box",
               "city": "Pleasanton",
               "state": "CA",
               "zip": "94588"
            },
            "encryptionType": "DUKPT"
         }
      },
      "storeId": "CPMOBILE",
      "payoutType": "OPEN_LOOP"
   },
   "response":    {
      "transactionId": "JT6SM5C5ZPPFZLF11QXP0YLVL0",
      "isCompleted": true,
      "percentComplete": 100,
      "canSellCards": true,
      "responseTimestamp": "2017-10-26T23:13:23.257Z",
      "expectedCompletionTime": 0
   },
   "stepsCompleted": 2,
   "steps":    [
            {
         "descriptionTag": "exchange.vault.credit.card",
         "isCompleted": true,
         "startTime": "2017-10-26T23:13:20.335Z",
         "completionTime": "2017-10-26T23:13:21.306Z"
      },
            {
         "descriptionTag": "exchange.cp.fraud.check",
         "isCompleted": true,
         "startTime": "2017-10-26T23:13:21.753Z",
         "completionTime": "2017-10-26T23:13:23.257Z"
      }
   ],
   "paymentProcessorCustomerId": "206077466",
   "paymentProcessorCreditCardId": "8cba6c917347db3469bd68f3e6373f04"
}