---
title: "GET /source-of-payment/{sourceOfPaymentId}"
method: GET
path: "/source-of-payment/{sourceOfPaymentId}"
tags: ["SourcesOfPayment"]
---

# GET /source-of-payment/{sourceOfPaymentId}

`GET /source-of-payment/{sourceOfPaymentId}`

## Get source of payment
 Get source of payment detail

## Path parameters

- `sourceOfPaymentId` number, required

## Query parameters

- `authorization` string, required

## Response `200`

source of payment model and pagination info

- object
  - `sourceOfPayment` object
    - `id` number — Source of payment id
    - `name` string
    - `slug` string
    - `active` boolean
    - `fixedValue` number, nullable
    - `maxPayments` number
    - `createdAt` string
    - `expiresAt` string, nullable
    - `CompanyProduct` object
      - `id` number — Company product id
      - `companyId` number — Company id
      - `company` object
        - `id` number — Company id
        - `name` string
        - `slug` string
    - `totalPayIns` number
    - `totalPayInsByState` object, nullable
      - `accepted` number, nullable
      - `rejected` number, nullable
      - `pending` number, nullable
      - `cancelled` number, nullable
      - `abandoned` number, nullable
      - `initial` number, nullable

---

[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)
