getTxnsId
Query a Transaction. Transactions hold all of the information relating to a particular credit card transaction, including the merchant, token, subscription, customer and card information.
In: header
Path Parameters
The ID of this transaction.
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/txns/p1_txn_5a1ef5e55658af7cf012866"{ "response": { "data": [ { "id": "p1_txn_5a1ef5e55658af7cf010000", "created": "2025-02-20 09:01:14.8325", "modified": "2025-02-20 09:01:14.8325", "creator": "p1_log_5a1ef5e55653ed720159d00", "modifier": "p1_log_5a1ef5e55653ed720159d00", "ipCreated": "8.8.8.8", "ipModified": "8.8.8.8", "merchant": "p1_mer_5a1ef5e55656a739a85da00", "token": "e41272ec5464d9ec81cc85c854837400", "payment": "g157b215cd94000", "fortxn": "t1_txn_67b5f9801e463c908f453oo", "fromtxn": "Reauthorize Transaction", "batch": "p1_bth_5a1ef5e55655f49b141d313", "subscription": "Identifier of Subscription", "statement": "Statement ID", "type": 1, "expiration": "1123", "serviceCode": "Code", "funded": 1123, "returned": "Transaction Returned", "currency": "USD", "fundingCurrency": "USD", "currencyConversion": "customerAccepted", "convenienceFee": 0, "fee": 342, "platform": "VANTIV", "authDate": 20160120, "authCode": "95834A", "captured": "2025-02-19 13:28:42", "settled": "2025-02-19 13:28:42", "settledCurrency": "USD", "settledTotal": 0, "allowPartial": 0, "order": "00b5f97feb5bc9bcbd9a92fz", "description": "$10.00 to Bergstrom and Sons", "descriptor": "illinois", "traceNumber": 0, "discount": 0, "shipping": 0, "duty": 0, "terminal": "Terminal Identifier", "terminalCapability": 1, "entryMode": 1, "origin": 2, "mobile": 0, "tax": 195, "surcharge": 0, "total": 20365, "cashback": 0, "authorization": "52703", "originalApproved": 0, "approved": 20365, "authentication": "Authentication token", "authenticationId": "Optional transaction ID", "cvv": 0, "cvvStatus": "notPresent", "swiped": 0, "emv": 0, "signature": 0, "pin": 1, "pinEntryCapability": "unknown", "unattended": 0, "cofType": "single", "copyReason": "resubmission", "clientIp": "1.1.1.1", "first": "Robert", "middle": "John", "last": "Johnson", "company": "Company Name", "email": "robert.johnson@example.com", "address1": "123 Example St.", "address2": "Suite 403", "city": "New York", "state": "NY", "zip": "10001", "country": "USA", "phone": "1111111111", "mid": "01170981", "status": 0, "refunded": 0, "misused": 0, "checkStage": "activation", "unauthReason": "incomplete", "authTokenCustomer": "Customer Identifier", "channel": "", "imported": 1, "requestSequence": 1, "processedSequence": 1, "debtRepayment": 0, "fundingEnabled": 0, "fbo": "WORLDPAY_FBO1", "txnsession": "t1_tss_67b000bfd6fa9af5775a3dc", "reserved": 0, "inactive": 1, "frozen": 0, "tip": 0, "softPosId": "POS ID", "softPosDeviceTypeIndicator": "Indicator", "networkTokenIndicator": 0, "pinlessDebitConversion": 0, "submittedMethod": 3, "processedMethod": 25 } ], "details": { "requestId": 1, "totals": [], "page": { "current": 1, "last": 1, "hasMore": false } }, "errors": [] }}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.
putTxnsId PUT
Update a Transaction. Transactions hold all of the information relating to a particular credit card transaction, including the merchant, token, subscription, customer and card information.
