postTxnSessions
Create a TxnSession. A TxnSessions 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
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.
Request Body
application/json
The login under which to perform this action. If you do not supply a login in this field, then the API defaults to the login that is currently authenticated.
The Merchant being used to create this txn session.
Configurable data to be used to enhance security.
Response Body
application/json
application/json
curl -X POST "https://example.com/txnSessions" \ -H "Content-Type: application/json" \ -d '{ "login": "t1_log_65a6bb6506be50d9406eb00", "merchant": "t1_mer_66312e43815957c6767000z", "configurations": { "duration": 8, "maxTimesApproved": 2, "maxTimesUse": 4 } }'{ "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": [] }}getTxnSessions GET
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.
getVasEfeOffersId GET
Query a vasEfeOffers.
