billing
Interface to get a summary of campaigns billed in a defined period
To use this interface, you just need the API key of any project you own that identifies you as the owner. The interface works with all projects you own (however, each project may have its own API key).
get
Returns an overview and status of your projects
/2.0/billing/get/[date-from]/[date-to]/[format]
- The
fdate-from
defines the start date in the formYYYMMDD
fdate-to
defines the end date in the formYYYMMDD
format
defines the format of the returned data, options:JSON
,XML
orCSV
Return Values:
id | project ID |
url | project URL |
title | project name |
total_credits | Total credits cleared in the defined period |
Response status:
HTTP | Status |
200 | Billing report successfully returned |
204 | Billing report does not contain data or the time interval is invalid |
400 | Invalid or incomplete request |