Listing channels
GET
/api/public/v1/channels
This endpoint returns a list of channels with pagination.
Headers
Content-Type
application/vnd.api+json
Authorization
Bearer <api_key>
URL Parameters
order
string
Order in which the list of channels should be returned. Can be created_at
.
order_type
string
Order type. Can be either asc
or desc
.
page
number
Page for which you want to return channels.
per_page
number
Number of channels per page to return.
reference
number
Channel reference
.
Response
Response Body
data.id
string
Channel ID.
data.type
string
Always channels
.
data.attributes.targetCurrency
string
data.attributes.payCurrency
string
data.attributes.address
string
Channel address.
data.attributes.networkCode
string
data.attributes.networkName
string
Network name.
data.attributes.hostedPageUrl
string
Channel redirect URL hosted by Txn.
data.attributes.reference
string
The custom reference ID to tie the channel and its deposits to end-user who pays.
data.attributes.status
string
Channel status. Can be either enabled
or disabled
. If enabled
, deposits get processed and credited to the merchant's account as normal. If disabled
, deposits do not get credited to the merchant's account.
data.attributes.createdAt
string
Timestamp when a channel was created.
data.attributes.updatedAt
string
Timestamp when a channel was last updated.
Last updated