TerminalConfig
- accountType: string · Account Id
_id required - createdType: string · Created AtFormat: date-time
_at requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- midType: string · Midrequired
- nameType: string · Namerequired
- processorType: string · Processor Config Id
_config _id required - terminalType: string · Terminal Id
_id required - tidType: string · Tidrequired
- agentType: string | null · Agent Bank Number
_bank _number - binType: string | null · Bin
- countryType: string | null · Country Code
_code - currencyType: string | null · Currency Code
_code - deletedType: string | null · Deleted AtFormat: date-time
_at the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- descriptionType: string | null · Description
- merchantType: string | null · Merchant Category Code
_category _code - merchantType: string | null · Merchant Name
_name - serialType: string | null · Serial Number
_number - statusType: string · TerminalStatusenumvalues
- active
- inactive
- blocked
- surchargeType: number | null · Surcharge Rate
_rate Surcharge percentage (e.g., 3.5 for 3.5%). Setting to null disables automatic surcharge logic. Setting to 0 means surcharges will NEVER be applied unless explicitly overridden.
- terminalType: string | null · Terminal Capability
_capability - transactionsType: array object[] · Transactions
Model to represent a transaction
- accountType: string · Account Id
_id requiredAccount ID of the merchant that owns this transaction
- appleType: string · Apple Transaction Id
_transaction _id requiredApple Pay transaction identifier
- cardType: string · Cardrequired
Masked card number (e.g., '****1234')
- cardType: string · Card Brand
_brand requiredCard brand (e.g., 'VISA', 'MASTERCARD', 'AMEX')
- cardType: string · Card Type
_type requiredType of card used ('Credit' or 'Debit')
- createdType: integer · Created At
_at requiredTransaction creation timestamp in milliseconds since epoch
- currencyType: string · Currencyrequired
ISO 4217 currency code (e.g., 'USD', 'EUR')
- eventType: string · Event Id
_id requiredUnique identifier for this specific transaction event (for idempotency)
- midType: string · Midrequired
Merchant ID assigned by Koard
- paymentType: string · Payment Method
_method requiredPayment method used (e.g., 'apple_pay', 'credit_card')
- processorType: string · Processor Mid
_mid requiredMerchant ID assigned by the payment processor (e.g., PayRoc)
- processorType: string · Processor Tid
_tid requiredTerminal ID assigned by the payment processor
- readerType: string · Reader Identifier
_identifier requiredUnique identifier for the card reader device
- subtotalType: integer · Subtotalrequired
Subtotal amount in cents (before tax, tip, and surcharge)
- tidType: string · Tidrequired
Terminal ID assigned by Koard
- totalType: integer · Total Amount
_amount requiredTotal transaction amount in cents (subtotal + tax + tip + surcharge)
- transactionType: string · Transaction Id
_id requiredUnique identifier for the transaction across all events
- additionalType: object | null · Additional Details
_details Additional transaction details as key-value pairs
- batchType: string | null · Batch Id
_id - deviceType: string | null · Device Id
_id Physical device identifier (e.g., iPad serial number)
- gatewayType: string | null · Gateway
Payment gateway used for processing
- gatewayType: string | null · Gateway Transaction Id
_transaction _id Transaction ID returned by the payment gateway
- gatewayType: object | null · Gateway Transaction Response
_transaction _response Raw response from the payment gateway
- historyType: array object[] | null · History
Historical events for this transaction
Empty object - locationType: string | null · Location Id
_id Location/store ID where transaction occurred
- merchantType: string | null · Merchant Name
_name Name of the merchant for this transaction
- ownerType: string | null · Owner Id
_id - parentType: array string[] | null · Parent Account Ids
_account _ids - processorType: string | null · Processor
Payment processor name (e.g., 'payroc', 'stripe')
- processorType: string | null · Processor Response Code
_response _code Response code from the payment processor
- processorType: string | null · Processor Response Message
_response _message Response message from the payment processor
- refundedType: integer | null · Refunded
Total amount refunded in cents
- reversedType: integer | null · Reversed
Total amount reversed in cents
- statusType: string | null · Status
Current transaction status
- statusType: string | null · Status Reason
_reason Reason for the current transaction status
- surchargeType: integer | null · Surcharge Amount
_amount Surcharge amount in cents
- surchargeType: boolean · Surcharge Applied
_applied Whether a surcharge was applied to this transaction
- surchargeType: number | null · Surcharge Rate
_rate Surcharge rate as a decimal (e.g., 0.035 = 3.5%)
- taxType: integer | null · Tax Amount
_amount Tax amount in cents
- taxType: integer | null · Tax Rate
_rate Tax rate in basis points (e.g., 850 = 8.5%)
- tipType: integer | null · Tip Amount
_amount Tip amount in cents
- tipType: string | null · Tip Type
_type Type of tip calculation method
- transactionType: string | null · Transaction Type
_type Type of transaction operation
- updatedType: string | null · Updated AtFormat: date-time
_at the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- varType: object | null · Var Sheet
_sheet Processor-specific configuration (e.g., TSYS VAR sheet data)
- vidType: string | null · Vid

