PUT
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer Token, Where accessToken is the access token used to authenticate the request.

Headers

Accept-Language
string
default:en

Preferred language for the response

X-Idempotency-Key
string

A unique key to ensure idempotent requests

Body

application/json
merchantAccountNumber
integer
required

The unique identifier of the merchant account (Required string length: 8)

Required range: 10000000 <= x <= 99999999
Example:

35253486

batchNumber
integer
required

The unique identifier of the batch number to approve

Required range: x >= 1
Example:

678

actionedBy
string
required

The email address of the user approving the batch

Maximum string length: 60
Example:

"admin@example.com"

Response

200 - application/json

Success Response (200 OK) - Batch approved successfully

MerchantAccountNumber
integer

The unique identifier of the merchant account

Example:

12345678

BatchNumber
integer

The unique identifier of the batch number

Example:

123456

CurrencyCode
string

The currency code of the batch

Example:

"MWK"

BatchStatusCode
string

The status code of the batch

Example:

"A"

ContentType
string

The content type of the batch

Example:

"CSV"

DataSource
string

The data source of the batch

Example:

"File"

NumberOfSuccessfulEntries
integer

The number of successful entries in the batch

Example:

1200

TotalAmountOfSuccessfulEntries
number<double>

The total amount of successful entries in the batch

Example:

52000500