Transaction Details
REST Sandbox URL: https://sandbox.4levers.com/NewReportsApi/api/Reports/transaction-details
REST Production URL: https://reports-api.4levers.com/api/Reports/transaction-details
Transaction Details Report provides detailed information about a specific transaction in the last 3 hours.
Request Example (REST Production URL)
GET: https://reports-api.4levers.com/api/Reports/transaction-details?TransactionId=1999001194794838347
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| TransactionId | integer (int64) | conditional | Required, if ProcessorTransactionId or MerchantTransactionId is not defined. Transaction identifier. |
| MerchantTransactionId | string | conditional | Required, if TransactionId or MerchantTransactionId is not defined. Transaction identifier per merchant. |
| ProcessorTransactionId | string | conditional | Required, if TransactionId or MerchantTransactionId is not defined. Transaction identifier per processor |
| AccountId | integer | conditional | Required, if SubAccountId is defined. Platform Account Id. |
| SubAccountId | integer | Sub-Account Id. |
Response Parameters
| Name | Description |
|---|---|
| transactionId | Transaction identifier (e.g. Authorization transaction identifier) |
| merchantTransactionId | Transaction identifier by merchant |
| processorTransactionId | Transaction identifier by processor |
| systemDate | Transaction processing date and time |
| merchantDate | Transaction processing date and time by merchant |
| paymentMethod | Payment method: ACH, credit card or gift card type. |
| CCOrAccountOwnerId | Credit card or bank account OwnerId |
| CCorAccountNumber | Credit card number or bank account number in case of an ACH |
| CCExpirationDate | Credit card expiration date |
| token | Payment method token |
| CCorAccountOwnerName | Name on credit card number or bank account in case of an ACH |
| amount | Transaction amount |
| currency | Transaction currency |
| transactionType | Type of the transaction |
| paymentType | Type of the payment |
| status | Transaction status |
| processor | Name of the processor |
| dynamicDescriptor | Dynamic Descriptor value |
| authorizationOrErrorCode | Code of the authorization |
| errorDescription | Description of an error |
| CHBOrRetrievalReasonCode | Chargeback reason code |
| CHBOrRetrievalReasonDescription | Chargeback reason Description |
| terminalId | Clearing terminal identifier |
| merchantId | Merchant Id |
| servicePurchasedType | Service purchased type |
| transactionDescription | Description of the transaction |
| merchantFreeText | Merchant comment on the transaction |
| subAccount | Sub-account identifier |
| EntryMode | Transaction entry mode(s) numerical value. |
| billingAddressAddressLine | Billing Address value. |
| billingAddressСity | Billing Address – City value. |
| billingAddressСountry | Billing Address – Country value. |
| billingAddressEmail | Billing Address – Email value. |
| billingAddressState | Billing Address – State value. |
| billingAddressPhoneNumber | Billing Address – Phone number value. |
| billingAddressZipPostalCode | Billing Address – Zip code value. |
| CCOrAccountIpAddress | Credit card or bank account IP Address |
Response Example
[
{
"transactionId": "101000000004431070",
"merchantTransactionId": "108",
"processorTransactionId": "22d0b6e9-7e4d-4a4b-ad42-23d693069f92",
"systemDate": "2019-10-19T15:32:23.29",
"merchantDate": "",
"paymentMethod": "Visa",
"CCorAccountNumber": "411111******1111",
"CCOrAccountOwnerId": "",
"CCExpirationDate": "12/20",
"token": "15facb01-4b25-4511-b5f0-0a083e48857b",
"CCorAccountOwnerName": "Eleanor Johnson",
"amount": "100.00",
"currency": "USD",
"transactionType": "Capture",
"paymentType": "One Off",
"statuses": "Processed",
"processor": "Processor Name",
"dynamicDescriptor": "",
"merchantId": "",
"authorizationOrErrorCode": "01919Z",
"errorDescription": "OK",
"cvvResponse": "",
"avsResponse": "",
"CHBOrRetrievalReasonCode": "",
"CHBOrRetrievalReasonDescription": "",
"terminalId": "",
"servicePurchasedType": "RegularTransaction",
"transactionDescription": "Transaction Description",
"merchantFreeText": "Merchant Free Text",
"subAccount": "Sub-Account Id",
"entryModes": "0-Unknown",
"cvvPresent": "",
"billingAddressAddressLine": "123 Main Street",
"billingAddressСity": "Сity name",
"billingAddressСountry": "US",
"billingAddressEmail": "test@domain.com",
"billingAddressState": "CA",
"billingAddressPhoneNumber": "12346879",
"billingAddressZipPostalCode": "94000",
"CCOrAccountIpAddress": ""
}
]