---
title: "Upload payment batch file."
method: POST
path: "/v1/transactions/batches/files"
tags: ["Transactions"]
---

# Upload payment batch file.

`POST /v1/transactions/batches/files`

Upload payment batch file.

## Headers

- `Idempotency-Key` string, uuid, required

## Request body

- UploadBatchFileRequest — Request to upload a payments batch file. Note: `file` can contain up to 1000 payments.
  - `batch_type` 'LocalPayment', required — The type of batch being uploaded.
  - `file` string, binary, required — CSV file contents.
  - `file_name` string, required — The file name of the batch being uploaded.

## Response `201`

Batch file has successfully been created

- UploadBatchFileResponse — Response to uploading a batch file.
  - `batch_id` string, uuid, required

## Other responses

- `400` — Unable to upload batch file due to bad data

---

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