Skip to Content
Payments & Fund TransfersBatch Payments

Close a Batch Payment

Close an open batch payment so no further payments can be added. Only batches in OPEN status can be closed.

POST
/v1/payment-batches/{id}/close

Authorization

authorization
headerAuthorizationBearer <SECRET_API_KEY>

Set Your Secret API Key

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

A unique value, eg. a UUID.

Response Body

OK

*/*
createdAt?string

Time at which the object was created. In ISO 8601 format.

currency?string

Three-letter ISO 4217 currency code in full uppercase. Must be a currency supported by the payment type.

id?string

Unique identifier for the object.

metadata?PaymentBatchMetadata

File metadata, for file-based submissions.

paymentDate?string

The date payment should be sent.

payments?array<PaymentBatchInlinedPayment>

The payments in this batch. Present in the create response, not when listing.

senderAccountCurrency?string

Currency used in the sender account, if it has multiple currencies.

senderAccountId?string

ID of the Internal Account that will be debited to make the payments.

status?string

Status of the batch. One of OPEN, PROCESSING, SUBMITTED, FAILED, or COMPLETED.

type?string

Type of payment. Default PAYNOW is via FAST.

underlyingErrorMessage?string

Raw error message from the bank, when available.

updatedAt?string

Time at which the object was last updated. In ISO 8601 format.

Example Request
curl -X POST 'https://api.tryacme.com/v1/payment-batches/string/close'
Example Response

The batch after closing. It moves from OPEN to PROCESSING and Acme starts building the file for the bank.

{
  "id": "bpmt_0J7Q4S9N4V7Y2",
  "type": "FAST",
  "paymentDate": "2026-09-10",
  "senderAccountId": "intacc_0H3BQY9BK1FCG",
  "senderAccountCurrency": "SGD",
  "currency": "SGD",
  "status": "PROCESSING",
  "createdAt": "2026-09-09T02:00:00.084512Z",
  "updatedAt": "2026-09-09T02:07:41.662090Z"
}