POST
/
disbursements
/
single
/
getTransactions
Get Single Disbursement Transactions
curl --request POST \
  --url https://api.onekhusa.com/sandbox/v1/disbursements/single/getTransactions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Merchant-Account-Number: <x-merchant-account-number>' \
  --header 'X-Organisation-Id: <x-organisation-id>' \
  --data '{
  "merchantAccountNumber": 35253486,
  "transactionDate": "2024-01-15",
  "pageNumber": 1,
  "numberOfReturnedRows": 10,
  "isIncremental": false,
  "searchBy": "TransactionReferenceNumber",
  "searchText": ""
}'
[
  {
    "beneficiaryAccountNumber": "9876543210",
    "beneficiaryName": "Grace Banda",
    "connectorName": "Standard Bank",
    "transactionAmount": 1000000,
    "currencyCode": "MWK",
    "transactionStatusCode": "S",
    "transactionStatusName": "Successful",
    "transactionDescription": "Salary payment",
    "transactionReferenceNumber": "D250713MGGGY",
    "transactionDate": "2024-01-15"
  },
  {
    "beneficiaryAccountNumber": "8765432109",
    "beneficiaryName": "Jane Chidothi",
    "connectorName": "FDH Bank Limited",
    "transactionAmount": 500000,
    "currencyCode": "MWK",
    "transactionStatusCode": "P",
    "transactionStatusName": "Pending",
    "transactionDescription": "Bonus payment",
    "transactionReferenceNumber": "D250713MGGGY",
    "transactionDate": "2024-01-15"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <Token>, where <Token> is your access token.

Headers

X-Organisation-Id
string
required

The organization identifier

X-Merchant-Account-Number
string
required

The merchant account number

Accept-Language
string
default:en

Preferred language for the response

Body

application/json
merchantAccountNumber
integer
required

A unique identifier for the merchant account.

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

35253486

transactionDate
string<date>
required

The date to filter transactions (YYYY-MM-DD format)

Example:

"2024-01-15"

pageNumber
integer
required

Page number for pagination (starts from 1)

Required range: x >= 1
Example:

1

numberOfReturnedRows
integer
required

Number of records per page

Required range: x >= 1
Example:

10

isIncremental
boolean
required

If true, includes previous pages; if false, only current page

Example:

false

searchBy
enum<string>
required

Field to search by

Available options:
TransactionReferenceNumber,
SourceReferenceNumber,
BeneficiaryAccountNumber,
BeneficiaryName
Example:

"TransactionReferenceNumber"

searchText
string

Text to search for (case-insensitive)

Example:

""

Response

Success Response (200 OK)

beneficiaryAccountNumber
string

The recipient's account number

Example:

"9876543210"

beneficiaryName
string

The recipient's name

Example:

"John Phiri"

connectorName
string

Name of the payment connector used

Example:

"Standard Bank"

transactionAmount
number

The disbursed amount

Example:

1000000

currencyCode
string

A three-letter ISO 4217 code that identifies the currency used in the transaction

Example:

"MWK"

transactionStatusCode
string

Current status code of the transaction

Example:

"S"

transactionStatusName
string

Human-readable status description

Example:

"Successful"

transactionDescription
string

Description of the transaction

Example:

"Salary payment"

transactionReferenceNumber
string

Unique transaction reference number

Example:

"D250713MGGGY"

transactionDate
string<date>

Date and time when the transaction was initiated

Example:

"2024-01-15"