TerminalWithMetadata
Terminal configuration with optional metadata
- Type: string · Account Id
account _id required - Type: string · Created AtFormat: date-time
created _at requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: string · Mid
mid required - Type: string · Name
name required - Type: string · Processor Config Id
processor _config _id required - Type: string · Terminal Id
terminal _id required - Type: string · Tid
tid required - Type: string | null · Agent Bank Number
agent _bank _number - Type: string | null · Bin
bin - Type: string | null · Country Code
country _code - Type: string | null · Currency Code
currency _code - Type: string | null · Deleted AtFormat: date-time
deleted _at the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: string | null · Description
description - Type: string | null · Merchant Category Code
merchant _category _code - Type: string | null · Merchant Name
merchant _name - Type: object | null · Metadata
metadata - Type: string | null · Serial Number
serial _number - Type: string · TerminalStatusenum
status valuesactive inactive blocked
- Type: string | null · Terminal Capability
terminal _capability - Type: array object[] · Transactions
transactions Model to represent a transaction
- Type: string · Account Id
account _id requiredAccount ID of the merchant that owns this transaction
- Type: string · Apple Transaction Id
apple _transaction _id requiredApple Pay transaction identifier
- Type: string · Card
card requiredMasked card number (e.g., '****1234')
- Type: string · Card Brand
card _brand requiredCard brand (e.g., 'VISA', 'MASTERCARD', 'AMEX')
- Type: string · Card Type
card _type requiredType of card used ('Credit' or 'Debit')
- Type: integer · Created At
created _at requiredTransaction creation timestamp in milliseconds since epoch
- Type: string · Currency
currency requiredISO 4217 currency code (e.g., 'USD', 'EUR')
- Type: string · Event Id
event _id requiredUnique identifier for this specific transaction event (for idempotency)
- Type: string · Mid
mid requiredMerchant ID assigned by Koard
- Type: string · Payment Method
payment _method requiredPayment method used (e.g., 'apple_pay', 'credit_card')
- Type: string · Processor Mid
processor _mid requiredMerchant ID assigned by the payment processor (e.g., PayRoc)
- Type: string · Processor Tid
processor _tid requiredTerminal ID assigned by the payment processor
- Type: string · Reader Identifier
reader _identifier requiredUnique identifier for the card reader device
- Type: integer · Subtotal
subtotal requiredSubtotal amount in cents (before tax, tip, and surcharge)
- Type: string · Tid
tid requiredTerminal ID assigned by Koard
- Type: integer · Total Amount
total _amount requiredTotal transaction amount in cents (subtotal + tax + tip + surcharge)
- Type: string · Transaction Id
transaction _id requiredUnique identifier for the transaction across all events
- Type: object | null · Additional Details
additional _details Additional transaction details as key-value pairs
- Type: string | null · Batch Id
batch _id - Type: string | null · Device Id
device _id Physical device identifier (e.g., iPad serial number)
- Type: string | null · Gateway
gateway Payment gateway used for processing
- Type: string | null · Gateway Transaction Id
gateway _transaction _id Transaction ID returned by the payment gateway
- Type: object | null · Gateway Transaction Response
gateway _transaction _response Raw response from the payment gateway
- Type: array object[] | null · History
history Historical events for this transaction
Empty object - Type: string | null · Location Id
location _id Location/store ID where transaction occurred
- Type: string | null · Merchant Name
merchant _name Name of the merchant for this transaction
- Type: string | null · Owner Id
owner _id - Type: array string[] | null · Parent Account Ids
parent _account _ids - Type: string | null · Processor
processor Payment processor name (e.g., 'payroc', 'stripe')
- Type: string | null · Processor Response Code
processor _response _code Response code from the payment processor
- Type: string | null · Processor Response Message
processor _response _message Response message from the payment processor
- Type: integer | null · Refunded
refunded Total amount refunded in cents
- Type: integer | null · Reversed
reversed Total amount reversed in cents
- Type: string | null · Status
status Current transaction status
- Type: string | null · Status Reason
status _reason Reason for the current transaction status
- Type: integer | null · Surcharge Amount
surcharge _amount Surcharge amount in cents
- Type: boolean · Surcharge Applied
surcharge _applied Whether a surcharge was applied to this transaction
- Type: number | null · Surcharge Rate
surcharge _rate Surcharge rate as a decimal (e.g., 0.035 = 3.5%)
- Type: integer | null · Tax Amount
tax _amount Tax amount in cents
- Type: number | null · Tax Rate
tax _rate Tax rate as a percentage (e.g., 8.5 = 8.5%)
- Type: integer | null · Tip Amount
tip _amount Tip amount in cents
- Type: string | null · Tip Type
tip _type Type of tip calculation method
- Type: string | null · Transaction Type
transaction _type Type of transaction operation
- Type: string | null · Updated AtFormat: date-time
updated _at the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: string | null · Vid
vid

