Skip to main content

Transaction Lookup

POST /api/operator/Transaction

This method is used by operators to make an authenticated request to query transaction information.

How to format the request:

  1. Send one of either transactionId, patronId, or vipCardNumber parameters.
  2. If the patron name and phone number are needed, send fullDetails as true.
  3. Send a JWT bearer token in the header to authenticate the request.

Example Request:

{
"patronId": "",
"transactionId":"9f80db7112",
"vipCardNumber":"",
"fullDetails": "false"
}

Parameters List

Parameter NameDescriptionIsRequiredTypeExample
patronIdPatron ID who performed the transactionNoString0ef56720
transactionIdUnique ID to identify a transactionNoString9f80db71aa
vipCardNumberVIP account numberNoString714524259
fullDetailsIf true, return patron name and phone numberYesBooleantrue
note

transactionId is assigned by the Operator. Max Length: 25 characters, Min Length: 8 characters

Response

StatusDescription
200 OKAPI received the request and responded

Example Response without full details queried by transactionId

[
{
"transactionId": "9f80db71aa",
"patronId": "0ef56720-47b6-46bc-9a3a-b81bd511d10a",
"vipCardNumber": "714524259",
"location": "192.168.1.1",
"instantPaymentEligible": false,
"transactionType": "Deposit",
"productType": "Online",
"amount": 57.00,
"bankName": "U.S. Bank National Association",
"bankRoutingNumber": "122105155",
"bankAccountNumber": "************5555",
"fundTransferType": "Unknown",
"requiresApproval": false,
"approvalCompleted": false,
"notificationSentOn": "2024-04-23T19:37:46.281",
"transactionStatus": "COMPLETE",
"errorMessage":"",
"createdOn": "2024-04-23T19:37:48.844"
}
]

Example Response with full details queried by vipCardNumber

[
{
"transactionId": "9f80db71aa",
"patronId": "0ef56720-47b6-46bc-9a3a-b81bd511d10a",
"vipCardNumber": "714524259",
"lastName": "SMITH",
"firstName": "JANE",
"homePhoneNumber": "9835554444",
"location": "",
"instantPaymentEligible": false,
"transactionType": "Deposit",
"productType": "Preferred",
"amount": 17.65,
"bankName": "U.S. Bank National Association",
"bankRoutingNumber": "122105155",
"bankAccountNumber": "************5555",
"fundTransferType": "Unknown",
"requiresApproval": true,
"approvalCompleted": false,
"notificationSentOn": "2024-03-29T21:20:13.436",
"approvalCalledOn": "2024-03-29T21:23:42.505",
"transactionStatus": "FAILED",
"errorMessage": "DepositApproval has FAILED for Transaction Id: 9f80db71aa. Message: DECLINED",
"createdOn": "2024-03-29T21:20:19.907"
},
{
"transactionId": "9f80db71ab",
"patronId": "0ef56720-47b6-46bc-9a3a-b81bd511d10a",
"vipCardNumber": "714524259",
"lastName": "SMITH",
"firstName": "JANE",
"homePhoneNumber": "9835554444",
"location": "",
"instantPaymentEligible": false,
"transactionType": "Withdraw",
"productType": "Online",
"amount": 98.00,
"bankName": "U.S. Bank National Association",
"bankRoutingNumber": "122105155",
"bankAccountNumber": "************5555",
"fundTransferType": "INP",
"requiresApproval": true,
"approvalCompleted": true,
"notificationSentOn": "2024-03-29T21:36:17.165",
"approvalCalledOn": "2024-04-04T17:23:57.682",
"transactionStatus": "FAILED",
"errorMessage": "Failure in Withdrawal. Null response from withdrawal notification.",
"createdOn": "2024-03-29T21:36:18.519"
}
]
note

The response is an array list.