How it Works

Pricing

During installation, you’ll set a CUSTOMER_PRICE_MARKUP to add a percentage markup to Platfone base prices. This percent is added to customer prices and is how you make a profit.

Billing

  • Your customers are charged only for received SMS.
  • If your Platfone balance is insufficient to cover the cost of received SMS, your customers will not be able to receive SMS until you top up your balance.

Tip

You can configure a webhook account.low_balance to be notified about low balance. See webhooks documentation for more details.

Privacy and Security

  • Open-source code provides full transparency and allows for customization.
  • Customer data synced to Platfone is anonymous; no personal information is shared.
  • Platfone has no access to your server, database, or any sensitive keys.

Technical Overview

The Platfone NodeJS Backend is an Express-based TypeScript server that proxies requests to the Platfone Retail API. Each end-user request is authenticated (e.g., using JWT or API keys), then the user identifier and Platfone API key are attached to each Retail API request, ensuring operations are authenticated and customer-specific.

The backend also processes and verifies payment transactions, storing them in a MySQL (MariaDB) database and updating user balances via the Platfone Retail API.

NodeJS App Architecture

The following diagram illustrates the basic architecture of the Platfone NodeJS Backend:

diagram

License

The Platfone NodeJS Backend is open-source and available under the MIT License with an API Restriction Clause. You can use it for free in your personal and commercial projects if used with the Platfone Retail API.

Getting Started

Deploy your Platfone NodeJS App

Follow step-by-step guide to deploy your SMS activation app with Platfone NodeJS Backend.