User authentication and session management for B2B integrations
Business Management (1.0.0)
Full-featured B2B API for business operations.
Base URL: https://api.alteg.io/api
V1 will be gradually deprecated. We recommend using V2 API for new integrations. V1 endpoints are maintained for backward compatibility, but new features will be released in V2 only.
Request
page: Page number
count: Number of customers per page
account_id: Checkout ID
supplier_id: Supplier ID
client_id: Client ID
user_id: user ID
master_id: team member ID
type: transaction type
real_money: Indicates whether this is a real-money (fiat) transaction
deleted: whether the transaction was deleted
start_date: start date of the period
end_date: end date of the period
balance_is: 0 - any balance, 1 - positive, 2 - negative
document_id: document ID
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/transactions/{location_id}
- Productionhttps://api.alteg.io/api/v1/transactions/{location_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/transactions/{location_id}?page=1&count=50&account_id=0&supplier_id=0&client_id=0&user_id=0&master_id=0&type=0&real_money=0&deleted=0&start_date=20251201&end_date=20251231&balance_is=1&document_id=0' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Array of objects with data
{ "success": true, "data": [ { … } ], "meta": [] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/timetable/transactions/{location_id}
- Productionhttps://api.alteg.io/api/v1/timetable/transactions/{location_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/timetable/transactions/{location_id}?record_id=0&visit_id=0' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Array of objects with data
{ "success": true, "data": [ { … } ], "meta": [] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/finance_transactions/{location_id}
- Productionhttps://api.alteg.io/api/v1/finance_transactions/{location_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/finance_transactions/{location_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"expense_id": 2640,
"amount": 100,
"account_id": 39105,
"client_id": 4240788,
"supplier_id": 0,
"master_id": 0,
"comment": "Test transaction comment",
"date": "2026-08-29T10:00:00-05:00"
}'OK
Object with data
{ "success": true, "data": { "id": 277016617, "document_id": 0, "date": "2026-09-21T23:00:00.000-05:00", "type_id": 5, "expense_id": 5, "account_id": 774020, "amount": 100, "client_id": 51520012, "master_id": 921395, "supplier_id": 0, "comment": "Transaction comment", "item_id": 0, "target_type_id": 0, "record_id": 0, "goods_transaction_id": 0, "expense": { … }, "account": { … }, "client": { … }, "master": { … }, "supplier": [] }, "meta": [] }