# Active Channels
This endpoint allows a merchant to retrieve the currently active channels for the selected region. The response is route-backed, so if a network has been taken offline in PesaWay, it will not be returned in the channels list.
Test Endpoint:
https://identity.staging.trixeltech.com/api/api/v1/token/The following parameters are accepted:
| Request Parameters | Field Description | Example |
|---|---|---|
| transaction_type | Optional transaction type filter. Defaults to Payins. | Payins |
# Request Sample
curl --location --request POST 'https://identity.staging.trixeltech.com/api/api/v1/active-channels/' \
--header 'X-Region: ke' \
--header 'Content-Type: application/json' \
--data-raw '{
"transaction_type": "Payins"
}'# Response Sample
{
"code": "200.001",
"data": {
"region": "Kenya",
"transaction_type": "Payins",
"channels": ["MPESA", "Airtel"]
}
}
# Response Parameters
| Response Parameters | Field Type Description |
|---|---|
| region | Region resolved from the X-Region request header |
| transaction_type | Route type used for the lookup |
| channels | List of currently active channels in the selected region |
TIP
Always include the Authorization header with your merchant access token and the X-Region header on all requests.