---
title: "GET /payments"
method: GET
path: "/payments"
tags: ["Payment"]
---

# GET /payments

`GET /payments`

Get payments related to loans

## Query parameters

- `business_id` string
- `cursor` string
- `deposit_id` string[]
- `from_account_id` string
- `from_date` string, date-time
- `id` string[]
- `include_bills` boolean
- `include_loans` boolean
- `include_payment_intents` boolean
- `is_reconciled` boolean
- `loan_id` string[]
- `page_size` integer
- `paid_after` string, date-time
- `paid_before` string, date-time
- `payment_intent_id` string[]
- `payment_method` string[]
- `payment_type` string[]
- `references` string[]
- `sort_by` 'amount:asc' | 'amount:desc' | 'payment_method:asc' | 'payment_method:desc' | 'scheduled_at:asc' | 'scheduled_at:desc'
- `status` string[]
- `to_account_id` string
- `to_date` string, date-time
- `updated_after` string, date-time

## Response `200`

OK

---

[API](https://skmtc.net/getdefacto/apis/api-reference.md) · [All operations](https://skmtc.net/getdefacto/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getdefacto/api-reference/revisions/0a9c1f8784f2/schema)
