Customers
Get Customer Balance Transactions
Changed onRetrieves the balance transactions for a customer in a shop.
get/v1/shops/{shopId}/customers/{customerId}/balance-transactions
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Example response
{
"current_page": 1,
"data": [
{
"id": "a31fa60d-114c-45ef-80e8-4990d9e8de78",
"type": "incoming",
"description": "Balance top up",
"shop_customer_id": 2,
"invoice_id": null,
"amount": "25.00",
"currency": "USD",
"created_at": "2026-11-01T20:00:51.000000Z",
"invoice": null
}
],
"first_page_url": "http://api.sellauth.test/v1/shops/1/customers/2/balance-transactions?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://api.sellauth.test/v1/shops/1/customers/2/balance-transactions?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "http://api.sellauth.test/v1/shops/1/customers/2/balance-transactions?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"next_page_url": null,
"path": "http://api.sellauth.test/v1/shops/1/customers/2/balance-transactions",
"per_page": 20,
"prev_page_url": null,
"to": 1,
"total": 1
}Changes
- breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
added the optional property
//to the response with the status
- breaking