POST
/
core
/
TransactionInquiries
/
Get
cURL
curl -X POST "https://dev.api.onekhusa.com/sandbox/v1/core/TransactionInquiries/Get" \
  --header "Authorization: Bearer your-jwt-token" \
  --header "Content-Type: application/json" \
  --header "Accept-Language: en" \
  -d '{
    "merchantAccountNumber": 35253486,
    "transactionReferenceNumber": "260507Q54SG9",
    "inquiryType": "BD"
  }'
{
  "transactionId": 84,
  "transactionReferenceNumber": "260507Q54SG9",
  "sourceAccountNumber": "52316470",
  "sourceAccountName": "BOPLUS TECH",
  "beneficiaryAccountNumber": "3333888800",
  "beneficiaryAccountName": "NOEL",
  "connectorName": "National Bank of Malawi",
  "transactionDescription": "WE1234",
  "transactionAmount": "2000.00",
  "currencyCode": "MWK",
  "sourceReferenceNumber": "26377474"
}

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

Body

application/json
merchantAccountNumber
integer<int64>
required

The merchant account number initiating the inquiry.

Example:

35253486

transactionReferenceNumber
string
required

The unique transaction reference number used to retrieve the transaction details.

Example:

"260507Q54SG9"

inquiryType
string
required

This is the transaction type being enquired its either single transaction (SD) or Batch disbursement (BD)

Example:

"BD"

Response

Success Response (200)

transactionId
integer

The unique identifier of the transaction.

Example:

84

transactionReferenceNumber
string

The unique transaction reference number.

Example:

"260507Q54SG9"

sourceAccountNumber
string

The source account number from which the transaction originated.

Example:

"52316470"

sourceAccountName
string

The name associated with the source account.

Example:

"BOPLUS TECH"

beneficiaryAccountNumber
string

The beneficiary account number receiving the transaction.

Example:

"3333888800"

beneficiaryAccountName
string

The name associated with the beneficiary account.

Example:

"NOEL"

connectorName
string

The name of the financial institution or connector used for the transaction.

Example:

"National Bank of Malawi"

transactionDescription
string

The description or narration attached to the transaction.

Example:

"WE1234"

transactionAmount
string

The amount involved in the transaction.

Example:

"2000.00"

currencyCode
string

The currency code for the transaction amount.

Example:

"MWK"

sourceReferenceNumber
string

The reference number generated by the source system.

Example:

"26377474"