Terminal Transactions

updateTerminalTxnsById

PUT
/terminalTxns/{id}

Update a TerminalTxn holds all of the information to a related final transaction and is used to be reconciled with that actual, final transaction.

Authorization

APIKEY<token>

In: header

Path Parameters

id*string

The ID of this resource and The Terminal Transaction ID.

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Request Body

application/json

Update Terminal Transaction Request

Update Terminal Transaction Request

binType?terminalTxnsBinType

The type of bank issuer number (BIN) that allows for resulting transactions.

  • CREDIT - Credit BIN Type.
  • DEBIT - Debit BIN Type.
  • PREPAID - Prepaid BIN Type.

Value in

  • "CREDIT"
  • "DEBIT"
  • "PREPAID"
expiration?string

The expiration date of this Transaction. This field is stored as a text string in 'MMYY' format, where 'MM' is the number of a month and 'YY' is the last two digits of a year. For example, '0623' for June 2023. The value must reflect a future date.

payment?

The payment method associated with this Transaction, including the card details.

traceNumber?integer

Sequencial number that uniquely identifies the terminalTxn.

txn?string

The related txn this terminalTxn belongs to.

token?string

The ID of the token record to associate with this terminal transaction request.

paymentNumber?integer

The last four numbers of the credit card associated with this Transaction.

paymentMethod?terminalTxnPaymentMethod

The payment method for this Transaction.

Value in

  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 7
  • 8
  • 9
  • 10
  • 11
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
tip?integer

This field indicates the tip amount associated with a transaction. This value is for reporting purposes only, because transaction amount includes this amount in the total.

originatingApp?string

Field identifying Payrix PAX terminal originating app.

OEMTTxnRefNumber?string

Field identifying original Payrix Verifone transaction reference number, used for refunds and cancellation request.

posApplicationId?string

Express assigned identifier i.e. Software Id being used in express terminal.

unattended?terminalTxnsUnattended

Whether the card was swiped at an unattended terminal during this Transaction. This field is set to '0' by default.

  • 0 - Attended terminal.
  • 1 - Unattended terminal.

Value in

  • 0
  • 1
posApplicationName?string

Software Name being used in express terminal.

posApplicationVersion?string

Software version being used in express terminal.

customerReferenceNumber?string

Express Reference Number.

gatewayTransactionId?string

The gateway transaction ID relates to Express Transaction ID.

customerTicketNumber?string

Express ticket Number.

clientIp?string

The client IP address from which the transaction was created, valid values are any IPv4 or IPv6 address.

description?string

A description of this Transaction. This field is stored as a text string and must be between 0 and 1000 characters long.

swiped?terminalTxnsSwiped

Whether the card was swiped during this Transaction. This field is set to '1' automatically if 'track' data was received.

  • 0 - Not Swiped.
  • 1 - Swiped.

Value in

  • 0
  • 1
emv?terminalTxnsEmv

Whether the card was dipped (using the EMV chip) during this Transaction.

  • 0 - Not dipped.
  • 1 - Dipped.

Value in

  • 0
  • 1
entryMode?entryMode

How payment information has been entered, including manually keyed entries, card swipes with track 1 or 2 data received, card dips with EMV chip data received, contactless card reads with track or EMV data received, and ApplePay read with cryptogram data received.

  • 1 - Manually keyed entry.
  • 2 - Card swiped. Track 1 received.
  • 3 - Card swiped. Track 2 received.
  • 4 - Card swiped. Track 1 & 2 received.
  • 5 - Card dipped. EMV chip received.
  • 6 - Contactless card read. Track or EMV data received.
  • 7 - Track Data from Card Swipe after EMV chip failure.
  • 8 - Track Data from Manually keyed entry after EMV chip failure.
  • 9 - ApplePay
  • 10 - Google Pay.
  • 11 - Merchant created transaction.
  • 12 - Invoice payment.
  • 13 - Merchant created transaction in payrix portal.
  • 14 - Invoice payment from payrix portal.

Value in

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
first?string

The first name associated with this Transaction. For eCheck transactions, either first or last is required.

last?string

The last name associated with this Transaction. For eCheck transactions, either first or last is required.

middle?string

The middle name associated with this Transaction.

order?string

The identifier of the Order associated with this Transaction, This field is stored as a text string and must be between 0 and 1000 characters long.

reserved?terminalTxnReserved

Indicates whether the Transaction is reserved and the action that will be taken as a result.

  • 0 - No reserve.
signature?terminalTxnsSignature

Whether a signature should be captured during this Transaction.

  • You can set this field if you want the terminal to take a signature for the Transaction.
  • The API also sets this field automatically if you associate a signature to the Transaction by creating a 'terminalTxnDatas' resource.
  • 0 - Not captured.
  • 1 - Captured.

Value in

  • 0
  • 1
total?integer

The total amount of this Transaction, This field is specified as an integer in cents.

status?terminalTxnStatus

The status of the Transaction.

  • 0 - Pending.
  • 1 - Approved. Payments can be voided or cancelled.
  • 2 - Failed.
  • 3 - Captured. Payments can be refunded.
  • 4 - Settled. Payments can be refunded.
  • 5 - Returned. Payments have been successfully refunded.

Value in

  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
cardNetworkTransactionId?string

Card network transaction ID associated with this transaction.

omnitoken?string

The OmniToken associated with this Transaction.

convenienceFee?integer

The amount of the total sum of this Transaction that is made up of convenience fee. Fee charged when card payment is an alternative form of payment not ordinarily accepted by a merchant or service provider. This field is specified as an integer in cents. [currently not active]

surcharge?integer

Surcharge amount included in the total amount of the transaction. A surcharge fee is an additional charge added to the price of a purchase when a customer pays with a credit card. This field is specified as an integer in cents.

softPosDeviceTypeIndicator?string

The device type indicator for the terminal.

  • 1 - Apple (Worldpay as PSP)
  • 2 - Android (Worldpay as PSP)
  • 3 - Apple (Worldpay not PSP)
  • 4 - Android (Worldpay not PSP)
softPosId?string

The software POS ID.

hsaFsaCardIndicator?terminalTxnsHsaFsaCardIndicator

Indicates if the card is a Flexible Spending Account (FSA) or Health Savings Account (HSA) card.

  • 0 - Not an HSA/FSA card.
  • 1 - HSA/FSA card.

Value in

  • 0
  • 1
gatewayTerminalId?string

The gateway terminal ID.

descriptor?string

The billing Descriptor that is used when the transaction is part of a subscription.

cardNetworkBankNetReferenceNumber?string

The reference number associated with the card network.

cardNetworkBankNetSettlementDate?string

The settlement date associated with the card network.

inactive?inactive

Whether this resource is marked as inactive.

  • 0 - Active
  • 1 - Inactive

Value in

  • 0
  • 1
frozen?frozen

Whether this resource is marked as frozen.

  • 0 - Not Frozen
  • 1 - Frozen

Value in

  • 0
  • 1

Response Body

application/json

application/json

curl -X PUT "https://example.com/terminalTxns/t1_ttx_67c76e07ebc6fbbbd476ee0" \  -H "Content-Type: application/json" \  -d '{    "binType": "DEBIT",    "expiration": "1123",    "payment": {      "method": 1,      "number": "2222",      "routing": "1",      "expiration": "0623",      "cvv": 123,      "track": "Track 1"    },    "traceNumber": 853202,    "txn": "related txn",    "token": "124f2d0efab0bcda46f2118d688bbf97",    "paymentNumber": 7,    "paymentMethod": 2,    "tip": 0,    "originatingApp": "originatingApp",    "OEMTTxnRefNumber": "TxnRefNumber",    "posApplicationId": "15668",    "unattended": 0,    "posApplicationName": "XML Test Example",    "posApplicationVersion": "1.00",    "customerReferenceNumber": "123456",    "gatewayTransactionId": "486689252",    "customerTicketNumber": "123456",    "clientIp": "Client IP address",    "description": "Transaction1",    "swiped": 1,    "emv": 1,    "entryMode": 1,    "first": "John",    "last": "Doe",    "middle": "M",    "order": "orderId",    "reserved": 0,    "signature": 1,    "total": 8000,    "status": 3,    "cardNetworkTransactionId": "250630144026744",    "omnitoken": "4445223322990007",    "convenienceFee": 0,    "surcharge": 0,    "softPosDeviceTypeIndicator": "device type indicator",    "softPosId": "software POS ID",    "hsaFsaCardIndicator": 0,    "gatewayTerminalId": "12",    "descriptor": "billing Descriptor",    "cardNetworkBankNetReferenceNumber": "cardNetworkBankNetReferenceNumber",    "cardNetworkBankNetSettlementDate": "1123",    "inactive": 0,    "frozen": 0  }'
{  "response": {    "data": [      {        "id": "t1_ttx_67c76e07ebc6fbbbd476ee0",        "created": "2025-03-04 14:40:26.0000",        "modified": "2025-03-04 16:17:59.9960",        "creator": "t1_log_62fd0aa37c3d8ec3a9dcea0",        "modifier": "t1_log_62fd0aa37c3d8ec3a9dcea0",        "ipCreated": "3.90.49.108",        "ipModified": "3.90.49.108",        "merchant": "t1_mer_64415e89a919c1566a2b49b",        "mid": "4445061378323",        "txn": "",        "type": 4,        "expiration": "0623",        "currency": "CAD",        "fundingCurrency": "CAD",        "fee": 0,        "platform": "VCORE",        "authDate": 20160120,        "authCode": "",        "order": "",        "description": "",        "traceNumber": 853202,        "discount": 0,        "shipping": 0,        "duty": 0,        "terminal": "",        "terminalCapability": 1,        "entryMode": 1,        "origin": 1,        "tax": 0,        "total": 8000,        "cashback": 0,        "authorization": "422301",        "approved": 8000,        "cvv": 0,        "cvvStatus": "notPresent",        "swiped": 0,        "emv": 0,        "signature": 0,        "pin": 0,        "unattended": 0,        "pos": 0,        "receipt": "noReceipt",        "clientIp": "",        "first": "",        "middle": "",        "last": "",        "company": "",        "email": "",        "address1": "",        "address2": "",        "city": "",        "state": "AB",        "zip": "",        "country": "CAN",        "phone": "",        "status": 1,        "reserved": 0,        "checkStage": "",        "inactive": 0,        "frozen": 0,        "tid": "",        "forterminalTxn": "",        "token": "124f2d0efab0bcda46f2118d688bbf97",        "binType": "CREDIT",        "tip": 0,        "paymentNumber": 7,        "paymentMethod": 2,        "originatingApp": "",        "OEMTTxnRefNumber": "",        "posApplicationId": "15668",        "posApplicationName": "XML Test Example",        "posApplicationVersion": "1.00",        "customerReferenceNumber": "123456",        "gatewayTransactionId": "486689252",        "customerTicketNumber": "123456",        "cardNetworkTransactionId": "250630144026744",        "omnitoken": "4445223322990007",        "convenienceFee": 0,        "surcharge": 0,        "softPosDeviceTypeIndicator": "",        "terminalClassificationCode": "",        "softPosId": "",        "hsaFsaCardIndicator": 0,        "gatewayTerminalId": "11",        "descriptor": "",        "cardNetworkBankNetReferenceNumber": "",        "cardNetworkBankNetSettlementDate": "1123"      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}