Skip to content
payrocdevelopers

List terminal orders

Browse API reference

GET/processing-accounts/{processingAccountId}/terminal-orderslistProcessingAccountsTerminalOrders

Use this method to return a paginated list of terminal orders associated with a processing account.

Note: If you want to view the details of a specific terminal order and you have its terminalOrderId, use our Retrieve Terminal Order method.

Use the query parameters to filter the list of results that we return, for example, to search for terminal orders by their status.

To list the terminal orders for a processing account, you need its processingAccountId. If you don't have the processingAccountId, use our List Merchant Platforms method to search for a merchant platform and its processing accounts.

Our gateway returns the following information for each terminal order in the list:

  • Status of the order
  • Items in the order
  • Training provider
  • Shipping information

For each terminal order, we also return its terminalOrderId, which you can use to perform follow-on actions.

Parameters

NameInTypeDescription
processingAccountIdRequiredpathstring

Unique identifier that we assigned to the processing account.

statusquerystring—
fromDateTimequerystring—
toDateTimequerystring—

Responses

Successful request. Returns a list of terminal orders associated with the processing account.

200 OK · application/json
[
  {
    "createdDate": "2024-07-02T12:00:00.000+00:00",
    "lastModifiedDate": "2024-07-02T12:00:00.000+00:00",
    "orderItems": [
      {
        "deviceCondition": "new",
        "links": [
          {
            "link": {
              "href": "https://api.payroc.com/v1/processing-terminals/1234001",
              "method": "get",
              "rel": "processingTerminal"
            },
            "processingTerminalId": "1234001"
          }
        ],
        "paymentIntent": {
          "link": {
            "href": "https://api.payroc.com/v1/payment-intents/1542",
            "method": "get",
            "rel": "paymentIntent"
          },
          "paymentIntentId": "1542",
          "paymentIntentType": "purchase"
        },
        "solutionQuantity": 1,
        "solutionSetup": {
          "applicationSettings": {
            "clerkPrompt": false,
            "security": {
              "keyedSalePassword": false,
              "refundPassword": true,
              "reversalPassword": true
            }
          },
          "batchClosure": {
            "batchCloseTime": "23:40",
            "batchCloseType": "automatic"
          },
          "deviceSettings": {
            "communicationType": "wifi",
            "numberOfMobileUsers": 2
          },
          "gatewaySettings": {
            "merchantPortfolioId": "Company Ltd",
            "merchantTemplateId": "Company Ltd Merchant Template",
            "terminalTemplateId": "Company Ltd Terminal Template",
            "userTemplateId": "Company Ltd User Template"
          },
          "industryTemplateId": "Retail",
          "receiptNotifications": {
            "emailReceipt": true,
            "smsReceipt": false
          },
          "taxes": [
            {
              "taxLabel": "Sales Tax",
              "taxRate": 6
            }
          ],
          "timezone": "America/Chicago",
          "tips": {
            "enabled": false
          },
          "tokenization": true
        },
        "solutionTemplateId": "Roc Services_DX8000",
        "type": "solution"
      }
    ],
    "shipping": {
      "address": {
        "addressLine1": "1 Example Ave.",
        "addressLine2": "Example Address Line 2",
        "businessName": "Company Ltd",
        "city": "Chicago",
        "email": "example@mail.com",
        "phone": "2025550164",
        "postalCode": "60056",
        "recipientName": "Sarah Hopper",
        "state": "Illinois"
      },
      "preferences": {
        "method": "nextDay",
        "saturdayDelivery": true
      }
    },
    "status": "open",
    "terminalOrderId": "12345",
    "trainingProvider": "payroc"
  }
]
Response schema · 44 of 70 fields
  • createdDatestringdate-timerequired
    Date that we received the terminal order. We return this value in the ISO-8601 format.
  • lastModifiedDatestringdate-timerequired
    Date that the terminal order was last changed. We return this value in the ISO-8601 format.
  • orderItemsobject[]required
    Array of orderItem objects. Provide a minimum of 1 order item and a maximum of 20 order items.1–20 items
    • deviceConditionstring
      Indicates if the order contains a new item or a refurbished item.≤ 11 charsnewrefurbished
    • solutionQuantityinteger
      Quantity of the solution.≤ 50
    • solutionSetupobject
      Object that contains the settings for the solution, including gateway settings, device settings, and application settings.
      • applicationSettingsobject
        Object that contains the application settings for the solution.+5 more fields at deeper levels — see the full spec
      • batchClosureobject
        Object that contains information about when and how the terminal closes the batch.+5 more fields at deeper levels — see the full spec
      • deviceSettingsobject
        Object that contains the device settings if the solution includes a terminal or a peripheral device such as a printer.+2 more fields at deeper levels — see the full spec
      • gatewaySettingsobject
        Object that contains the gateway settings for the solution.+4 more fields at deeper levels — see the full spec
      • industryTemplateIdstring
        Unique identifier of the industry template you want to apply to the solution. Send one of the following values: Retail Restaurant Moto Ecommerce≤ 100 chars
      • receiptNotificationsobject
        Object that indicates if the terminal can send email receipts, text receipts, or both.+2 more fields at deeper levels — see the full spec
      • taxesobject[]
        Array of tax objects that contains the taxes that apply to the merchant's transactions.0–3 items+2 more fields at deeper levels — see the full spec
      • timezonestring
        Time zone of the terminal. Note: If you don't send a value for this parameter, we use the time zone of the processing account.≤ 28 charsPacific/MidwayPacific/HonoluluAmerica/AnchorageAmerica/Los_AngelesAmerica/DenverAmerica/PhoenixAmerica/ChicagoAmerica/Indiana/Indianapolis+1 more
      • tipsobject
        Object that contains the tip options for transactions ran on the terminal.+1 more fields at deeper levels — see the full spec
      • tokenizationboolean
        Indicates if the terminal can tokenize customer's payment details. For more information about tokenization, go to Tokenization.
    • solutionTemplateIdstringrequired
      Unique identifier of the solution. Send one of the following values: Roc Services_DX8000 Roc Services_DX4000 Roc Services_Web Roc Services_Mobile Payroc DX8000 Payroc DX4000 Payroc RX7000_Cloud Payroc DX8000_Cloud Payroc DX4000_Cloud Payroc A920Pro Payroc A80 Payroc A920Pro_Cloud Payroc A80_Cloud Roc Terminal Plus_N950 Roc Terminal Plus_N950-S Roc Terminal Plus_X800 Gateway_Payroc VAR_Only_TSYS ROC Services Chipper3X BBPOS Chipper 3X Augusta EMV Ingenico - AXIUM Full Functional Base Pax A920 Charging Base Pax A920 Comms Base A920 Pro Ethernet Axium Bundle≤ 100 chars
    • typestringrequired
      Type of item.≤ 8 charssolution
    • linksobject[]
      Array of objects that contain information about each processing terminal that the terminal order is linked to.
      • option 1object
        Object that contains information about the processing terminal.+5 more fields at deeper levels — see the full spec
  • paymentIntentobject
    Object that contains information about who pays for the terminal order and how they are paying for it.
    • linkobjectrequired
      Array of useful links related to your request.
      • hrefstringrequired
        The URL.
      • methodstringrequired
        The REST method.
      • relstringrequired
        The link type.
    • paymentIntentIdstringrequired
      Unique identifier that we assigned to the payment intent.
    • paymentIntentTypestringrequired
      Type of payment intent.purchasefreeloan
  • shippingobject
    Object that contains the shipping details for the terminal order. If you don't provide a shipping address, we use the Doing Business As (DBA) address of the processing account.
    • addressobject
      Object that contains the shipping address for the terminal order.
      • addressLine1stringrequired
        First line of the shipment address.≤ 100 chars
      • addressLine2string
        Second line of the shipment address.≤ 100 chars
      • businessNamestring
        Name of the business receiving the shipment.≤ 100 chars
      • citystringrequired
        City of the shipment address.≤ 50 chars
      • emailstringemailrequired
        Contact email address for the shipment.≤ 100 chars
      • phonestring
        Contact number for the shipment.≤ 15 chars
      • postalCodestringrequired
        Postal code of the shipment address.≤ 9 chars
      • recipientNamestringrequired
        Name of the person receiving the shipment.≤ 100 chars
      • statestringrequired
        State of the shipment address.≤ 30 chars
    • preferencesobject
      Object that contains the shipping preferences for the terminal order.
      • methodstring
        Shipping method for the terminal order. Send one of the following values: nextDay We schedule the order to be delivered the next day. ground We ship the order with ground shipping.nextDayground
      • saturdayDeliveryboolean
        Indicates if we can schedule the terminal order to be delivered on a Saturday.
  • statusstringrequired
    Status of the terminal order. Note: You can subscribe to our terminalOrder.status.changed event to get notifications when we update the status of a terminal order. For more information about how to subscribe to events, go to Event Subscriptions.openhelddispatchedfulfilledcancelled
  • terminalOrderIdstringrequired
    Unique identifier that we assigned to the terminal order.
  • trainingProviderstring
    Indicates who provides training to the merchant for the solution.≤ 7 charspartnerpayroc

Used in workflows

Search documentation

API reference169
Guides118
Knowledge38
legal1
Solutions32
Workflows74
↑↓highlight↵openView all search results

Menu

Theme

Sign out

Your saved plans remain in your organization. This browser’s private draft and account view will be cleared.

Talk to an engineer