Transaction Items

getItemsId

GET
/items/{id}

Query an Item. An Item is a line item that is associated with a particular Transaction. It allows you to describe the cost, quantity and other details of each line in the Transaction.

Authorization

APIKEY<token>

In: header

Path Parameters

id*string

The ID of this resource.

Query Parameters

embed?string

Use the embed query parameter to include full object(s) of related resource(s) directly within the API response. This allows retrieval of associated resources in a single request, reducing the need for multiple round-trips. Format: GET https://{server}.payrix.com/{endpoint}?embed={relatedObject}

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.

Response Body

application/json

application/json

curl -X GET "https://example.com/items/t1_itm_67b48390abd89e15be2d000"
{  "response": {    "data": [      {        "id": "t1_itm_67b48390abd89e15be2d000",        "created": "2025-02-18 07:56:48.7124",        "modified": "2025-02-18 07:56:48.7124",        "creator": "t1_log_5f49777509d5d1d7c22e000",        "modifier": "t1_log_5f49777509d5d1d7c22e000",        "txn": "t1_txn_67b483904b280af5311234a",        "item": "Line Item 21",        "description": "A description of this Item",        "custom": "Identifier",        "quantity": 1,        "price": 471,        "inactive": 0,        "frozen": 0,        "um": "EACH",        "commodityCode": "9717123",        "total": 471,        "discount": 0,        "productCode": "Prorated Tenant Protection Fee"      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}