Transaction

Type:  
Abstract:  no
Status:  Active
Java Class:  Transaction
Represents a transaction associated with a particular merchant.
id
References: Account Activity.Id
XML Representation: attribute
Attributes:
Default Value
Identifier of the object used for references; auto-incremented integer value.
code
References: Account Activity.Reference Code
XML Representation: attribute
Attributes: CreateOnly
Default Value
Pattern: CODE
See Reference Code definition for additional information.
accountId
References: Account Activity.Merchant Account Code
XML Representation: attribute
Attributes:
Default Value
Code of Merchant Account to which instance of this object is attributed to.
Depending on the context, Merchant Account Code field may contain either Merchant Code or Merchant Account Code.
The field is primarily used for data partitioning and data management, to make it easy to determine the ownership of a record within the database.
customerId
References: Account Activity.Customer Account FK
XML Representation: attribute
Attributes:
Default Value
createDate
References: Account Activity.Create Date
XML Representation: attribute
Attributes:
Default Value
Date when the record was created

In API request, the date must be submitted in yyyy-MM-dd format.
In API response, the date is returned in yyyy-MM-dd HH:mm:ss format.
dueDate
References: Account Transaction.Due Date
XML Representation: attribute
Attributes: CreateOnly
Default Value
Date when the transaction becomes effective.

The date must be submitted in yyyy-MM-dd format.
type
References: Account Activity.Account Activity CL
XML Representation: attribute
Attributes: Required
Default Value
Represents the type of account activity.
accountType
References: Asset Transaction.Transaction CL
XML Representation: attribute
Attributes:
Default Value
Enumeration of possible asset transaction processing modes available in the system.
creatorCode
References: Account Transaction.Ref Creator Code
XML Representation: attribute
Attributes: CreateOnly
Default Value
Pattern: CODE
Code of the user that created the account transaction.
amount
References: Account Transaction.Amount
XML Representation: attribute
Attributes: Required, CreateOnly
Default Value
Amount of the transaction in cents (without a decimal point).
balance
References: Account Transaction.Balance
XML Representation: attribute
Attributes:
Default Value
Remaining balance of the transaction.
accountNumber
References: Asset Transaction.Masked Account Number
XML Representation: attribute
Attributes: CreateOnly
Default Value
Masked account number of the sutomer.
note
References: Account Transaction.Note
XML Representation: attribute
Attributes: CreateOnly
Default Value
Pattern: TEXT
Description of the transaction.
adjustmentId
References: Account Transaction.Adjustment Transaction FK
XML Representation: attribute
Attributes:
Default Value
Reference to the entity that represents account transaction.
subscriptionId
References: Account Transaction.Payment Plan FK
XML Representation: attribute
Attributes:
Default Value
Reference to the entity that represents payment plan of the account.
processingInfo
XML Representation: element
Attributes:
Default Value

XML Sample:

<transactions>
     <transaction
         id="" 
         code="" 
         accountId="" 
         customerId="" 
         createDate="" 
         dueDate="" 
         type="" 
         accountType="" 
         creatorCode="" 
         amount="" 
         balance="" 
         accountNumber="" 
         note="" 
         adjustmentId="" 
         subscriptionId="3271" >
         <processingInfo
             id="" 
             createDate="" 
             holderName="" 
             accountNumber="" 
             accountAccessory="" 
             token="" 
             street="" 
             city="" 
             state="" 
             zipCode="" 
             phone="" 
             email="" 
             gatewayTransactionId="" 
             approvalCode="" 
             responseDate="" 
             responseCode="" 
             responseMessage="" 
             address="" />
     </transaction>
</transactions>

"<transactions> <transaction id=\"\" code=\"\" accountId=\"\" customerId=\"\" createDate=\"\" dueDate=\"\" type=\"\" accountType=\"\" creatorCode=\"\" amount=\"\" balance=\"\" accountNumber=\"\" note=\"\" adjustmentId=\"\" subscriptionId=\"3271\" > <processingInfo id=\"\" createDate=\"\" holderName=\"\" accountNumber=\"\" accountAccessory=\"\" token=\"\" street=\"\" city=\"\" state=\"\" zipCode=\"\" phone=\"\" email=\"\" gatewayTransactionId=\"\" approvalCode=\"\" responseDate=\"\" responseCode=\"\" responseMessage=\"\" address=\"\" /> </transaction></transactions>"

JSON Sample:

{
  "id": "",
  "code": "",
  "accountId": "",
  "customerId": "",
  "createDate": "",
  "dueDate": "",
  "type": "",
  "accountType": "",
  "creatorCode": "",
  "amount": "",
  "balance": "",
  "accountNumber": "",
  "note": "",
  "adjustmentId": "",
  "subscriptionId": 3271,
  "processingInfo": {
    "id": "",
    "createDate": "",
    "holderName": "",
    "accountNumber": "",
    "accountAccessory": "",
    "token": "",
    "street": "",
    "city": "",
    "state": "",
    "zipCode": "",
    "phone": "",
    "email": "",
    "gatewayTransactionId": "",
    "approvalCode": "",
    "responseDate": "",
    "responseCode": "",
    "responseMessage": "",
    "address": ""
  }
}

XURL Sample:

?id=&code=&accountId=&customerId=&createDate=&dueDate=&type=&accountType=&creatorCode=&amount=&balance=&accountNumber=&note=&adjustmentId=&subscriptionId=3271&processingInfo.id=&processingInfo.createDate=&processingInfo.holderName=&processingInfo.accountNumber=&processingInfo.accountAccessory=&processingInfo.token=&processingInfo.street=&processingInfo.city=&processingInfo.state=&processingInfo.zipCode=&processingInfo.phone=&processingInfo.email=&processingInfo.gatewayTransactionId=&processingInfo.approvalCode=&processingInfo.responseDate=&processingInfo.responseCode=&processingInfo.responseMessage=&processingInfo.address=&
id=
code=
accountId=
customerId=
createDate=
dueDate=
type=
accountType=
creatorCode=
amount=
balance=
accountNumber=
note=
adjustmentId=
subscriptionId=3271
processingInfo.id=
processingInfo.createDate=
processingInfo.holderName=
processingInfo.accountNumber=
processingInfo.accountAccessory=
processingInfo.token=
processingInfo.street=
processingInfo.city=
processingInfo.state=
processingInfo.zipCode=
processingInfo.phone=
processingInfo.email=
processingInfo.gatewayTransactionId=
processingInfo.approvalCode=
processingInfo.responseDate=
processingInfo.responseCode=
processingInfo.responseMessage=
processingInfo.address=