⬆️
Upgrades & pricing (SAAS)
Fetching service pricing and creating upgrade orders.
GRAPHQL
SAAS service pricing
PublicGRAPHQLhttps://saas-api.mona.academy/graphql/
Returns the service list (DRM/Email), price tiers and affiliate incentives (saasPrice query).
Base URL: https://saas-api.mona.academy (NEXT_PUBLIC_API)
Example response
Response
{
"data": {
"saasPrice": {
"services": [ { "type": "drm", "items": [ { "entity_id": 1, "name": "...", "price": 100000 } ] } ],
"step_price": [ { "price": 100000, "quantity": 1, "promotions": [] } ],
"affiliate": { "name": "...", "discount_percent": 10 }
}
}
}GRAPHQL
Create a SAAS upgrade order
🔒 Token requiredGRAPHQLhttps://saas-api.mona.academy/graphql/
Creates a service upgrade order (createSaasOrder mutation).
Base URL: https://saas-api.mona.academy (NEXT_PUBLIC_API)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| services | [Int] | Yes | List of service IDs |
| quantity | Int | Yes | Number of months |
| coupon_code | String | No | Discount code (optional) |