---
title: "Download a Bank Payroll Formatted File"
method: GET
path: "/v1/banking/bank_payrolls/{bank_payroll_id}/file"
tags: ["Bank payroll"]
---

# Download a Bank Payroll Formatted File

`GET /v1/banking/bank_payrolls/{bank_payroll_id}/file`

## Request

- Base URL: `https://api.cardda.com`
- URL: `https://api.cardda.com/v1/banking/bank_payrolls/{bank_payroll_id}/file`
- Auth: HTTP bearer

This endpoint will allow you to download a Bank Payroll file in the format that the bank requires. This file is the one that you will upload to the bank's website to make the payment.

## Parameters

- `#/paths/~1v1~1banking~1bank_keys/get/parameters/0` (unresolved $ref)
- `#/paths/~1v1~1banking~1bank_payrolls~1%7Bbank_payroll_id%7D/get/parameters/1` (unresolved $ref)

## Response `200`

Payroll formatted file

## Other responses

- `401`: Unauthorized
- `422`: Only Bice allows file upload (422)

---

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