# Payin API

This section covers technical details of the Payin API. It contains functional examples of the requests and important observations to be taken into account during integration.

{% hint style="success" %}

* All calls to the Payin API use HTTP POST Request.
* All calls to the Payin API should with JSON body parameters.
* All calls to the Payin API will return JSON responses, including errors.&#x20;
  {% endhint %}

## Content

* [<mark style="color:orange;">**Environment**</mark>](https://docs.pagsmile.com/payin/environments)
  * Sandbox environment vs Production.
* [<mark style="color:orange;">**Checkout Page**</mark>](https://docs.pagsmile.com/payin/checkout-page)
  * How to create a checkout page.
* [<mark style="color:orange;">**Submit a payin**</mark>](https://docs.pagsmile.com/payin/submit-a-payin)
  * How to submit a payin request.
* [<mark style="color:orange;">**Notification**</mark>](https://docs.pagsmile.com/payin/notification)
  * Receiving a notification. When and how.
* [<mark style="color:orange;">**Recurring Payment**</mark>](https://docs.pagsmile.com/payin/recurring-payment)
  * Credit card recurring payment
* [<mark style="color:orange;">**Pagsmile JavaScript**</mark>](https://docs.pagsmile.com/broken-reference)
  * Use JS to get token and fingerprint
* [<mark style="color:orange;">**Support Bank List Query**</mark>](https://docs.pagsmile.com/payin/tools/supported-bank-list-query)
  * Get support bank list for Cash and Banktransfer payment
* [<mark style="color:orange;">**Payin Detail**</mark>](https://docs.pagsmile.com/broken-reference)
  * Query the details of an order
* [<mark style="color:orange;">**Installment Detail Query**</mark>](https://docs.pagsmile.com/payin/tools/installment-detail-query)
  * Query the installment detail of a credit card order
* [<mark style="color:orange;">**Refund**</mark>](https://docs.pagsmile.com/payin/refund)
  * Submit refund request
* [<mark style="color:orange;">**Data**</mark>](https://docs.pagsmile.com/payin/data)
  * Some usefully data like methods, test data, etc
* <mark style="color:orange;">**API Code**</mark>
  * Pagsmile Payin API Code


---

# 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.pagsmile.com/payin.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.
