Display Transactions
Overview
Highnote provides access to all transaction data processed through your Acquiring product. You can use Highnote's API to create filtered lists of transactions and display transaction details. This data is useful for building transaction history views in your website or application.
Build a transaction feed
Use the following query to display a list of transactions:
PaymentTransaction
Query
query PaymentTransaction($first: Int) {
paymentTransactions(first: $first) {
__typename
pageInfo {
hasNextPage
hasPreviousPage
startCursor
endCursor
}
edges {
cursor
node {
__typename
id
createdAt
updatedAt
steps {
__typename
createdAt
amount {
value
currencyCode
}
events {
__typename
createdAt
updatedAt
amount {
value
currencyCode
}
}
}
status
accountingDirection
authorizedAmount {
value
currencyCode
}
authorizedAmount {
value
currencyCode
}
settledAmount {
value
currencyCode
}
disbursedAmount {
value
currencyCode
}
canceledAmount {
value
currencyCode
}
refundedAmount {
value
currencyCode
}
responseCode {
processorResponseCode
addressCode
postalCode
securityCode
}
instrument {
__typename
... on PaymentCardInstrument {
createdAt
last4
expiryYear
expiryMonth
brand
}
}
... on PaymentCreditTransaction {
originatedPaymentTransaction {
__typename
id
createdAt
updatedAt
}
}
... on PaymentDebitTransaction {
refunds {
__typename
id
createdAt
updatedAt
}
}
}
}
}
}
Variables
{
"first": 20
}
⚠️ Please login to execute queries. Visit the dashboard to authenticate.
Result
{
"data": {
"paymentTransactions": {
"__typename": "PaymentTransactionsConnection",
"pageInfo": {
"hasNextPage": false,
"hasPreviousPage": false,
"startCursor": "CURSOR_ACQPT_AUTHORIZE_PAYMENT_TRANSACTION",
"endCursor": "CURSOR_ACQPT_REFUNDED_PAYMENT_TRANASCTION"
},
"edges": [
{
"cursor": "CURSOR_ACQPT_AUTHORIZE_PAYMENT_TRANSACTION",
"node": {
"__typename": "PaymentDebitTransaction",
"id": "acqpt_01",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"steps": [
{
"__typename": "CardAuthorizedStep",
"createdAt": "2024-01-01T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
},
"events": [
{
"__typename": "CardPaymentAuthorizedEvent",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
}
]
}
],
"states": [
{
"createdAt": "2024-01-01T00:00:00.000Z",
"state": "PENDING"
}
],
"accountingDirection": "DEBIT",
"authorizedAmount": {
"value": 1000,
"currencyCode": "USD"
},
"settledAmount": null,
"disbursedAmount": null,
"canceledAmount": null,
"refundedAmount": null,
"responseCode": {
"processorResponseCode": "067689",
"addressCode": "SKIPPED",
"postalCode": "SKIPPED",
"securityCode": "SKIPPED"
},
"instrument": {
"__typename": "PaymentCardInstrument",
"createdAt": "2024-01-01T00:00:00.000Z",
"last4": "4242",
"expiryYear": "2024",
"expiryMonth": "12",
"brand": "VISA"
},
"refunds": null
}
},
{
"cursor": "CURSOR_ACQPT_CANCELLED_PAYMENT_TRANASCTION",
"node": {
"__typename": "PaymentDebitTransaction",
"id": "acqpt_02",
"createdAt": "2024-01-02T00:00:00.000Z",
"updatedAt": "2024-01-02T00:00:00.000Z",
"steps": [
{
"__typename": "CardAuthorizedStep",
"id": "PAYMENT_STEP_ID",
"createdAt": "2024-01-02T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
},
"events": [
{
"__typename": "CardPaymentAuthorizedEvent",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
}
]
},
{
"__typename": "CardReversedStep",
"id": "PAYMENT_STEP_ID",
"createdAt": "2024-01-02T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
},
"events": [
{
"__typename": "CardPaymentReversedEvent",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
}
]
}
],
"states": [
{
"createdAt": "2024-01-02T00:00:00.000Z",
"state": "REVERSED"
},
{
"createdAt": "2024-01-02T00:00:00.000Z",
"state": "PENDING"
}
],
"accountingDirection": "DEBIT",
"authorizedAmount": {
"value": 1000,
"currencyCode": "USD"
},
"settledAmount": null,
"disbursedAmount": null,
"canceledAmount": {
"value": 1000,
"currencyCode": "USD"
},
"refundedAmount": null,
"responseCode": {
"processorResponseCode": "00",
"addressCode": "SKIPPED",
"postalCode": "SKIPPED",
"securityCode": "SKIPPED"
},
"instrument": {
"__typename": "PaymentCardInstrument",
"createdAt": "2024-01-01T00:00:00.000Z",
"last4": "4242",
"expiryYear": "2024",
"expiryMonth": "12",
"brand": "VISA"
},
"refunds": null
}
},
{
"cursor": "CURSOR_ACQPT_CAPTURED_PAYMENT_TRANASCTION",
"node": {
"__typename": "PaymentDebitTransaction",
"id": "acqpt_03",
"createdAt": "2024-01-03T00:00:00.000Z",
"updatedAt": "2024-01-03T00:00:00.000Z",
"steps": [
{
"__typename": "CardAuthorizedStep",
"id": "PAYMENT_STEP_ID",
"createdAt": "2024-01-03T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
},
"events": [
{
"__typename": "CardPaymentAuthorizedEvent",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
}
]
},
{
"__typename": "CardCapturedStep",
"id": "PAYMENT_STEP_ID",
"createdAt": "2024-01-03T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
},
"events": [
{
"__typename": "CardPaymentCapturingEvent",
"createdAt": "2024-01-03T00:00:00.000Z",
"updatedAt": "2024-01-03T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
},
{
"__typename": "CardPaymentCapturedEvent",
"createdAt": "2024-01-03T00:00:00.000Z",
"updatedAt": "2024-01-03T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
},
{
"__typename": "CardPaymentClearedEvent",
"createdAt": "2024-01-03T00:00:00.000Z",
"updatedAt": "2024-01-03T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
},
{
"__typename": "CardPaymentDisbursedEvent",
"createdAt": "2024-01-03T00:00:00.000Z",
"updatedAt": "2024-01-03T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
}
]
}
],
"states": [
{
"createdAt": "2024-01-03T00:00:00.000Z",
"state": "PENDING"
}
],
"accountingDirection": "DEBIT",
"authorizedAmount": {
"value": 1000,
"currencyCode": "USD"
},
"settledAmount": {
"value": 1000,
"currencyCode": "USD"
},
"disbursedAmount": null,
"canceledAmount": null,
"refundedAmount": null,
"responseCode": {
"processorResponseCode": "00",
"addressCode": "SKIPPED",
"postalCode": "SKIPPED",
"securityCode": "SKIPPED"
},
"instrument": {
"__typename": "PaymentCardInstrument",
"createdAt": "2024-01-01T00:00:00.000Z",
"last4": "4242",
"expiryYear": "2024",
"expiryMonth": "12",
"brand": "VISA"
},
"refunds": null
}
},
{
"cursor": "CURSOR_ACQPT_CAPTURED_PAYMENT_TRANASCTION_BEING_REFUNDED",
"node": {
"__typename": "PaymentDebitTransaction",
"id": "acqpt_04",
"createdAt": "2024-01-04T00:00:00.000Z",
"updatedAt": "2024-01-05T00:00:00.000Z",
"steps": [
{
"__typename": "CardAuthorizedStep",
"id": "PAYMENT_STEP_ID",
"createdAt": "2024-01-04T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
},
"events": [
{
"__typename": "CardPaymentAuthorizedEvent",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
}
]
},
{
"__typename": "CardCapturedStep",
"id": "PAYMENT_STEP_ID",
"createdAt": "2024-01-04T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
},
"events": [
{
"__typename": "CardPaymentCapturingEvent",
"createdAt": "2024-01-04T00:00:00.000Z",
"updatedAt": "2024-01-04T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
},
{
"__typename": "CardPaymentCapturedEvent",
"createdAt": "2024-01-04T00:00:00.000Z",
"updatedAt": "2024-01-04T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
},
{
"__typename": "CardPaymentClearedEvent",
"createdAt": "2024-01-04T00:00:00.000Z",
"updatedAt": "2024-01-04T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
},
{
"__typename": "CardPaymentDisbursedEvent",
"createdAt": "2024-01-04T00:00:00.000Z",
"updatedAt": "2024-01-04T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
}
]
}
],
"states": [
{
"createdAt": "2024-01-05T00:00:00.000Z",
"state": "COMPLETED"
},
{
"createdAt": "2024-01-04T00:00:00.000Z",
"state": "PENDING"
}
],
"accountingDirection": "DEBIT",
"authorizedAmount": {
"value": 1000,
"currencyCode": "USD"
},
"settledAmount": {
"value": 1000,
"currencyCode": "USD"
},
"disbursedAmount": null,
"canceledAmount": null,
"refundedAmount": null,
"responseCode": {
"processorResponseCode": "00",
"addressCode": "SKIPPED",
"postalCode": "SKIPPED",
"securityCode": "SKIPPED"
},
"instrument": {
"__typename": "PaymentCardInstrument",
"createdAt": "2024-01-01T00:00:00.000Z",
"last4": "4242",
"expiryYear": "2024",
"expiryMonth": "12",
"brand": "VISA"
},
"refunds": [
{
"__typename": "PaymentCreditTransaction",
"id": "acqpt_05",
"createdAt": "2024-01-05T00:00:00.000Z",
"updatedAt": "2024-01-05T00:00:00.000Z"
}
]
}
},
{
"cursor": "CURSOR_ACQPT_REFUNDED_PAYMENT_TRANASCTION",
"node": {
"__typename": "PaymentCreditTransaction",
"id": "acqpt_05",
"createdAt": "2024-01-05T00:00:00.000Z",
"updatedAt": "2024-01-05T00:00:00.000Z",
"steps": [
{
"__typename": "CardAuthorizedStep",
"id": "PAYMENT_STEP_ID",
"createdAt": "2024-01-05T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
},
"events": [
{
"__typename": "CardPaymentAuthorizedEvent",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
}
]
}
],
"status": "PENDING",
"accountingDirection": "CREDIT",
"authorizedAmount": {
"value": 1000,
"currencyCode": "USD"
},
"settledAmount": null,
"disbursedAmount": null,
"canceledAmount": null,
"refundedAmount": null,
"responseCode": {
"processorResponseCode": "00",
"addressCode": "SKIPPED",
"postalCode": "SKIPPED",
"securityCode": "SKIPPED"
},
"instrument": {
"__typename": "PaymentCardInstrument",
"createdAt": "2024-01-01T00:00:00.000Z",
"last4": "4242",
"expiryYear": "2024",
"expiryMonth": "12",
"brand": "VISA"
},
"originatedPaymentTransaction": {
"__typename": "PaymentDebitTransaction",
"id": "acqpt_04",
"createdAt": "2024-01-04T00:00:00.000Z",
"updatedAt": "2024-01-05T00:00:00.000Z"
}
}
}
]
}
},
"extensions": {
"requestId": "REQUEST_ID",
"rateLimit": {
"cost": 282
}
}
}
Display transaction details
Use the following query to display transaction details:
PaymentTransaction
Query
query PaymentTransaction($id: ID!) {
node(id: $id) {
__typename
... on PaymentTransaction {
id
createdAt
updatedAt
steps {
__typename
createdAt
amount {
value
currencyCode
}
events {
__typename
createdAt
updatedAt
amount {
value
currencyCode
}
}
}
status
accountingDirection
authorizedAmount {
value
currencyCode
}
authorizedAmount {
value
currencyCode
}
settledAmount {
value
currencyCode
}
disbursedAmount {
value
currencyCode
}
canceledAmount {
value
currencyCode
}
refundedAmount {
value
currencyCode
}
responseCode {
authorizationCode
addressCode
postalCode
securityCode
}
instrument {
__typename
... on PaymentCardInstrument {
createdAt
last4
expiryYear
expiryMonth
brand
}
}
... on PaymentCreditTransaction {
originatedPaymentTransaction {
__typename
id
createdAt
updatedAt
}
}
... on PaymentDebitTransaction {
refunds {
__typename
id
createdAt
updatedAt
}
}
}
}
}
Variables
{
"id": "acqpt_01"
}
⚠️ Please login to execute queries. Visit the dashboard to authenticate.
Result
{
"data": {
"node": {
"__typename": "PaymentDebitTransaction",
"id": "acqpt_01",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"steps": [
{
"__typename": "CardAuthorizedStep",
"createdAt": "2024-01-01T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
},
"events": [
{
"__typename": "CardPaymentAuthorizedEvent",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"amount": {
"value": 1000,
"currencyCode": "USD"
}
}
]
}
],
"status": "PENDING",
"accountingDirection": "DEBIT",
"authorizedAmount": {
"value": 1000,
"currencyCode": "USD"
},
"settledAmount": null,
"disbursedAmount": null,
"canceledAmount": null,
"refundedAmount": null,
"responseCode": {
"authorizationCode": "067689",
"addressCode": "SKIPPED",
"postalCode": "SKIPPED",
"securityCode": "SKIPPED"
},
"instrument": {
"__typename": "PaymentCardInstrument",
"createdAt": "2024-01-01T00:00:00.000Z",
"last4": "4242",
"expiryYear": "2024",
"expiryMonth": "12",
"brand": "VISA"
},
"refunds": null
}
}
}