List all Transactions objects for a merchant.
Headers
Name | Value |
---|---|
Authorization | Bearer {token} |
URL parameters
Name | Required | Value |
---|---|---|
fromDate | No | string. Date in format YYYYMMDD (or YYYYMMDDhhmmss), UTC. |
toDate | No | string. Date in format YYYYMMDD (or YYYYMMDDhhmmss), UTC. |
limit | No | int. Maximum number of results. Defaults to 100. Disabled in the sandbox. |
offset | No | int. To paginate the results. Defaults to 0. Disabled in the sandbox. |
pending | No | string. To get authorization set it to “true”. Default to “false” and returns settlements data. Disabled in the sandbox. |
Response
Name | Value |
---|---|
transactions | List of JSON objects. |
transactions[].amount | float. Amount of the transaction. |
transactions[].datetime | float. Timestamp of the transaction, YYYYMMDDhhmmss, UTC. |
transactions[].card | string. Last four digits. |
transactions[].merchantName | string. |
transactions[].category | list of string. Values in the list can be, e.g., “restaurants”, “electronics”. |
transactions[].currency | string. Currency code (e.g., “USD”, “EUR”, “GBP”). |
transactions[].pending | boolean |
transactions[].location | JSON object with location information |
transactions[].location.city | sting. Transaction’s city |
transactions[].location.country | string. Transaction’s country code |
transactions[].location.postalCode | string. Transaction’s postalCode |
transactions[].location.address | string. Transaction’s address |
transactions[].location.latitude | float. Location latitude |
transactions[].location.longitude | float. Location longitude. |
Status Code
Code | Comment |
---|---|
200 | Request OK. |
400 | Input data not correct. |
401 | User not authorized |