> For the complete documentation index, see [llms.txt](https://docs.sms4sats.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sms4sats.com/getting-started/getting-started.md).

# Overview

sms4sats is a pay-per-use SMS service backed by Bitcoin Lightning Network. There are no accounts required — just generate an order, pay the Lightning invoice, and receive your SMS activation code.

### How It Works

1. **Create an order** with your desired country and service (e.g. USA + Google).
2. **Pay the Lightning invoice** returned by the API using any Lightning wallet.
3. **Poll the order status** endpoint until your activation code arrives.
4. **Cancel** anytime after 2 minutes if no code has arrived — your payment is automatically returned.

{% hint style="success" %}
sms4sats uses [hold invoices](https://bolt.fun/guide/invoices/hodl-invoice). Your funds are only settled when an activation code is successfully delivered. If no code arrives within 21 minutes, the invoice is automatically canceled and funds returned.
{% endhint %}

### Payment Options

| Method            | Details                                                                                |
| ----------------- | -------------------------------------------------------------------------------------- |
| Bitcoin Lightning | Native payment method. Instant, no fees, no account.                                   |
| USDT / LTC / ETH  | Swap to Lightning BTC via [FixedFloat](https://fixedfloat.com/ETH/BTCLN?ref=pmdxabka). |

### Prepaid Account (API Key)

For automated or high-volume usage, you can fund a prepaid account with an API Key to skip the per-order invoice payment step. See [Fund Account](/api-reference/fund-account.md) and [Get Balance](/api-reference/get-balance.md).

### L402 / AI Agents

AI agents can use <https://api.sms4sats.com/skill.md> to operate the service autonomously via the [L402 protocol](https://github.com/lightninglabs/L402) with no human intervention.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sms4sats.com/getting-started/getting-started.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
