Description | Getting terminal transactions list |
Request Path | {{base_url}}/stores/terminal-transactions/ |
Method | Get |
Usage
This method is called for getting all transactions done in the store based card details and product details.
Request Parameters
Parameter | Data Type | Position | Required | Description |
Authorization | String | Header | Yes | Used retrieving token in a header: Authorization: JWT {token} |
Response Parameters
Parameter | Description | Nullable |
count | Number of transactions | No |
next | Next transactions | Yes |
previous | Previous transactions | Yes |
results | transactions | No |
product_detail | Details of product | Yes |
id | Product id | No |
brand | Brand id | No |
brand _name | Name of the brand | No |
name | Name of product | No |
logo | Product logo | No |
Card_type | Type of card 0 or 1 or 2 | No |
card_type_display | Showing type of product | No |
product_type | Type of product : 0 or 1 | No |
product_type_display | Showing type of product:physical or digital | No |
min _price | Minimum amount of product | No |
max_price | Maximum amount of product | No |
is_enable | Is the product enabled or not | No |
currency_detail | Detail of currency | No |
title | Title of currency | No |
abbr | Abbreviation of currency | No |
symbol | Symbol of currency | No |
iso_code | An unique number of currency | No |
card_detail | Detail of card | No |
serial | Card serial | No |
card_number | Card number | No |
barcode | barcode | No |
card_transaction | This transaction in card history | No |
transaction_type | Type of the transaction (code) | No |
transaction_type_display | Showing type of transaction (active , charge , …) | No |
created_time | Time of transaction | No |
amount | Amount of transaction | No |
transaction_id | Transaction id | No |
invoice_detail | Detail of invoice of this transaction | No |
reference_code | Reference code of invoice of this transaction | No |