Download OpenAPI specification:
The Hectronic HecOne-WebAPI allows third-parties to access the HecOne ecosystem.
Understanding the following terms is essential for working with the HecOne API.
| Term | Description | Examples |
|---|---|---|
| Site | A limited geographical area where services are provided | CityCenter (Parking), Refuelling-Station |
| Device | A Point of Sale terminal used by customers to purchase Products | Terminal, Kiosk |
| Point | A resource consumption location. One Point can only be used by one customer at a time | ParkingLot, Gas-Pump, Charging-Station |
| Product | A consumable resource or service | Parking-Tariff, Diesel, AC, DC |
| Transaction | A record that tracks the complete lifecycle of a customer interaction, including consumed products, identification, authorization, invoice and payments | |
| Article | A product instance within a transaction with quantity, price and state | |
| Payment | A payment record within a transaction with amount, method and state |

Authorization header for all subsequent requests:Authorization: Bearer <your-token>
Authorize with HecOne 360 API to get a token
Credentials for authorization with HecOne 360 API
| client_id required | string |
| client_secret required | string |
{- "client_id": "string",
- "client_secret": "string"
}{- "access_token": "jwt access token",
- "expires_in": 3600,
- "token_type": "Bearer",
- "refresh_token": "jwt refresh token"
}A transaction holds the current state of a customer process. It collects consumed products, identification, authorization, invoice and payments. A transaction is assigned to one Point.
The transaction state is computed based on the combination of Article and Payment states. Article and Payment states are set directly via the API, while the Transaction state is derived automatically.

| Transaction State | Condition |
|---|---|
created |
Article is reserved + any payment state |
pending |
Article is released or ongoing + any payment state |
consumed |
Article is done + Payment is open/reserved (or collected with amount < invoice) |
completed |
Article is done + Payment is collected (with amount ≥ invoice) |
declined |
Any error or declined state in Article OR Payment |
error |
Any error state in Article OR Payment |
| State | Description |
|---|---|
reserved |
Article is reserved but consumption has not started |
released |
Article consumption has been authorized |
ongoing |
Article is currently being consumed |
done |
Article consumption is complete |
declined |
Article was declined |
error |
Article processing failed due to an error |
| State | Description |
|---|---|
open |
Payment initiated but not yet processed |
reserved |
Payment amount has been reserved |
collected |
Payment has been collected |
declined |
Payment was declined |
error |
Payment processing failed due to an error |
Creates a new transaction in the system. The transaction will be initialized with state created.
Transaction object that needs to be added to the system
| site_id required | string <uuid> The unique identifier of the site for which the transaction is taking place |
| point_id | string <uuid> The unique identifier of the point for which the transaction is taking place |
Array of objects (articles) | |
Array of objects (payments) | |
object (customer_data_object) | |
object (receipt) | |
| terminal_transaction_number | string Has possible two parts. First is number of fiscal printer which can be empty. Second Is a number between 0 and 9999 or 0 and 99999 (Customer-dependent). This number helps with identification, but is not unique on its own (overflow). |
| session_id | string Hubject Session ID |
{- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "point_id": "cd99f0d9-6824-4d90-b67f-24518d22d7b6",
- "articles": [
- {
- "id": "93a7a2ff-b08b-417d-ab46-c75b8d0729b4",
- "product_id": "93a7a2ff-b08b-417d-ab46-c75b8d0729b4",
- "category": "charging",
- "state": "reserved",
- "start_time": "2020-08-10T12:00:00+02:00",
- "end_time": "2020-08-10T13:15:00+02:00",
- "unit_price": 0.34,
- "amount": 10.5,
- "tax_percentage": 7.6,
- "tax_amount": 13,
- "quantity": 5,
- "free_quantity": 30,
- "max_quantity": 30,
- "max_amount": 120,
- "name": "Diesel",
- "unit_measure": "l",
- "currency": "EUR",
- "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
], - "charge_detail_record": {
- "encoding_method": "string",
- "encoding_method_version": 0,
- "public_key": "string",
- "signed_values": [
- {
- "nature": "string",
- "plain_data": "string",
- "signed_data": "string"
}
]
}
}
], - "payments": [
- {
- "id": "3fa85f64-5717-4562-b3fc-dsad213das",
- "identification_id": "020983c3-023c-47ec-a858-f1b3834dd5cf",
- "state": "open",
- "created_at": "2020-08-10T12:01:00+02:00",
- "reserved_amount": 120,
- "amount": 70,
- "currency": "EUR",
- "card_entrymode": "Remote",
- "entry_mode": "Remote",
- "medium": "Card",
- "type": "PSPCard",
- "function": "SingleCard",
- "scheme": "7 Byte UID",
- "card_id": "5168 xxxx xxxx 8932",
- "pin": "string",
- "terminal_receipt": [
- "string"
], - "fiscal_receipt": [
- "string"
], - "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
], - "additional_card": {
- "function": "SingleCard",
- "card_id": "5168 xxxx xxxx 8932"
}, - "qr_code": "string"
}
], - "customer_data": {
- "odometer": 0,
- "driver_number": "string",
- "vehicle_number": "string",
- "additional_info": "string",
- "license_plate": "string",
- "cost_center": "string"
}, - "receipt": {
- "ocmf_start": "string",
- "ocmf_stop": "string",
- "state": "string",
- "additional_information": "string",
- "email": "string",
- "links": {
- "customer_url": "string"
}, - "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
]
}, - "terminal_transaction_number": "string",
- "session_id": "string"
}{- "_links": {
- "self": "string",
- "next": "string",
- "prev": "string",
- "first": "string",
- "last": "string"
}, - "meta": {
- "limit": 0,
- "start": 0,
- "size": 0,
- "total": 0
}, - "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "mandator_id": "dc5a5bcf-08ed-4181-bdd6-b189c7f464f9",
- "state": "created",
- "invoice": {
- "amount": 0,
- "paid_amount": 0,
- "currency": "string",
- "created_at": "2020-08-10T13:15:00+02:00",
- "tax_amount": 0
}, - "client": {
- "id": "john.doe@test.com",
- "type": "user"
}, - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "point_id": "cd99f0d9-6824-4d90-b67f-24518d22d7b6",
- "articles": [
- {
- "id": "93a7a2ff-b08b-417d-ab46-c75b8d0729b4",
- "product_id": "93a7a2ff-b08b-417d-ab46-c75b8d0729b4",
- "category": "charging",
- "state": "reserved",
- "start_time": "2020-08-10T12:00:00+02:00",
- "end_time": "2020-08-10T13:15:00+02:00",
- "unit_price": 0.34,
- "amount": 10.5,
- "tax_percentage": 7.6,
- "tax_amount": 13,
- "quantity": 5,
- "free_quantity": 30,
- "max_quantity": 30,
- "max_amount": 120,
- "name": "Diesel",
- "unit_measure": "l",
- "currency": "EUR",
- "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
], - "charge_detail_record": {
- "encoding_method": "string",
- "encoding_method_version": 0,
- "public_key": "string",
- "signed_values": [
- {
- "nature": "string",
- "plain_data": "string",
- "signed_data": "string"
}
]
}
}
], - "payments": [
- {
- "id": "3fa85f64-5717-4562-b3fc-dsad213das",
- "identification_id": "020983c3-023c-47ec-a858-f1b3834dd5cf",
- "state": "open",
- "created_at": "2020-08-10T12:01:00+02:00",
- "reserved_amount": 120,
- "amount": 70,
- "currency": "EUR",
- "card_entrymode": "Remote",
- "entry_mode": "Remote",
- "medium": "Card",
- "type": "PSPCard",
- "function": "SingleCard",
- "scheme": "7 Byte UID",
- "card_id": "5168 xxxx xxxx 8932",
- "pin": "string",
- "terminal_receipt": [
- "string"
], - "fiscal_receipt": [
- "string"
], - "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
], - "additional_card": {
- "function": "SingleCard",
- "card_id": "5168 xxxx xxxx 8932"
}, - "qr_code": "string"
}
], - "customer_data": {
- "odometer": 0,
- "driver_number": "string",
- "vehicle_number": "string",
- "additional_info": "string",
- "license_plate": "string",
- "cost_center": "string"
}, - "receipt": {
- "ocmf_start": "string",
- "ocmf_stop": "string",
- "state": "string",
- "additional_information": "string",
- "email": "string",
- "links": {
- "customer_url": "string"
}, - "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
]
}, - "terminal_transaction_number": "string",
- "session_id": "string"
}
]
}| mandator_id | string <uuid> Deprecated The field is deprecated. It was added as a fallback, should not be used for new integrations and removed from older ones whenever possible. |
| sort | string Example: sort=name order ascending or descending the list of sites by a property. For descending order the sort field should be prefixed with a minus('-'). All general fileds can be sorted and for nested objects only the created_at from invoice, site_name and device_name |
| page[offset] | number Example: page[offset]=10 number of items that should be skipped and not included in the response |
| page[limit] | number Example: page[limit]=20 number of items to be included in the response |
| start_date required | string <date-time> Example: start_date=2020-08-10T10:00:00Z |
| end_date required | string <date-time> Example: end_date=2020-08-10T10:00:00Z |
composite_filter_descriptor (object) or filter_descriptor (object) Filters should be sent as encoded URI. You can filter by: created_at, amount, paid_amount, client_id, client_type, receipt_state, receipt_email, site_name, site_code, device_name, device_code, point_name, point_number, license_plate, customer_odometer, customer_driver_number, customer_vehicle_number, customer_additional_info, card_vehicle_number, card_driver_number |
{- "_links": {
- "self": "string",
- "next": "string",
- "prev": "string",
- "first": "string",
- "last": "string"
}, - "meta": {
- "limit": 0,
- "start": 0,
- "size": 0,
- "total": 0
}, - "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "mandator_id": "dc5a5bcf-08ed-4181-bdd6-b189c7f464f9",
- "state": "created",
- "invoice": {
- "amount": 0,
- "paid_amount": 0,
- "currency": "string",
- "created_at": "2020-08-10T13:15:00+02:00",
- "tax_amount": 0
}, - "client": {
- "id": "john.doe@test.com",
- "type": "user"
}, - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "point_id": "cd99f0d9-6824-4d90-b67f-24518d22d7b6",
- "articles": [
- {
- "id": "93a7a2ff-b08b-417d-ab46-c75b8d0729b4",
- "product_id": "93a7a2ff-b08b-417d-ab46-c75b8d0729b4",
- "category": "charging",
- "state": "reserved",
- "start_time": "2020-08-10T12:00:00+02:00",
- "end_time": "2020-08-10T13:15:00+02:00",
- "unit_price": 0.34,
- "amount": 10.5,
- "tax_percentage": 7.6,
- "tax_amount": 13,
- "quantity": 5,
- "free_quantity": 30,
- "max_quantity": 30,
- "max_amount": 120,
- "name": "Diesel",
- "unit_measure": "l",
- "currency": "EUR",
- "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
], - "charge_detail_record": {
- "encoding_method": "string",
- "encoding_method_version": 0,
- "public_key": "string",
- "signed_values": [
- {
- "nature": "string",
- "plain_data": "string",
- "signed_data": "string"
}
]
}
}
], - "payments": [
- {
- "id": "3fa85f64-5717-4562-b3fc-dsad213das",
- "identification_id": "020983c3-023c-47ec-a858-f1b3834dd5cf",
- "state": "open",
- "created_at": "2020-08-10T12:01:00+02:00",
- "reserved_amount": 120,
- "amount": 70,
- "currency": "EUR",
- "card_entrymode": "Remote",
- "entry_mode": "Remote",
- "medium": "Card",
- "type": "PSPCard",
- "function": "SingleCard",
- "scheme": "7 Byte UID",
- "card_id": "5168 xxxx xxxx 8932",
- "pin": "string",
- "terminal_receipt": [
- "string"
], - "fiscal_receipt": [
- "string"
], - "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
], - "additional_card": {
- "function": "SingleCard",
- "card_id": "5168 xxxx xxxx 8932"
}, - "qr_code": "string"
}
], - "customer_data": {
- "odometer": 0,
- "driver_number": "string",
- "vehicle_number": "string",
- "additional_info": "string",
- "license_plate": "string",
- "cost_center": "string"
}, - "receipt": {
- "ocmf_start": "string",
- "ocmf_stop": "string",
- "state": "string",
- "additional_information": "string",
- "email": "string",
- "links": {
- "customer_url": "string"
}, - "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
]
}, - "terminal_transaction_number": "string",
- "session_id": "string",
- "site": {
- "name": "string",
- "code": "string",
- "timezone": "string",
- "street": "string",
- "city": "string"
}, - "device": {
- "name": "string",
- "code": "string"
}, - "point": {
- "name": "string",
- "number": 0
}, - "products": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}
], - "card_issuer": {
- "vehicle_number": "string",
- "driver_name": "string"
}, - "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
]
}
]
}| transaction_id required | string <uuid> Example: 8a159c56-1785-4d8b-a40e-22cb47f56bba |
| additional_info | boolean Example: additional_info=true |
{- "_links": {
- "self": "string",
- "next": "string",
- "prev": "string",
- "first": "string",
- "last": "string"
}, - "meta": {
- "limit": 0,
- "start": 0,
- "size": 0,
- "total": 0
}, - "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "mandator_id": "dc5a5bcf-08ed-4181-bdd6-b189c7f464f9",
- "state": "created",
- "invoice": {
- "amount": 0,
- "paid_amount": 0,
- "currency": "string",
- "created_at": "2020-08-10T13:15:00+02:00",
- "tax_amount": 0
}, - "client": {
- "id": "john.doe@test.com",
- "type": "user"
}, - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "point_id": "cd99f0d9-6824-4d90-b67f-24518d22d7b6",
- "articles": [
- {
- "id": "93a7a2ff-b08b-417d-ab46-c75b8d0729b4",
- "product_id": "93a7a2ff-b08b-417d-ab46-c75b8d0729b4",
- "category": "charging",
- "state": "reserved",
- "start_time": "2020-08-10T12:00:00+02:00",
- "end_time": "2020-08-10T13:15:00+02:00",
- "unit_price": 0.34,
- "amount": 10.5,
- "tax_percentage": 7.6,
- "tax_amount": 13,
- "quantity": 5,
- "free_quantity": 30,
- "max_quantity": 30,
- "max_amount": 120,
- "name": "Diesel",
- "unit_measure": "l",
- "currency": "EUR",
- "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
], - "charge_detail_record": {
- "encoding_method": "string",
- "encoding_method_version": 0,
- "public_key": "string",
- "signed_values": [
- {
- "nature": "string",
- "plain_data": "string",
- "signed_data": "string"
}
]
}
}
], - "payments": [
- {
- "id": "3fa85f64-5717-4562-b3fc-dsad213das",
- "identification_id": "020983c3-023c-47ec-a858-f1b3834dd5cf",
- "state": "open",
- "created_at": "2020-08-10T12:01:00+02:00",
- "reserved_amount": 120,
- "amount": 70,
- "currency": "EUR",
- "card_entrymode": "Remote",
- "entry_mode": "Remote",
- "medium": "Card",
- "type": "PSPCard",
- "function": "SingleCard",
- "scheme": "7 Byte UID",
- "card_id": "5168 xxxx xxxx 8932",
- "pin": "string",
- "terminal_receipt": [
- "string"
], - "fiscal_receipt": [
- "string"
], - "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
], - "additional_card": {
- "function": "SingleCard",
- "card_id": "5168 xxxx xxxx 8932"
}, - "qr_code": "string"
}
], - "customer_data": {
- "odometer": 0,
- "driver_number": "string",
- "vehicle_number": "string",
- "additional_info": "string",
- "license_plate": "string",
- "cost_center": "string"
}, - "receipt": {
- "ocmf_start": "string",
- "ocmf_stop": "string",
- "state": "string",
- "additional_information": "string",
- "email": "string",
- "links": {
- "customer_url": "string"
}, - "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
]
}, - "terminal_transaction_number": "string",
- "session_id": "string"
}
]
}Updates an existing transaction by adding or modifying articles and/or payments. The transaction state will be automatically recomputed based on the updated article and payment states.
| transaction_id required | string <uuid> Example: 8a159c56-1785-4d8b-a40e-22cb47f56bba |
| site_id | string <uuid> The unique identifier of the site for which the transaction is taking place |
| point_id | string <uuid> The unique identifier of the point for which the transaction is taking place |
Array of objects (articles) | |
Array of objects (payments) | |
object (customer_data_object) | |
object (receipt) | |
| terminal_transaction_number | string Has possible two parts. First is number of fiscal printer which can be empty. Second Is a number between 0 and 9999 or 0 and 99999 (Customer-dependent). This number helps with identification, but is not unique on its own (overflow). |
| session_id | string Hubject Session ID |
{- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "point_id": "cd99f0d9-6824-4d90-b67f-24518d22d7b6",
- "articles": [
- {
- "id": "93a7a2ff-b08b-417d-ab46-c75b8d0729b4",
- "product_id": "93a7a2ff-b08b-417d-ab46-c75b8d0729b4",
- "category": "charging",
- "state": "reserved",
- "start_time": "2020-08-10T12:00:00+02:00",
- "end_time": "2020-08-10T13:15:00+02:00",
- "unit_price": 0.34,
- "amount": 10.5,
- "tax_percentage": 7.6,
- "tax_amount": 13,
- "quantity": 5,
- "free_quantity": 30,
- "max_quantity": 30,
- "max_amount": 120,
- "name": "Diesel",
- "unit_measure": "l",
- "currency": "EUR",
- "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
], - "charge_detail_record": {
- "encoding_method": "string",
- "encoding_method_version": 0,
- "public_key": "string",
- "signed_values": [
- {
- "nature": "string",
- "plain_data": "string",
- "signed_data": "string"
}
]
}
}
], - "payments": [
- {
- "id": "3fa85f64-5717-4562-b3fc-dsad213das",
- "identification_id": "020983c3-023c-47ec-a858-f1b3834dd5cf",
- "state": "open",
- "created_at": "2020-08-10T12:01:00+02:00",
- "reserved_amount": 120,
- "amount": 70,
- "currency": "EUR",
- "card_entrymode": "Remote",
- "entry_mode": "Remote",
- "medium": "Card",
- "type": "PSPCard",
- "function": "SingleCard",
- "scheme": "7 Byte UID",
- "card_id": "5168 xxxx xxxx 8932",
- "pin": "string",
- "terminal_receipt": [
- "string"
], - "fiscal_receipt": [
- "string"
], - "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
], - "additional_card": {
- "function": "SingleCard",
- "card_id": "5168 xxxx xxxx 8932"
}, - "qr_code": "string"
}
], - "customer_data": {
- "odometer": 0,
- "driver_number": "string",
- "vehicle_number": "string",
- "additional_info": "string",
- "license_plate": "string",
- "cost_center": "string"
}, - "receipt": {
- "ocmf_start": "string",
- "ocmf_stop": "string",
- "state": "string",
- "additional_information": "string",
- "email": "string",
- "links": {
- "customer_url": "string"
}, - "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
]
}, - "terminal_transaction_number": "string",
- "session_id": "string"
}{- "_links": {
- "self": "string",
- "next": "string",
- "prev": "string",
- "first": "string",
- "last": "string"
}, - "meta": {
- "limit": 0,
- "start": 0,
- "size": 0,
- "total": 0
}, - "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "mandator_id": "dc5a5bcf-08ed-4181-bdd6-b189c7f464f9",
- "state": "created",
- "invoice": {
- "amount": 0,
- "paid_amount": 0,
- "currency": "string",
- "created_at": "2020-08-10T13:15:00+02:00",
- "tax_amount": 0
}, - "client": {
- "id": "john.doe@test.com",
- "type": "user"
}, - "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "point_id": "cd99f0d9-6824-4d90-b67f-24518d22d7b6",
- "articles": [
- {
- "id": "93a7a2ff-b08b-417d-ab46-c75b8d0729b4",
- "product_id": "93a7a2ff-b08b-417d-ab46-c75b8d0729b4",
- "category": "charging",
- "state": "reserved",
- "start_time": "2020-08-10T12:00:00+02:00",
- "end_time": "2020-08-10T13:15:00+02:00",
- "unit_price": 0.34,
- "amount": 10.5,
- "tax_percentage": 7.6,
- "tax_amount": 13,
- "quantity": 5,
- "free_quantity": 30,
- "max_quantity": 30,
- "max_amount": 120,
- "name": "Diesel",
- "unit_measure": "l",
- "currency": "EUR",
- "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
], - "charge_detail_record": {
- "encoding_method": "string",
- "encoding_method_version": 0,
- "public_key": "string",
- "signed_values": [
- {
- "nature": "string",
- "plain_data": "string",
- "signed_data": "string"
}
]
}
}
], - "payments": [
- {
- "id": "3fa85f64-5717-4562-b3fc-dsad213das",
- "identification_id": "020983c3-023c-47ec-a858-f1b3834dd5cf",
- "state": "open",
- "created_at": "2020-08-10T12:01:00+02:00",
- "reserved_amount": 120,
- "amount": 70,
- "currency": "EUR",
- "card_entrymode": "Remote",
- "entry_mode": "Remote",
- "medium": "Card",
- "type": "PSPCard",
- "function": "SingleCard",
- "scheme": "7 Byte UID",
- "card_id": "5168 xxxx xxxx 8932",
- "pin": "string",
- "terminal_receipt": [
- "string"
], - "fiscal_receipt": [
- "string"
], - "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
], - "additional_card": {
- "function": "SingleCard",
- "card_id": "5168 xxxx xxxx 8932"
}, - "qr_code": "string"
}
], - "customer_data": {
- "odometer": 0,
- "driver_number": "string",
- "vehicle_number": "string",
- "additional_info": "string",
- "license_plate": "string",
- "cost_center": "string"
}, - "receipt": {
- "ocmf_start": "string",
- "ocmf_stop": "string",
- "state": "string",
- "additional_information": "string",
- "email": "string",
- "links": {
- "customer_url": "string"
}, - "log": [
- {
- "code": 0,
- "description": "string",
- "timestamp": "2020-08-10T13:15:00+02:00",
- "level": "string"
}
]
}, - "terminal_transaction_number": "string",
- "session_id": "string"
}
]
}| mandator_id required | string <uuid> |
| start_date required | string <date-time> Example: start_date=2020-08-10T10:00:00Z |
| end_date required | string <date-time> Example: end_date=2020-08-10T10:00:00Z |
composite_filter_descriptor (object) or filter_descriptor (object) Filters should be sent as encoded URI. All general fields can be filtered and for nested object only the created_at from invoice. |
{- "_links": {
- "self": "string",
- "next": "string",
- "prev": "string",
- "first": "string",
- "last": "string"
}, - "meta": {
- "limit": 0,
- "start": 0,
- "size": 0,
- "total": 0
}, - "data": [
- {
- "hourly_transactions": [
- {
- "hour": "string",
- "transactions": 0
}
], - "payment_type_ranking": [
- {
- "amount": 0,
- "payment_type": "string"
}
], - "payment_medium_ranking": [
- {
- "amount": 0,
- "payment_medium": "string"
}
], - "payment_scheme_ranking": [
- {
- "amount": 0,
- "payment_scheme": "string"
}
], - "payment_entry_mode_ranking": [
- {
- "amount": 0,
- "payment_entry_mode": "string"
}
], - "payment_function_ranking": [
- {
- "amount": 0,
- "payment_function": "string"
}
], - "article_quantities_ranking": [
- {
- "unit_measure": "string",
- "articles_quantities": [
- {
- "article_name": "string",
- "quantity": 0
}
]
}
], - "sites_amount_ranking": [
- {
- "amount": 0,
- "site_name": "string"
}
], - "sites_transactions_ranking": [
- {
- "site_name": "string",
- "transactions": 0
}
], - "transactions_count": {
- "growth": 0,
- "value": 0
}, - "transactions_total_amount": {
- "growth": 0,
- "value": 0
}
}
]
}