User authentication and session management for B2B integrations
- Example of a request for fiscalization of a document
Get fiscal transactions
Print fiscal receipt
List request example
Example of a request in case of successful fiscalization or in case of an error
Example of a request for...
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.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v1/openapi/
Production
https://api.alteg.io/api/v1/
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/integration/kkm/callback
- Productionhttps://api.alteg.io/api/v1/integration/kkm/callback
- 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/integration/kkm/callback \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Conetnt-Type: string' \
-H 'Content-Type: application/json' \
-d '{}'Bodyapplication/jsonrequired
Date and time the document was sent for printing (in ISO-8601 format)
Example: "2026-09-21T23:00:00.000-05:00"
Whether to print a paper check at the checkout during fiscalization
Example: true
List of positions in the check
Example: [{"type":"service","title":"Consultation","price":13.19,"quantity":1,"discount_amount":2.54,"vat":"ru_vat_10","payment_method":"payment","barcode":"12345"}]
List of fees applied per check
Example: [{"type":"card","sum":5.55},{"type":"cash","sum":4.55},{"type":"prepaid","sum":0.55}]
The Essence of a Cashier
Example: {"uid":"4895-9395-0133195612a4","name":"John Smith","position":"Cashier"}
Link to update fiscal status
Example: "https://app.alteg.io/api/v1/integration/kkm/callback/"
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/https://your-api.url
- Productionhttps://api.alteg.io/api/v1/https://your-api.url
- 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/https://your-api.url \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": "d72fece5-6825-4895-9395-0133195612a4",
"date": "2026-09-21T23:00:00.000-05:00",
"document_id": 239083104,
"type": "sale",
"print_receipt": true,
"customer": {
"email": "customer@example.com",
"phone": "+13155550175"
},
"positions": [
{
"type": "service",
"title": "Consultation",
"price": 13.19,
"quantity": 1,
"discount_amount": 2.54,
"vat": "ru_vat_10",
"payment_method": "payment",
"barcode": "12345"
}
],
"payments": [
{
"type": "card",
"sum": 5.55
},
{
"type": "cash",
"sum": 4.55
},
{
"type": "prepaid",
"sum": 0.55
}
],
"tax": "ru_osn",
"cashier": {
"uid": "4895-9395-0133195612a4",
"name": "John Smith",
"position": "Cashier"
},
"pos": {
"enabled": true,
"slip_count": 2
},
"callback_url": "https://app.alteg.io/api/v1/integration/kkm/callback/",
"custom_text": "some custom text"
}'Response
application/json
{ "id": "d72fece5-6825-4895-9395-0133195612a4", "status": "success", "code": 0, "message": "OK" }