Resource: Billing (preliminary)

Topics:

Actions

  • - (Object) index

Url:

  • [GET] /rest/v1/report/billing?[arguments]
Note:

This action requires admin access.

Note:

The maximum date range (from/to) is limited to one year.

Returns the total of billing charges.

Arguments:

  • (String) from

    Begin date in iso8601 format.

  • (String) to

    End date in iso8601 format.

  • (Integer) offer_id

    (optional) Filter by offer id.

Example Request:

https://service_name.synctv.com/rest/v1/report/billing?from=2011-11-07T00:00:00Z&to=2011-12-07T00:00:00Z

Example Response:

<ssap>
  <response>
    <code>1</code>
    <message>Successfully completed.</message>
    <count>1</count>
  </response>
  <version>0.5</version>
  <billing_total>1042.33</billing_total>
</ssap>

Response Fields:

  • (Integer) billing_total

    Total billing charges.