Terminal Transaction Reference

postTerminalTxnRefs

POST
/terminalTxnRefs

Create a terminalTxnRefs resource, which represents a reference code issued by the Processor in relation to a particular Transaction.

Authorization

APIKEY<token>

In: header

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

Create Terminal Transaction Reference Request

Create Terminal Transaction Reference Request

terminalTxn*string

The parent terminalTxn that owns this terminalTxnRef and to which this reference applies A single terminalTxn may have many terminalTxnRef records.

ref*string

The reference value retrieved from the third party.

stage*terminalTxnRefStage

An indicator showing what this terminalTxnRef refers to.

  • activation - Terminal Activation
  • auth - Transaction Authorization
  • draft - Transaction Draft Number
  • file - Import File Ref
  • retrieval - Transaction Retrieval Number
  • acquirerTxnId - A unique identifier created by the acquirer to track and reconcile a specific transaction throughout its lifecycle.
  • origTxnId - The identifier of the original transaction, used to link related actions such as refunds, reversals, or adjustments back to the initial payment.

Value in

  • "activation"
  • "auth"
  • "draft"
  • "file"
  • "retrieval"
  • "acquirerTxnId"
  • "origTxnId"
platform*platformModel

The platform used to process this resource.

  • APPLE - The Apple Payment Processor.
  • ELAVON - The Elavon processor.
  • FIRSTDATA - The FirstData processor.
  • GOOGLE - The Google Payment Processor.
  • VANTIV - The WorldPay (aka Vantiv or Litle) eComm (aka VAP) processor.
  • VCORE - The WorldPay (aka Vantiv) Core processor.
  • TDBANKCA - External funding with TD Bank Canada via the Operating Account.
  • WELLSACH - The Wells Fargo ACH processor.
  • WELLSFARGO - The Wells Fargo Merchant Services processor.
  • WFSINGLE - The WFSINGLE processor.
  • WORLDPAY - The WORLDPAY processor.

Value in

  • "APPLE"
  • "ELAVON"
  • "FIRSTDATA"
  • "GOOGLE"
  • "VANTIV"
  • "VCORE"
  • "TDBANKCA"
  • "WELLSACH"
  • "WELLSFARGO"
  • "WFSINGLE"
  • "WORLDPAY"

Response Body

application/json

application/json

curl -X POST "https://example.com/terminalTxnRefs" \  -H "Content-Type: application/json" \  -d '{    "terminalTxn": "t1_ttx_6806cde42b47ee61cdf6ab9",    "ref": "MCC000012",    "stage": "auth",    "platform": "VCORE"  }'
{  "response": {    "data": [      {        "id": "t1_ttr_6806cde43831bc88d5f4e00",        "created": "2025-04-21 18:59:48.2388",        "modified": "2025-04-21 18:59:48.2388",        "creator": "t1_log_62fd0aa37c3d8ec3a9dcea8",        "modifier": "t1_log_62fd0aa37c3d8ec3a9dcea8",        "terminalTxn": "t1_ttx_6806cde42b47ee61cdf6ab9",        "ref": "MCC000012",        "stage": "auth",        "platform": "VCORE"      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}