---
title: "Get payment file 🌍"
method: GET
path: "/companies/{companyId}/payment-files"
tags: ["Company"]
---

# Get payment file 🌍

`GET /companies/{companyId}/payment-files`

## Request

- Base URL: `https://partner-api.payfit.com`
- URL: `https://partner-api.payfit.com/companies/{companyId}/payment-files`
- Auth: OAuth 2
  - Authorization code: `https://oauth.payfit.com/authorize`
  - Token URL: `https://oauth.payfit.com/token` scopes: `payment-files:read`
- TypeScript: <https://skmtc.dev/payfit/apis/partner-api/docs/companies/:companyId/payment-files/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the payment file of the company for a given month.
\
**Required scopes**: *payment-files:read*

## Path parameters

- `companyId` string, required

## Query parameters

- `date` string, required

## Response `200`

The Payment file

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

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