GET
/
core
/
connectors
/
GetAll
cURL
curl -X GET "https://api.onekhusa.com/sandbox/v1/core/connectors/GetAll" \
  --header "Authorization: Bearer your-jwt-token" \
  --header "accept: application/json" \
  --header "X-Organisation-Id: FYH0NTVW0DXK" \
  --header "X-Merchant-Account-Number: 35253486" \
  --header "Accept-Language: en"
[
  {
    "connectorId": 769375,
    "connectorName": "Airtel Money",
    "connectorCode": "EEE",
    "connectorDescription": "The mobile money operator supports the processing of disbursement and collection transactions",
    "channelName": "Mobile Network Operator",
    "channelCode": "M",
    "switchMerchantId": "5554",
    "logoBase64": "iVBORw0KGgoAAAANSUh....",
    "logoFormat": "image/png",
    "isActive": false
  },
  {
    "connectorId": 769356,
    "connectorName": "FDH Bank Limited",
    "connectorCode": "FDH",
    "connectorDescription": "The bank supports the processing of disbursement and collection transactions",
    "channelName": "Bank",
    "channelCode": "B",
    "switchMerchantId": "FDHMW2233",
    "logoBase64": "iVBORw0KGgoAAAANSUhE...",
    "logoFormat": "image/png",
    "isActive": true
  }
]

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

Response

200 - application/json

Success Response (200)

connectorId
integer

Unique 6-digit identifier for the connector

Example:

550044

connectorName
string

Display name of the connector

Example:

"Airtel Money"

connectorCode
string

Unique code identifier for the connector

Example:

"EEE"

connectorDescription
string

Detailed description of the connector

Example:

"Test description"

channelCode
string

Code of the payment channel

Example:

"M"

channelName
string

Name of the payment channel

Example:

"Mobile Network Operator"

switchMerchantId
string

Merchant ID for the payment switch

Example:

"5554"

logoBase64
string

Base64 encoded logo image

Example:

"iVBORw0KGgoAAAANSUh...."

logoFormat
string

Image format (PNG, JPG, etc.)

Example:

"image/png"

isActive
boolean

Whether the connector is currently active to processing transactions or not

Example:

false