Get Fees
GET/v1/shop/fees
Returns accounting records that are not related to transactions (monthly service fees).
Request
Query Parameters
Optional. From which date you would like to query fees.
Optional. Date until you would like to query fees.
Optional. Which page to show. This is useful for frontend together with per_page parameter.
Optional. How many statements in one page. This is useful for frontend together with page parameter.
Responses
- 200
- 401
OK
Response Headers
Date
string
Content-Type
string
Transfer-Encoding
string
Connection
string
Set-Cookie
string
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
X-Request-ID
string
Link
string
X-Total-Count
integer
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
The unique identifier for the accounting entry
The type of object (e.g., invoice, payment)
The timestamp when the accounting entry was created
The amount associated with the accounting entry
The VAT amount associated with the transaction
[
{
"accounting_id": "string",
"object": "string",
"created_at": "2024-07-29T15:51:28.071Z",
"amount": 0,
"vat": 0
}
]
[
{
"object": "accounting",
"amount": -10,
"vat": -2,
"id": "8bf8e1ac-9796-4db9-848b-4819eb0f42f4",
"created_at": "2023-11-30T02:01:46+0000"
},
{
"object": "accounting",
"amount": -5,
"vat": -1,
"id": "218aad9f-c5e3-4b19-bfdf-5df430ad0b05",
"created_at": "2023-12-31T21:30:12+0000"
}
]
Unauthorized
Response Headers
Date
string
Content-Type
string
Transfer-Encoding
string
Connection
string
Set-Cookie
string
WWW-Authenticate
string
- application/json
- Schema
- Example (from schema)
- Example
Schema
Error code representing the type of error.
Detailed error message.
{
"code": 0,
"message": "string"
}
{
"code": 1004,
"message": "Unauthorized"
}