---
title: "Get Provider Payment Medium Payments"
method: GET
path: "/analytics/dashboards/provider-earnings/provider-payment-medium-payments"
tags: ["provider", "analytics"]
---

# Get Provider Payment Medium Payments

`GET /analytics/dashboards/provider-earnings/provider-payment-medium-payments`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/analytics/dashboards/provider-earnings/provider-payment-medium-payments`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/analytics/dashboards/provider-earnings/provider-payment-medium-payments/get.ts> (a function with typed inputs; its response is checked against the schema)

Get all payments for a specific payment medium for a provider with proportional attribution

## Query parameters

- `provider_id` string, required
- `payment_medium` string, required
- `timezone` string, required
- `start_date` string, date, nullable
- `end_date` string, date, nullable
- `location_ids` string[], nullable
- `page` integer
- `per_page` integer
- `sort_by` string
- `sort_direction` 'asc' | 'desc'

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Response `200`

Successful Response

- PageProviderPaymentDetail
  - `data` ProviderPaymentDetail[], required
    - `paymentId` string, required
    - `amount` integer, required
    - `createdDate` string, date-time, required
    - `chargeId` string, required
    - `patientId` string, nullable, required
    - `patientFirstName` string, nullable, required
    - `patientLastName` string, nullable, required
    - `locationId` string, nullable, required
    - `locationName` string, nullable, required
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
