---
title: "List Payment Methods"
method: GET
path: "/expenses/cost_mapping/by_payment_method"
---

# List Payment Methods

`GET /expenses/cost_mapping/by_payment_method`

## Request

- Base URL: `https://app.runconverge.com/api`
- URL: `https://app.runconverge.com/api/expenses/cost_mapping/by_payment_method`
- Auth: none declared

## Query parameters

- `limit` integer
- `page` integer
- `payment_method` string, nullable
- `has_transaction_cost_mapping` boolean, nullable
- `datasource_id[]` integer[], nullable
- `date_range[since]` union
  - string, date
  - string, date-time
  - string
- `date_range[until]` union
  - string, date
  - string, date-time
  - string
- `tz` string, nullable
- `start_of_week` 0 | 1

## Headers

- `Authorization` string, nullable
- `X-User-Id` string, nullable
- `X-Browser-Time-Zone` string, nullable

## Cookies

- `session_id` string, nullable

## Response `200`

Successful Response

- PaymentMethodsResponse
  - `payment_methods` PaymentMethodSchema[], required
    - `payment_method` string, required
    - `datasource_id` integer, required
    - `datasource_name` string, required
    - `datasource_type` string, required
    - `orders` integer, required
    - `orders_with_synced_fees` integer, required
    - `has_transaction_cost_mapping` boolean, required
  - `count` integer, required

## Other responses

- `422`: Validation Error

---

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