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

# Pay Station API

Build reliable payment experiences with Pay Station.

The Pay Station API currently provides merchant authentication, account discovery, and persistent virtual-account creation. Payments received through a reserved account are reconciled to the associated customer and reflected in the merchant dashboard.

{% hint style="info" %}
The current API version is **v1**. Only endpoints documented as available should be used in production.
{% endhint %}

## Base URL

```
https://paystation.ng/api/v1
```

## Start here

1. [Get your API keys](/getting-started/api-keys.md)
2. [Authenticate requests](/getting-started/authentication.md)
3. [Create your first virtual account](/getting-started/quickstart.md)
4. [Understand idempotency](/guides/idempotency.md)

## Available endpoints

| Method | Endpoint            | Description                                     |
| ------ | ------------------- | ----------------------------------------------- |
| `GET`  | `/status`           | Check API availability                          |
| `GET`  | `/account`          | Retrieve the authenticated merchant             |
| `POST` | `/virtual-accounts` | Create or retrieve a persistent virtual account |

## Support

Never send secret keys through email, chat, or support tickets. When requesting help, include only your public key and Pay Station request reference.


---

# 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.paystation.ng/readme.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.
