Skip to Content
Payments & Fund TransfersBatch Payments

Create a Batch Payment

Create a batch payment.

This is an asynchronous operation. Listen to the payments.succeeded or payments.failed webhook to be notified of the final outcome of each payment.

See Batch payments: integrate and test for example requests and responses, the errors, and how to test.

Please refer to the payment rules page of each bank under Guides for details on per-bank limitations.

Test mode

With a test API key, some values make this endpoint succeed, fail or wait. See the test mode values for this endpoint.

POST
/v1/payment-batches

Authorization

authorization
headerAuthorizationBearer <SECRET_API_KEY>

Set Your Secret API Key

Header Parameters

Idempotency-Key?string

A unique value, eg. a UUID.

Request Body

application/json
currency*string

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

Length 1 <= length
paymentDate*string

The date payment should be sent.

Format date
payments?array<InlinedPaymentGeneric>

Payments to create in this batch. Maximum 1000 items.

senderAccountCurrency?string

Currency to use in the sender account, if it has multiple currencies. Optional if the sender account only has one currency configured.

senderAccountId*string

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

Length 1 <= length
type*string

Type of payment. Default PAYNOW is via FAST. Refer to the bank specific payment rules page for the supported types.

Length 1 <= length

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' \
  -H 'Content-Type: application/json' \
  -d '{
  "currency": "string",
  "paymentDate": "2019-08-24",
  "senderAccountId": "string",
  "type": "string"
}'
Example Response

SGD batch of bank account transfers. The batch and each payment start in PROCESSING while Acme builds the file for the bank.

{
  "id": "bpmt_0J7Q4A2M8V5X1",
  "type": "FAST",
  "paymentDate": "2026-09-10",
  "senderAccountId": "intacc_0H3BQY9BK1FCG",
  "senderAccountCurrency": "SGD",
  "currency": "SGD",
  "payments": [
    {
      "id": "pymt_0J7Q4C7T3W9R2",
      "amount": 20000,
      "currency": "SGD",
      "customerReference": "DONUTS",
      "paymentDetails": "10 boxes of 12 each",
      "receiver": {
        "name": "Donut Shop",
        "bank": "OCBCSGSGXXX",
        "bankAccountNumber": "123456789"
      },
      "status": "PROCESSING",
      "paymentAdviceEmails": [
        "finance@example.com"
      ],
      "createdAt": "2026-09-09T01:02:03.417284Z",
      "updatedAt": "2026-09-09T01:02:03.417284Z"
    },
    {
      "id": "pymt_0J7Q4F1K6D8N5",
      "amount": 3000,
      "currency": "SGD",
      "customerReference": "COFFEE",
      "receiver": {
        "name": "Coffee Shop",
        "bank": "UOVBSGSGXXX",
        "bankAccountNumber": "345678901"
      },
      "status": "PROCESSING",
      "createdAt": "2026-09-09T01:02:03.463910Z",
      "updatedAt": "2026-09-09T01:02:03.463910Z"
    }
  ],
  "status": "PROCESSING",
  "createdAt": "2026-09-09T01:02:03.401556Z",
  "updatedAt": "2026-09-09T01:02:03.512090Z"
}