User authentication and session management for B2B integrations
- Manual withdraw/deposit to loyalty card in chain
Get a List of Customer Cards by ID
Get a List of Customer Cards by Phone Number
Get User Loyalty Cards
Get a list of card types available at the location
Get a List of Card Types Available for Issuance to the Client
Get a List of Card Types Available at the Chain
Issue a Loyalty Card
Remove a Loyalty Card
Manual withdraw/deposit to loyalty card in location
Manual withdraw/deposit t...
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/
Bodyapplication/json
Withdraw/deposit amount. Positive for deposit, negative for withdraw.
Example: 100.5
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/company/{location_id}/loyalty/cards/{card_id}/manual_transaction
- Productionhttps://api.alteg.io/api/v1/company/{location_id}/loyalty/cards/{card_id}/manual_transaction
- 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/company/123/loyalty/cards/{card_id}/manual_transaction' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"amount": 100.5,
"title": "string"
}'Response
application/json
{ "success": true, "data": { "id": 0, "balance": 0, "points": 0, "paid_amount": 0, "sold_amount": 0, "visits_count": 0, "number": "string", "type_id": 0, "salon_group_id": 0, "max_discount_percent": 0, "max_discount_amount": 0 }, "meta": {} }
Bodyapplication/json
Withdraw/deposit amount. Positive for deposit, negative for withdraw.
Example: 100.5
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/chain/{chain_id}/loyalty/cards/{card_id}/manual_transaction
- Productionhttps://api.alteg.io/api/v1/chain/{chain_id}/loyalty/cards/{card_id}/manual_transaction
- 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/chain/123/loyalty/cards/{card_id}/manual_transaction' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"amount": 100.5,
"title": "string"
}'Response
application/json
{ "success": true, "data": { "id": 0, "balance": 0, "points": 0, "paid_amount": 0, "sold_amount": 0, "visits_count": 0, "number": "string", "type_id": 0, "salon_group_id": 0, "max_discount_percent": 0, "max_discount_amount": 0 }, "meta": {} }