> For the complete documentation index, see [llms.txt](https://docs.50spays.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.50spays.com/intro.md). Agents can also search and read this documentation through its [MCP server](https://docs.50spays.com/~gitbook/mcp).

# Overview

50sPays merchant API — base URLs, navigation, and integration principles

Integrate deposits, payouts, and order lifecycle over a signed JSON API.

## Environments

| Environment    | Base URL                       | Notes                           |
| -------------- | ------------------------------ | ------------------------------- |
| Production     | `https://api.50spays.org`      | Live traffic                    |
| Demo / staging | `https://api-demo.50spays.org` | Auto-complete rules for testing |
| Merchant panel | <https://app.50spays.org>      | UID + API secret                |

## How the docs are organized

| Section                                                                                                 | What you will find                                       |
| ------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| [Getting started](https://docs.50spays.com/getting-started.md)                                          | Auth headers, HMAC signature, webhooks                   |
| [PayIn](https://docs.50spays.com/payin.md) / [PayOut](https://docs.50spays.com/payout.md)               | Create payment and payout orders                         |
| [Orders](https://docs.50spays.com/orders.md) / [Balances](https://docs.50spays.com/balances-section.md) | Status, list, cancel, appeal, balances                   |
| [Reference](https://docs.50spays.com/reference.md)                                                      | Methods, currency↔method matrix, statuses, errors, banks |
| [Security](https://docs.50spays.com/security.md)                                                        | Key encryption helpers, API key rotation                 |
| [Korea / VA](https://docs.50spays.com/korea-va.md)                                                      | Virtual account registration flow                        |

## Quick start

1. Create merchant credentials in the [panel](https://app.50spays.org).
2. Sign every request — see [Authentication](https://docs.50spays.com/getting-started/authentication.md).
3. Create a PayIn or PayOut order.
4. Handle [webhooks](https://docs.50spays.com/getting-started/webhook-callback.md) and poll [Order Info](https://docs.50spays.com/orders/order-info.md) when needed.
5. Use [Reference](https://docs.50spays.com/reference.md) for method / currency mappings.

## Related product URLs

| Surface                | URL                            |
| ---------------------- | ------------------------------ |
| Merchant panel         | <https://app.50spays.org>      |
| Merchant API host (LB) | <https://merchant.50spays.org> |
| Landing                | <https://50spays.com>          |
| Docs                   | <https://docs.50spays.org>     |

## Documentation languages

| Language | Code | Docs path       |
| -------- | ---- | --------------- |
| English  | `en` | `/en` (default) |
| Türkçe   | `tr` | `/tr`           |
| العربية  | `ar` | `/ar`           |
| Қазақша  | `kk` | `/kk`           |
| 한국어      | `ko` | `/ko`           |

Switch language in the docs header language picker.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.50spays.com/intro.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
