# Getting Started

{% hint style="info" %}
Looking for a payment system for your own APIs? Head here for [Partner API Documentation](https://partner.paypi.dev)
{% endhint %}

## 1. Subscribing to an API

Subscribing to an API that uses PayPI for payments is easy, just follow their PayPI share URL, and follow the instructions to get a [Subscription Secret](https://docs.paypi.dev/subscriptions#subscription-secret) you can use with the API.&#x20;

[Example Subscription Link](https://app.staging.paypi.dev/subscribe/c2VydmljZTpkMmVhYTU2ZC05NjhhLTQxNWItODAxMy0zYzEzYjEyNmVlOGU=)

## 2. Using an API

You will find your [Subscription Secret](https://docs.paypi.dev/subscriptions#api-secret) on the Subscriptions page, follow the documentation from the API provider to see how to use this in requests.


---

# Agent Instructions: 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:

```
GET https://docs.paypi.dev/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
