Amount
- 21 Dec 2023
- 1 Minute to read
- Print
- DarkLight
Amount
- Updated on 21 Dec 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
This will return all the transaction events for a given amount range
POST - /api/v1/query
query getVisibleTransactions
(
$startDate: String!, $endDate: String!, $sort: TransactionSort!,
$amountFrom: BigDecimal! , $amountTo: BigDecimal!, $page: Int, $size: Int
)
{
events(
from: $startDate,
to: $endDate,
visible: true,
amountFrom: $amountFrom,
amountTo: $amountTo,
sort: $sort,
excludeType: [
"DISPUTE_RECEIVED", "DISPUTE_APPLIED", "DISPUTE_REVERSED",
"DISPUTE_CANCELLED"
],
page: $page,
size: $size
)
{
transactionEventList {
id
eventId
ownerId
eventType
summary {
visible
type
status
}
customer {
name
}
paymentMethod
{
providerResponse {
methodUsed
}
card {
cardScheme
}
}
transaction {
transactionId
receivedDateTime
amount
description
merchantReference
currency
}
}
totalCount
}
}
{
"sort": {
"field": "receivedDateTime",
"direction": "DESC"
},
"startDate": "1899-12-31T22:15:36.000Z",
"endDate": "2022-11-05T03:16:26.274Z",
"amountFrom": 100,
"amountTo": 200,
"page": 0,
"size": 10
}
Notes for Request Body
Default structure of the request body will be the same. Only the addition of a filter in the query is done as highlighted above.
amountFrom used here is 100 for example purpose, format: "Insert your amountFrom in this manner”
amountTo used here is 200 for example purpose, format: "Insert your amountTo in this manner”
Was this article helpful?