getTxnSessionsId
Query a TxnSession. A TxnSession represents a temporary method of authentication to the API. Each TxnSession expires automatically after 10 minutes of inactivity or by the customizable configurations field. They are similar to API Keys (/apikeys) in their capabilities and field structure - but unlike API Keys, TxnSessions are not permanent.
In: header
Path Parameters
The ID of this resource.
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/txnSessions/t1_tss_67bc56867a5c6b8f7756d1z"{ "response": { "data": [ { "id": "t1_tss_67bc56867a5c6b8f7756d1z", "created": "2025-02-24 06:22:46.5145", "modified": "2025-02-24 07:18:10.9777", "creator": "t1_log_65a6bb6506be50d9406eb00", "modifier": "t1_log_66cddf6fab39005772ca00z", "login": "t1_log_65a6bb6506be50d9406eb00", "merchant": "t1_mer_66312e43815957c6767000z", "status": "expired", "configurations": { "duration": 8, "maxTimesApproved": 2, "maxTimesUse": 4 }, "origin": "Apache-HttpClient/4.5.14 (Java/11.0.19)", "durationAvailable": 0, "timesUsed": 0, "timesApproved": 0, "key": "2a5694fb2455e82322e92b4e16c79a00" } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}postTxns POST
Create a Transaction. Transactions hold all of the information relating to a particular credit card transaction, including the merchant, token, subscription, customer and card information.
deleteTxnSessionsId DELETE
Delete a TxnSession. A TxnSession represents a temporary method of authentication to the API. Each TxnSession expires automatically after 10 minutes of inactivity or by the customizable configurations field. They are similar to API Keys (/apikeys) in their capabilities and field structure - but unlike API Keys, TxnSessions are not permanent.
