Channex.io
Search…
⌃K

Account usage

Account information

Usage

Get account usage for a specific date

This method can be used to retrieve your account usage for a specific date. Must be a date in the past.
Request
Response
GET https://pci.channex.io/api/v1/account/usage/{date}?api_key={YOUR_API_KEY}
{
"data": [
{
"type": "usage",
"attributes": {
"type": "tokenizations",
"value": 123
}
},
{
"type": "usage",
"attributes": {
"type": "detokenizations",
"value": 321
}
},
{
"type": "usage",
"attributes": {
"type": "storage",
"value": 10
}
}
]
}
Arguments
Argument
Description
date
Date in yyyy-MM-dd format, should be in the past, ex 2021-08-31

Returns

Success Method can return a Success result with 200 OK HTTP Code if operation is successful. Will contain a list of usage in the answer.
  • tokenizations (How many cards tokenised on that day)
  • detokenizations (How many detokenisations on that day)
  • storage (How many cards stored older than 24 Months)
Unauthorised Error Method can return a Unauthorised Error result with 401 Unauthorized HTTP Code if wrong Bearer Token provided.