> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidoc-v1.maniscloud.com/llms.txt.
> For full documentation content, see https://apidoc-v1.maniscloud.com/llms-full.txt.

# Get Payins in Manis

GET https://api/v1/payins

Reference: https://apidoc-v1.maniscloud.com/manis-unified-api-v-1-0/payin/get-payins-in-manis

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/v1/payins:
    get:
      operationId: get-payins-in-manis
      summary: Get Payins in Manis
      tags:
        - subpackage_payin
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
        - name: pageSize
          in: query
          required: false
          schema:
            type: integer
        - name: pspId
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Payin_Get Payins in Manis_Response_200'
servers:
  - url: https:/
components:
  schemas:
    ApiV1PayinsGetResponsesContentApplicationJsonSchemaDataItemsTransaction:
      type: object
      properties:
        pspId:
          type: string
        amount:
          type: integer
        currency:
          type: string
        createdAt:
          type: string
          format: date-time
        createdBy:
          type: string
        requestId:
          type: string
          format: uuid
        updatedAt:
          type: string
          format: date-time
        updatedBy:
          type: string
        customerId:
          type: string
        merchantId:
          type: string
        webhookUrl:
          type: string
          format: uri
        paymentType:
          type: string
        pspTransactionId:
          type: string
        manisTransactionId:
          type: string
        manisTransactionStatus:
          type: string
      required:
        - pspId
        - amount
        - currency
        - createdAt
        - createdBy
        - requestId
        - updatedAt
        - updatedBy
        - customerId
        - merchantId
        - webhookUrl
        - paymentType
        - pspTransactionId
        - manisTransactionId
        - manisTransactionStatus
      title: ApiV1PayinsGetResponsesContentApplicationJsonSchemaDataItemsTransaction
    ApiV1PayinsGetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        createdAt:
          type: string
          format: date-time
        createdBy:
          type: string
        updatedAt:
          type: string
          format: date-time
        updatedBy:
          type: string
        pspPayinId:
          type: string
        transaction:
          $ref: >-
            #/components/schemas/ApiV1PayinsGetResponsesContentApplicationJsonSchemaDataItemsTransaction
        pspPayinMethod:
          type: string
        manisTransactionId:
          type: string
      required:
        - createdAt
        - createdBy
        - updatedAt
        - updatedBy
        - pspPayinId
        - transaction
        - pspPayinMethod
        - manisTransactionId
      title: ApiV1PayinsGetResponsesContentApplicationJsonSchemaDataItems
    Payin_Get Payins in Manis_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: >-
              #/components/schemas/ApiV1PayinsGetResponsesContentApplicationJsonSchemaDataItems
        totalItem:
          type: integer
        totalPage:
          type: integer
        currentPage:
          type: integer
      required:
        - data
        - totalItem
        - totalPage
        - currentPage
      title: Payin_Get Payins in Manis_Response_200

```

## SDK Code Examples

```python Payin_Get Payins in Manis_example
import requests

url = "https://https/api/v1/payins"

querystring = {"page":"2","pageSize":"10","pspId":"finmo"}

response = requests.get(url, params=querystring)

print(response.json())
```

```javascript Payin_Get Payins in Manis_example
const url = 'https://https/api/v1/payins?page=2&pageSize=10&pspId=finmo';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Payin_Get Payins in Manis_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://https/api/v1/payins?page=2&pageSize=10&pspId=finmo"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Payin_Get Payins in Manis_example
require 'uri'
require 'net/http'

url = URI("https://https/api/v1/payins?page=2&pageSize=10&pspId=finmo")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java Payin_Get Payins in Manis_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://https/api/v1/payins?page=2&pageSize=10&pspId=finmo")
  .asString();
```

```php Payin_Get Payins in Manis_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://https/api/v1/payins?page=2&pageSize=10&pspId=finmo');

echo $response->getBody();
```

```csharp Payin_Get Payins in Manis_example
using RestSharp;

var client = new RestClient("https://https/api/v1/payins?page=2&pageSize=10&pspId=finmo");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift Payin_Get Payins in Manis_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://https/api/v1/payins?page=2&pageSize=10&pspId=finmo")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```