1. Home
  2. Docs
  3. API
  4. Account resource
  5. Get Credit Transactions

Get Credit Transactions

REQUEST
GET /request=creditTransactions&days=<days>

RESPONSE
200 OK
[
{
id: 5fkiswe7ntigf93,
dateTimeUTC: 2018-12-01T12:06:09Z,
ticketCurrency: USD,
ticketPrice: 0.1,
type: ADD_SERVICES,
details: {
unitCost: mo,
agentQuantity: 7,
agentCost: 2,
channelBasicQuantity: 3,
channelBasicCost: 50,
refMonth: 12
},
amount: -164
},
{
id: h95tg7erk3j43e5,
dateTimeUTC: 2018-11-16T09:45:12Z,
ticketCurrency: USD,
ticketPrice: 0.1,
type: ADD_SERVICES,
details: {
unitCost: mo,
agentQuantity: 3,
agentCost: 2,
channelBasicQuantity: 1,
channelBasicCost: 50,
refMonth: 11,
paidDays: 15
},
amount: -28
},
{
id: e2hj4fz9g7p35hu,
dateTimeUTC: 2018-11-01T11:22:45Z,
ticketCurrency: USD,
ticketPrice: 0.1,
type: ADD_SERVICES,
details: {
unitCost: mo,
agentQuantity: 4,
agentCost: 2,
channelBasicQuantity: 2,
channelBasicCost: 50,
refMonth: 11
},
amount: -108
},
{
id: Dhr53dwr46gdwe36,
dateTimeUTC: 2018-12-05T19:35:62Z,
ticketCurrency: USD,
ticketPrice: 0.1,
type: ADD_CREDIT,
details: {
},
amount: 1000
},
...
]

Was this article helpful to you? Yes No