v1

latestOpenAPI 3.1.02026-07-136388308.2 KB
Batch Payments

Add a bank transfer to a batch.

This endpoint will add a new bank transfer payment to a batch. There are two ways to process bank transfers - by Payee ID (Mode 1) or by Payee Account Details (Mode 2).

Mode 1: Use the payee IDs of existing approved payees set up against your account. These batches can be approved in the normal manner.

Mode 2: Use the account details of the payee. In the event that these details correspond to an existing approved payee, the batch can be approved as normal. If the account details are new, a batch of New Payees will automatically be created. This batch will need to be approved before the Payment batch can be approved. These payees will then exist as approved payees for future batches. You will need to enable PERM_BUSINESS_POST_BATCH_BANKTRANSFERS to use this endpoint.

post/v1/batches/{batchUuid}/banktransfers

Path parameters

batchUuidstring required

The uuid of the batch.

Example:4ADFB67A-0F5B-4A9A-9D74-34437250045C

Request body

OR

Example request

{
  "icanFrom": 2001,
  "payeeId": 15002,
  "payeeType": "PAYEE_ID",
  "amount": 500,
  "myRef": "Payment to John Smith for Consultancy in device.",
  "yourRef": "ACME LTD - INV 23434"
}

Response

Batch payment added successfully. Note* Please use batchUuid when submitting a batch, not batchItemUuid.

batchItemUuidstring

A Batch Item UUID for this item. Note* Do not confuse this for BatchUuid when submitting a batch.

Example response

{
  "batchItemUuid": "fba4a76a-ce51-4fc1-b562-98ec01299e4d"
}