Skip to content

Nasfam Business API docs

Guides and an API reference for delivering Telegram Stars and Premium to a Telegram username, from the quickstart to webhooks.

Where to start

What you can build

Build with AI

These pages are written for you and for the assistant you work with. Hand it one page, or the whole documentation, in the form it reads best.

On every page

  1. Copy pageOne press copies the page as Markdown, ready to paste into any assistant. The same control opens the page as a .md file.

  2. Use with AIChoose your assistant. It opens in a new tab with a short prompt for that page already in it.

    • ChatGPT
    • Claude
    • Perplexity
    • Google AI
    • Grok
    • Cursor
  3. You send itThe prompt points at the page and names your language and HTTP client. Nothing is sent for you. For your terminal, the prompt is copied to paste there.

    • Claude Code
Try it on Create order

The same documentation, as files for your tools

API fundamentals

Latest changes

Contract, pinned on 2026-11-13

  • POST /recipient-lookups, the account found at a username, for your customer to confirm before you quote. recipient_lookup on a quote and an order, and found on a quote's recipient.
  • Three event types: order.accepted, order.refunded and deposit.confirmed.
  • USD credits: usd, headline, activity and spending_currency on GET /balance, pay_with on a quote, conversion on a credited GRAM deposit and gram_conversion on the statement.