# API Overview

To integrate with Paymento, you'll first need to create a merchant account at [https://app.paymento.io](https://app.paymento.io/) and obtain an API Key. This key is essential for all API calls, enabling your application to communicate with Paymento's services.

The figure below shows how stores connect with Paymento through APIs.

<figure><img src="/files/6754jSS6xiS6SEJS0cKC" alt=""><figcaption></figcaption></figure>

1\) To initiate a payment, your online store must send a payment request to the Paymento API.&#x20;

2\) A successful request will create an order for the transaction and return a token in the response. This token is used to redirect the user to the payment page.

3\) With the token received from creating the payment request, redirect the user to the Paymento payment page where they can choose from the allowed cryptocurrencies to complete the payment.

* **Payment URL:** `https://app.paymento.io/gateway?token=TOKEN_HERE`

Replace `TOKEN_HERE` with the token you received in the previous step.<br>

4\) After the payment is made, Paymento sends the payment status and details to the callback URL you've specified. Also, the end user will be redirected back to your site.

5\) It's crucial to verify the payment to finalize the order on your end. Upon receiving the payment notification, make an API call to confirm the payment status with the token you received.

<br>


---

# 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.paymento.io/api-documention/api-overview.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.
