Skip to content
Nasfam Business

Appearance

Digital Product APIs and Blockchain Services for Businesses.

Deliver Telegram Stars and Telegram Premium through one API, track every order to delivery, and build toward crypto payouts and blockchain services on the same platform.

An example Nasfam Business dashboard on sample figures: one available balance in USD; a Telegram Stars order and a Telegram Premium order, each placed by one API request, that reserve their amount from it and succeed; and requests in Crypto Payouts, which the platform is building toward, for SOL on Solana and BTC on Bitcoin.

Three examples in turn: an order for Telegram Stars, an order for Telegram Premium, and a preview of the Crypto Payouts API, which is not served. They pause while you point at them, touch them or focus them.

Telegram StarsLive

POST https://api.nasfampay.com/v1/orders

Authorization: Bearer $NASFAM_LIVE_KEY

{  "product": "telegram_stars",  "username": "@recipient",  "quantity": 100}

202 Accepted

{  "id": "ord_01K7SAMP000000000000000093",  "product": "telegram_stars",  "status": "processing"}

Telegram PremiumLive

POST https://api.nasfampay.com/v1/orders

Authorization: Bearer $NASFAM_LIVE_KEY

{  "product": "telegram_premium",  "username": "@recipient",  "months": 3}

202 Accepted

{  "id": "ord_01K7SAMP000000000000000094",  "product": "telegram_premium",  "status": "processing"}

Crypto PayoutsAPI preview

POST /v1/payouts/quotes

{  "network": "solana",  "asset": "SOL",  "address": "ExampLe...",  "memo": null,  "amount": "40.00",  "amount_side": "debit"}

200 OK

{  "id": "pyt_...",  "state": "quoted"}

Sell digital products from your own app, bot or store.

Start with Telegram Stars and Telegram Premium. Your customer pays you, one API request places the order, and we deliver it to their Telegram account.

Telegram Stars API

Deliver up to 1,000,000 Telegram Stars through a reliable API.

POST /v1/ordersLive

{  "product": "telegram_stars",  "username": "@recipient",  "quantity": 100}
50 to 100,000 Stars per orderproduct: Telegram Stars. username: Recipient. quantity: 100 Stars.
  • Sent to the Telegram username your customer gives you
  • Paid from your prepaid balance, held before delivery
  • A status on every order, a signed event when it ends

Explore Telegram Stars APIOrders guide

Telegram Premium API

Give customers Telegram Premium as a plan or a perk.

POST /v1/ordersLive

{  "product": "telegram_premium",  "username": "@recipient",  "months": 3}
3612monthsproduct: Telegram Premium. username: Recipient. months: 3 months.
  • A recipient check before you pay, when you want one
  • One price per term, fixed by a quote
  • The same request, balance and events as Stars

Explore Telegram Premium APIRecipient check guide

How Crypto Payouts will work.

Crypto Payouts is coming soon. Follow one payout from its address to its final result.

API previewExample values. It sends no money.

  1. Address Validation

    The address is checked against its network's rules before anything moves. A valid format says nothing about who holds the wallet.

    Part of Wallet Address Validation & Screening.

    API preview

    NetworkSolana

    • ExampLe...1111

      Valid Solana address

    • 0xabcde...ef01

      This is not a valid address on this network.

  2. Wallet Screening

    A well-formed address can still belong to a wallet you should not pay. Screening is a separate check.

    API preview

    Not available yet

    Whether the wallet appears on sanctions or risk lists. This needs a screening provider, and there is none yet.

  3. Create Payout

    A quote fixes the amount. Accept it in time and the amount is held while the payout is sent.

    API preview

    POST /v1/payouts/quotes

    "asset": "SOL","amount": "40.00","address": "ExampLe...1111"

    Amount: 40.00 USD, taken from your account (amount_side: debit)

  4. Track Transaction

    Follow it by API or a signed event at each change. It is delivered only once it is final.

    API preview

    1. submitted
    2. broadcast
    3. confirmed
    4. finalized

    Example: confirmed, waiting to be final

Read about Crypto Payouts

Prices per order, in USD.

Prices can change between orders. Each order is priced when you place it, and its quote is what you pay.

See every price and plan
Stars packages
100 Stars · $1.62Create a free account

Built for stores, games, bots and wallets.

Pick the kind of business closest to yours, and see the order it would send.

A purchase in your store becomes an order.

When a customer pays you, your checkout sends one request and we deliver the Stars.

Explore Telegram Stars API

POST /v1/orders

{  "product": "telegram_stars",  "username": "@store_customer",  "quantity": 1000}

Sample usernames and orders, subject to eligibility.

See every use case

Open your account and place your first order.

Your account starts on test money. Real orders open when your business is activated.