Marketplace application management, billing, and installation.
- Notify Altegio of Successful Payment
Developer Tools (1.0.0)
APIs for partners building integrations with the Altegio platform. Base URL: https://api.alteg.io/api
Marketplace — Manage your marketplace applications: list connected locations, configure tariffs, handle billing, process installation/uninstallation callbacks. Webhooks — Configure event notifications for your integrations. Receive real-time updates when appointments, clients, or other entities change. VoIP Integration — Connect telephony systems to match incoming calls with client records and log call history. Dictionaries — Reference data for building forms and validations: countries, cities, business types.
Request
After completing registration, the user must be redirected to this URL in the browser, along with any required data needed by the partner service.
- Mock serverhttps://developer.alteg.io/_mock/en/developers/openapi/marketplace/partner/callback/redirect
- https://app.alteg.io/marketplace/partner/callback/redirect
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.alteg.io/_mock/en/developers/openapi/marketplace/partner/callback/redirect \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"salon_id": 123,
"application_id": 123,
"api_key": "2f181e2a-5c22-4ae7-9d9b-07104f312c28",
"webhook_urls": [
"https://example.com/webhook"
]
}'{ "success": true }
Request
A webhook notification must be sent to this address to inform Altegio of a successful payment made on the partner service’s side.
Date from which the paid period begins (inclusive).
- Mock serverhttps://developer.alteg.io/_mock/en/developers/openapi/marketplace/partner/payment
- https://app.alteg.io/marketplace/partner/payment
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.alteg.io/_mock/en/developers/openapi/marketplace/partner/payment \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"salon_id": 123,
"application_id": 123,
"currency_iso": "EUR",
"payment_sum": 990.99,
"payment_date": "2022-01-01 10:10:00",
"period_from": "2022-01-01 10:10:00",
"period_to": "2022-02-01 10:10:00"
}'{ "success": true, "data": { "id": 123 } }
- Mock serverhttps://developer.alteg.io/_mock/en/developers/openapi/marketplace/partner/payment/refund/{payment_id}
- https://app.alteg.io/marketplace/partner/payment/refund/{payment_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.alteg.io/_mock/en/developers/openapi/marketplace/partner/payment/refund/123 \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>'