The following is a BETA API and is subject to change.
Search for previously processed transactions based on supplied parameters
Search parameters
name |
format |
description |
settlementId |
Valid Integer |
List transactions by settlementId. To list all unsettled transactions, set settlementId to 0. |
terminalId |
Valid Integer |
List transactions by terminalId. Note: Not to be confused with smartTerminalId. |
invoiceNumber |
Max Length 64 |
Search for transactions by a specific invoiceNumber. |
Paging Parameters
name |
format |
description |
limit |
Max 50 |
Limits the number of results per page. See Pagination. |
offset |
Max 2^31 |
The index at which to start returning results. See Pagination. |
Example Request
curl https://api.payjunction.com/transactions?settlementId=0&terminalId=9&limit=1 \
-u "login:password" \
-H "Accept: application/json" \
-H "X-PJ-Application-Key: YOUR_PRODUCTION_APP_KEY"
Example Response
{
"next" : "https://api.payjunction.com/transactions?settlementId=0&terminalId=9&offset=1&limit=1",
"results" : [ {
"transactionId" : 171927,
"uri" : "https://api.payjunction.com/transactions/171927",
"terminalId" : 51,
"action" : "CHARGE",
"amountBase" : "5.00",
"amountTotal" : "5.00",
"method" : "KEYED",
"status" : "CAPTURE",
"created" : "2021-02-12T21:46:01Z",
"lastModified" : "2021-02-15T23:00:27Z",
"response" : {
"approved" : true,
"code" : "00",
"message" : "Approved",
"processor" : {
"authorized" : true,
"approvalCode" : "PJ20AP"
}
},
"settlement" : {
"settled" : false
},
"vault" : {
"type" : "CARD",
"accountType" : "VISA",
"lastFour" : "1111"
},
"billing" : {
"email" : "jdoe@example.com"
}
} ]
}