- 23 Nov 2023
- 1 Minute to read
- Print
- DarkLight
Transaction Detailed Information
- Updated on 23 Nov 2023
- 1 Minute to read
- Print
- DarkLight
This will return details of a particular transaction.
POST - /api/v1/query
Graph QL Query | Graph QL Variables |
query getVisibleTransactionEventsById | { |
( | "transactionId": 12345678 |
$transactionId: String! | } |
) |
|
{ |
|
events ( |
|
transactionId: $transactionId, |
|
from: "1990-01-01T00:00:00Z", |
|
visible: true, |
|
sort: {field: receivedDateTime, direction: DESC} |
|
) |
|
{ |
|
transactionEventList { |
|
id |
|
eventId |
|
eventType |
|
summary { |
|
visible |
|
type |
|
status |
|
} |
|
customer { |
|
name |
|
emailAddress |
|
address { |
|
line1 |
|
line2 |
|
city |
|
postcode |
|
} |
|
} |
|
paymentMethod { |
|
maskedCredentials |
|
providerResponse { |
|
methodUsed |
|
result |
|
} |
|
card { |
|
cardScheme |
|
cardType |
|
cardHolderName |
|
expiryYear |
|
expiryMonth |
|
authCode |
|
avsAddressCheckResult |
|
avsPostcodeCheckResult |
|
cv2CheckResult |
|
threeDSResult { authenticationStatus authenticationIndicator enrolmentStatus enrolmentIndicator checkedAt scheme status } openBanking { |
|
remittanceReference |
|
debtorAccount { |
|
accountNumber |
|
bankName |
|
} |
|
} |
|
} |
|
transaction { |
|
transactionId |
|
receivedDateTime |
|
amount |
|
description |
|
merchantReference |
|
currency |
|
channel |
|
recurring |
|
} |
|
purchases { |
|
description |
|
totalAmount |
|
quantity |
|
} |
|
} |
|
} |
|
|
|
Notes for Request Body
Insertion of transaction ID in the request body as highlighted above will fetch its transaction details.