TerminalConfigWithProcessorDetails
- 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 - processorType: object · ProcessorDetailnullable
_details - descriptionType: string · Descriptionrequired
- gatewayType: string · Gatewayrequired
- idType: string · Idrequired
- nameType: string · Namerequired
- processorType: string · Processorrequired
- pspType: string · Psprequired
- serialType: string | null · Serial Number
_number - statusType: string · TerminalStatusenumvalues
- active
- inactive
- blocked
- surchargeType: string | null · Surcharge Basisenum
_basis What the surcharge is calculated on. Resolved most-specific-first: terminal, then location, then account. A null at the terminal or location level inherits from the level above; a null at the account level leaves it unset.
values- total
- subtotal
- subtotal
_plus _tax - subtotal
_plus _tip - null
- surchargeType: boolean | null · Surcharge Confirmation Required
_confirmation _required Whether the cardholder must confirm the surcharge before the sale proceeds. When true, sale/preauth returns a surcharge-pending state that must be confirmed before the transaction completes. Resolved most-specific-first: terminal, then location, then account. A null at the terminal or location level inherits from the level above; a null at the account level defaults to no confirmation.
- surchargeType: number | null · Surcharge Rate
_rate Surcharge percentage (e.g., 3.5 for 3.5%). Resolved most-specific-first: terminal, then location, then account. A null at the terminal or location level inherits the value from the level above; a null at the account (root) level disables automatic surcharge logic (no surcharge is applied). 0 means surcharges are never applied unless explicitly overridden.
- taxType: string | null · Tax Basisenum
_basis What the tax is calculated on. Resolved most-specific-first: terminal, then location, then account. A null at the terminal or location level inherits from the level above; a null at the account level leaves it unset.
values- total
- subtotal
- null
- taxType: number | null · Tax Rate
_rate Tax percentage (e.g., 8.25 for 8.25%). Resolved most-specific-first: terminal, then location, then account. A null at the terminal or location level inherits from the level above; a null at the account level disables tax defaults.
- 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 Netevia
- 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 Netevia
- 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)
- deviceType: string | null · Device Type
_type Device family that captured the transaction.
- 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
- pspType: string | null · Psp
Payment service provider that owns the processing relationship.
- 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 Reasonenum
_reason Reason for the current transaction status
values- approved
- declined
- surcharge
_expired - surcharge
_pending - surcharge
_declined _by _payer
- surchargeType: integer | null · Surcharge Amount
_amount Surcharge amount in cents
- surchargeType: boolean · Surcharge Applied
_applied Whether a surcharge was applied to this transaction
- surchargeType: string | null · Surcharge Basisenum
_basis What the surcharge is calculated on. Resolved most-specific-first: terminal, then location, then account. A null at the terminal or location level inherits from the level above; a null at the account level leaves it unset.
values- total
- subtotal
- subtotal
_plus _tax - subtotal
_plus _tip - null
- surchargeType: boolean | null · Surcharge Confirmation Required
_confirmation _required Whether the cardholder must confirm the surcharge before the sale proceeds. When true, sale/preauth returns a surcharge-pending state that must be confirmed before the transaction completes. Resolved most-specific-first: terminal, then location, then account. A null at the terminal or location level inherits from the level above; a null at the account level defaults to no confirmation.
- surchargeType: number | null · Surcharge Rate
_rate Surcharge rate as a decimal (e.g., 0.035 = 3.5%)
- surchargeType: string | null · Surcharge Sourceenum
_source Which level of the cascade supplied the resolved surcharge rate and basis: the caller's own breakdown, or the location, terminal, or account default.
values- transaction
- location
- terminal
- account
- null
- taxType: integer | null · Tax Amount
_amount Tax amount in cents
- taxType: string | null · Tax Basisenum
_basis What the tax is calculated on. Resolved most-specific-first: terminal, then location, then account. A null at the terminal or location level inherits from the level above; a null at the account level leaves it unset.
values- total
- subtotal
- null
- taxType: number | null · Tax Rate
_rate Tax rate as a percentage (e.g., 8.5 = 8.5%)
- taxType: string | null · Tax Sourceenum
_source Which level of the cascade supplied the resolved tax rate and basis: the caller's own breakdown, or the location, terminal, or account default.
values- transaction
- location
- terminal
- account
- null
- terminalType: object | null · Terminal Details
_details Snapshot of the terminal configuration in force when the transaction was taken.
- tipType: integer | null · Tip Amount
_amount Tip amount in cents
- tipType: string | null · Tip Capture Modeenum
_capture _mode When the tip was attached:
tip_at_saleif recorded on the original sale,tip_adjustif added later by a tip adjustment. Tips added viatip_adjustare never included in the surcharge calculation.values- tip
_at _sale - tip
_adjust - null
- tipType: string | null · Tip Typeenum
_type Type of tip calculation method
values- fixed
- percentage
- null
- 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
- vidType: string | null · Vid