Gramix for resellers

API for automated Telegram Stars and Premium purchases

Connect Telegram Stars and Telegram Premium to your website, app, or bot. Create orders programmatically, pay from your reseller balance, and track fulfillment through the API or webhooks.

API for business

Automate your Telegram Stars and Premium sales

Gramix API is built for resellers and digital services that want to offer Telegram Stars and Telegram Premium through their own website, app, bot, or internal platform. Instead of processing every purchase manually, your system sends an API request and Gramix creates a trackable order.

The integration uses a prepaid balance. Add funds to your dedicated API balance once, then let new orders debit it automatically. This removes the need to create and confirm a separate payment transaction before every customer order.

Getting started

From registration to your first API order

A basic integration takes four clear steps. The Gramix API v1 documentation includes full request parameters, response schemas, and ready-to-use code examples.

  1. 1

    Create an account and API key

    Register with Gramix, open the API section in your account, and issue a key for your server-side integration.

  2. 2

    Fund your API balance

    Add funds manually from your account or request the deposit address and memo programmatically through the API.

  3. 3

    Send a purchase request

    Provide the Telegram username, selected product, and a required idempotency key that protects against duplicate orders.

  4. 4

    Track the order status

    Store the order ID, check it through the API, or configure a webhook to receive status notifications automatically.

Reseller dashboard

Balance, payments, and orders in one place

You can run the integration entirely through the API, while essential controls remain available in your Gramix account. Check funds, find an order, or update access settings without involving a developer.

Processing speed

The same fulfillment infrastructure without paying for every order separately

API orders use the same Gramix service infrastructure as purchases placed on the website. For resellers, the difference is that funds are already available on the API balance. Once a request passes validation, its cost is debited automatically and the order enters processing without waiting for another payment transaction.

Actual fulfillment time depends on the selected product, valid recipient details, and the availability of the corresponding Telegram service.

  • A prepaid balance for recurring orders
  • Idempotency keys to prevent duplicate purchases
  • Completed and failed statuses through webhooks
  • Lookup for every order by its unique ID

Who it is for

An API for resellers, stores, and Telegram services

Online stores

Add Telegram Stars and Premium to your catalog and send paid customer orders to Gramix automatically.

Telegram bots and apps

Build your own purchase experience and connect server-side order fulfillment through a REST API.

High-volume resellers

Use a shared balance, automate repetitive work, and monitor the outcome of every customer order.

Frequently asked questions

Questions about the Gramix API

Ready to integrate the Telegram Stars and Premium API?

Compare current reseller prices, review the request format, and create an account to issue your API key and start integrating.