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

# Accept Payments Online

Integrate GoBTC Pay into a website or web app with the **Web SDK**. The integration authenticates with a terminal's **Terminal key (Web SDK)**.

{% hint style="info" %}
**Before you begin.** Payments cannot be settled until you have a [linked receiving wallet](/guides/account-settings.md#receiving-wallet-and-custody).
{% endhint %}

### Step 1: Create a store and terminal

1. Open **Stores** and click **Add store:**<br>

   <figure><img src="/files/aRw5ifituLqw6pr8cT3t" alt=""><figcaption></figcaption></figure>
2. Enter a **Store name** (address and country are optional), then click **Create store**.
3. On the store's row, click **Manage:**<br>

   <figure><img src="/files/NpL7XABfiBanJ9NVotcx" alt=""><figcaption></figcaption></figure>
4. On the **Terminals** tab, click **Add terminal:**\
   ![](/files/9lhK6p8KQn28UMj4cDcS)
5. Enter a **Terminal name** (location is optional), then click **Add terminal**.
6. Pair the terminal with the GoBTC Pay POS app.

See [Stores and POS Terminals](/stores-and-pos-terminals.md).

### Step 2: Get the Terminal key (Web SDK)

Open the terminal to see its details, including the **Terminal key (Web SDK):**

<figure><img src="/files/3aGja6Hdulo5FDheoXsB" alt=""><figcaption></figcaption></figure>

This key authenticates your web integration for that terminal.

{% hint style="warning" %}
Keep the Terminal key server-side. If it may have been exposed, use the **Rotate key** to invalidate the old one.
{% endhint %}

### Step 3: Build your checkout

Use the **Terminal key** with the Web SDK to present checkout on your site. When the customer pays from the GoBTC Pay app and approves, you get an instant **Approved** response; on-chain settlement follows in a later batch (see [Payment Lifecycle](/guides/payment-lifecycle.md)).


---

# 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.gobtcpay.com/guides/accept-payments-online.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.
