getTxnResultsId
Query a txnResults resource. A txnResults resource represents the result of a Transaction from a processor. For example, the Transaction may be approved, declined, or raise an error.
In: header
Path Parameters
The ID of this resource and The TXN result ID.
Query Parameters
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
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.
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/txnResults/t1_trs_67b867ff0b004311c46fb0z"{ "response": { "data": [ { "id": "t1_trs_67b867ff0b004311c46fb0z", "created": "2025-02-21 06:48:15.0557", "modified": "2025-02-21 06:48:15.0557", "creator": "t1_log_5d13d9c20a39da6f5030426", "modifier": "t1_log_5d13d9c20a39da6f5030426", "txn": "t1_txn_00b867fdf2ec4fd7bf7c59e", "type": 4, "message": "CVV match confirmed", "code": 3, "bankCode": "match", "originalCode": "M" } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}postItems POST
Create 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.
getTxnResults GET
Query a txnResults resource. A txnResults resource represents the result of a Transaction from a processor. For example, the Transaction may be approved, declined, or raise an error.
