Skip to main content
GET
/
sub-organizations
/
{id}
/
billing
/
transactions
List transactions for a sub-account
curl --request GET \
  --url 'https://api.wavix.com/v1/sub-organizations/{id}/billing/transactions?appid='
{
  "transactions": [
    {
      "amount": "10.50",
      "balance_after": "100.00",
      "date": "2023-06-15T10:30:00.000Z",
      "details": "Account top-up",
      "status": "committed",
      "type": 1
    }
  ],
  "pagination": {
    "current_page": 1,
    "per_page": 25,
    "total": 1,
    "total_pages": 123
  }
}

Authorizations

appid
string
query
required

An API key to authorize your request

Path Parameters

id
integer<int32>
required

Sub-account ID

Example:

123

Query Parameters

from_date
string<date>
required

Start date of your search time range, in yyyy-mm-dd format

Example:

"2023-01-01T00:00:00.000Z"

to_date
string<date>
required

End date of your search time range, in yyyy-mm-dd format

Example:

"2023-12-31T00:00:00.000Z"

type

Transaction type(s)

Example:

1

Response

transactions
object[]

A list of transactions for the specified sub-account

pagination
object

Pagination details