Supported Formats

json, csv

Examples

wget "https://[your-subdomain].trackdrive.net/api/v1/billings?page=1&order=created_at&auth_token=[your-auth-token]"

Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

page
optional

Return the next page of results.

  • Must be a number.

number_id
optional

Refer to the number api for details

  • Must be a decimal number.

offer_id
optional

Refer to the offer api for details

  • Must be a decimal number.

created_at_to
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

created_at_from
optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be String

order
optional

Sort results by this field.

  • Must be one of: amount, offer_id, number_id, call_id, id.

order_dir
optional

Sort results in ascending or descending order.

  • Must be one of: asc, desc.

columns
optional
Specify the columns you would like returned by the API for a given resource. Limiting the columns can significantly increase API response time since only the requested data will be processed. columns=uuid,number,created_at

Must be any combination of:

  • uuid
  • trackdrive_cost
  • provider_cost
  • offer_id
  • number_id
  • call_uuid
  • created_at
  • Must be String