Skip to content

Get Transactions

This endpoint gets list of transactions for a customer.

1
GET /customers/<customerId>/transactions?startdate=<startDate>&enddate=<endDate>

Input Parameters

Path Param Type Required Description
customerId int Required Unique identifier for customer
Query Param Type Required Description
offerId int Optional Unique identifier for offer
merchantName string Optional The name of the merchant this offer is for. If provided, then this should be exact match of Merchant name
startDate string Optional Date string representing the from which date it should search for transactions
endDate string Optional Date string representing the to which date it should search for transactions
minimumTransactionAmount decimal Optional Minimum transaction amount range
maximumTransactionAmount decimal Optional Minimum transaction amount range
cardId int Optional Type of card transaction

Output

This endpoint returns an array of TransactionResponse.


Example

Request

1
GET /v1/customers/2349/transactions?startdate=2021-05-07&enddate=2021-08-03

Response

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
[
    {
        "transactionId": 206225,
        "amount": 32.73,
        "cleanName": "Rite Aid",
        "matchKey": "checkcard~~ga~ashburn~rite aid store - 1915 | ashburn | ga | 00000 |  |  |  | debit card",
        "transactionDate": "2021-06-21T00:00:00",
        "fiMerchantId": 322,
        "fileDate": "2021-06-21T00:00:00",
        "customerId": 2349,
        "accountName": "Checking",
        "cardName": "",
        "sourceTransactionType": " debit card"
    }
]