Get Account Statement
GET/v1/shop/accountstatements
Get Account Statement
Request
Query Parameters
Either since or payout_id is mandatory.
Either since or payout_id is mandatory.
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
Optional. Until which date you wish to query account statements.
Responses
- 200
- 400
- 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 timestamp when the transaction was created
The amount of the transaction
The account balance before the transaction
The account balance after the transaction
The type of transaction (e.g., credit, debit)
Details about the transaction
The unique identifier for the transaction
The channel through which the transaction was processed (e.g., online, mobile)
Reference provided by the merchant for tracking the transaction
Unique identifier for the payout associated with the transaction
The original amount involved in the transaction before any conversion
The currency of the original amount
The exchange rate applied during the transaction
[
{
"created": "2024-07-29T15:51:28.071Z",
"amount": 0,
"balance_before": 0,
"balance_after": 0,
"type": "string",
"transaction": "string",
"transaction_id": "string",
"channel": "string",
"merchant_reference": "string",
"payout_id": "string",
"original_amount": 0,
"original_currency": "string",
"exchange_rate": 0
}
]
[
{
"created": "2023-01-06T00:00:02+0000",
"amount": -9.34,
"type": "PAYOUT",
"balance_before": 9.34,
"balance_after": 0,
"payout_id": "48831",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2023-01-06T04:10:08+0000",
"amount": 10,
"type": "INCOME",
"transaction": "1347131",
"channel": "EE_SWED_OB",
"balance_before": 0,
"balance_after": 10,
"transaction_id": "58185cbc-c844-4b65-848b-de26e4f4b3d3",
"merchant_reference": "autotest",
"payout_id": "48862",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2023-01-06T04:10:08+0000",
"amount": -0.3,
"type": "TRX_FEE_FIX",
"transaction": "1347131",
"channel": "EE_SWED_OB",
"balance_before": 10,
"balance_after": 9.7,
"transaction_id": "58185cbc-c844-4b65-848b-de26e4f4b3d3",
"merchant_reference": "autotest",
"payout_id": "48862",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2023-01-06T04:10:08+0000",
"amount": -0.06,
"type": "VAT",
"transaction": "1347131",
"channel": "EE_SWED_OB",
"balance_before": 9.7,
"balance_after": 9.64,
"transaction_id": "58185cbc-c844-4b65-848b-de26e4f4b3d3",
"merchant_reference": "autotest",
"payout_id": "48862",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2023-01-06T04:10:08+0000",
"amount": -0.25,
"type": "TRX_FEE",
"transaction": "1347131",
"channel": "EE_SWED_OB",
"balance_before": 9.64,
"balance_after": 9.39,
"transaction_id": "58185cbc-c844-4b65-848b-de26e4f4b3d3",
"merchant_reference": "autotest",
"payout_id": "48862",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2023-01-06T04:10:08+0000",
"amount": -0.05,
"type": "VAT",
"transaction": "1347131",
"channel": "EE_SWED_OB",
"balance_before": 9.39,
"balance_after": 9.34,
"transaction_id": "58185cbc-c844-4b65-848b-de26e4f4b3d3",
"merchant_reference": "autotest",
"payout_id": "48862",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2023-01-06T08:22:32+0000",
"amount": 10,
"type": "INCOME",
"transaction": "1347258",
"channel": "LV_SWED_OB",
"balance_before": 9.34,
"balance_after": 19.34,
"transaction_id": "6e7bf70d-370c-4e4e-bae0-091fe1ee0343",
"merchant_reference": "autotest",
"payout_id": "48862",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2023-01-06T08:22:32+0000",
"amount": -0.3,
"type": "TRX_FEE_FIX",
"transaction": "1347258",
"channel": "LV_SWED_OB",
"balance_before": 19.34,
"balance_after": 19.04,
"transaction_id": "6e7bf70d-370c-4e4e-bae0-091fe1ee0343",
"merchant_reference": "autotest",
"payout_id": "48862",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2023-01-06T08:22:32+0000",
"amount": -0.06,
"type": "VAT",
"transaction": "1347258",
"channel": "LV_SWED_OB",
"balance_before": 19.04,
"balance_after": 18.98,
"transaction_id": "6e7bf70d-370c-4e4e-bae0-091fe1ee0343",
"merchant_reference": "autotest",
"payout_id": "48862",
"original_amount": 0,
"exchange_rate": 0
},
{
"created": "2023-01-06T08:22:32+0000",
"amount": -0.25,
"type": "TRX_FEE",
"transaction": "1347258",
"channel": "LV_SWED_OB",
"balance_before": 18.98,
"balance_after": 18.73,
"transaction_id": "6e7bf70d-370c-4e4e-bae0-091fe1ee0343",
"merchant_reference": "autotest",
"payout_id": "48862",
"original_amount": 0,
"exchange_rate": 0
}
]
Bad Request
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
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Error code indicating the type of error
Error message describing the issue
errors
object[]
Type of error
Parameter in the request that caused the error
The expected value or format for the parameter
{
"code": 1001,
"message": "Invalid request",
"errors": [
{
"type": "string",
"parameter": "transaction",
"expected": "string"
}
]
}
{
"code": 1001,
"message": "since or payout_id must be present",
"errors": [
{
"type": "missing",
"parameter": "since"
},
{
"type": "missing",
"parameter": "payout_id"
}
]
}
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"
}