List Transactions
/billing/transactions/list
Full Url
Arguments
- token (required)
- limit (integer, Default: 50)
- offset (integer, Default: 0)
- start (Date)
- end (Date)
Info
The only required param is the token. limit
, offset
, start
, and end
are optional and used for pagination.
Example Success
{
"code": 200,
"status": "success",
"data": [
{
"id": "861054",
"user_id": "99999",
"child_id": null,
"referenced_transaction_id": null,
"total": "0.790000",
"summary": "Dids: 1\n",
"transaction_type": "debit",
"transaction_status": "complete",
"create_dt": "2018-10-23 07:41:34",
"modify_dt": "2018-10-23 07:41:34"
},
{...},
{...},
{...},
{...},
{...},
{...},
{...},
{...},
{
"id": "741445",
"user_id": "99999",
"child_id": null,
"referenced_transaction_id": null,
"total": "0.000000",
"summary": "Test Credit",
"transaction_type": "credit",
"transaction_status": "complete",
"create_dt": "2018-07-06 18:50:18",
"modify_dt": "2018-07-06 18:50:18"
}
]
}
Example Error
You generally won't see errors returned from this API as long as the token is valid.
{
"code": 400,
"status": "error",
"data": "invalid token"
}