---
title: "GET /payIns/{sourceOfPaymentId}"
method: GET
path: "/payIns/{sourceOfPaymentId}"
tags: ["PayIn"]
---

# GET /payIns/{sourceOfPaymentId}

`GET /payIns/{sourceOfPaymentId}`

## Get PayIns by source of payment 
 Get all PayIns by source of payment id and by applied filters

## Path parameters

- `sourceOfPaymentId` number, required

## Query parameters

- `authorization` string, required
- `startDate` string
- `endDate` string
- `state` string[]
- `page` number
- `recordsPerPage` number

## Response `200`

array payins and pagination info

- object
  - `payIns` object[]
    - `Amount` number
    - `active` boolean
    - `createdAt` string
    - `id` number
    - `metaData` string
    - `payInGetWay` string
    - `product` object
      - `id` number
      - `slug` string
    - `type` string
    - `AmountCurrency` object
      - `id` number
      - `name` string
    - `Company` object
      - `id` number
    - `CompanyProduct` object
      - `id` number
    - `creatorUser` object
      - `id` number
    - `file` object
      - `fileName` string
      - `id` number
    - `ProductTransaction` object
      - `id` number
    - `state` string
    - `trasnferedAt` string
    - `userId` number
    - `validatedAt` string
    - `SourceOfPayment` object
      - `id` number
    - `LendsPayed` object
      - `id` number
  - `paginationInfo` object
    - `currentPage` number
    - `recordsPerPage` number
    - `totalRecords` number
    - `totalPages` number

---

[API](https://skmtc.dev/loopay/apis/loopay-api.md) · [All operations](https://skmtc.dev/loopay/apis/loopay-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/loopay/loopay-api/revisions/2f7c6537d598/schema)
