Batch Payments - API

How to submit and manage bulk payments via the Lorum API, including the upload endpoint, CSV file format, and batch status reference.

Batch payments allow you to submit multiple outbound payments in a single API call by uploading a CSV file. Each valid row in the file is submitted as an individual payment instruction.


Uploading a Batch File

Upload a batch payment file via Upload Payment Batch File

POST /v1/transactions/batches/files.

The request must be a multipart/form-data upload.

📘

All batch upload requests must include an Idempotency-Key header. See Understanding Idempotency for details.

FieldTypeRequiredDescription
batch_typestringThe type of batch being created - currently only LocalPayment is supported
filefileThe CSV file to upload - see Batch Payment CSV Reference for the full column reference
file_namestringThe filename of the batch being uploaded

Retrieving Batches

List all batches via List Batches

GET /v1/transactions/batches.

Get a single batch via Get Batch

GET /v1/transactions/batches/{batch_id}.

The batch response includes the overall batch status and a breakdown of individual payment statuses within the batch.


Batch Statuses

StatusDescription
PendingBatch has been uploaded and is awaiting validation
ProcessingBatch is being processed
CompletedAll payments in the batch have been processed successfully
FailedBatch failed to process - check individual payment statuses for details
PartiallyCompletedSome payments completed successfully, others failed

Did this page help you?