Skip to Content
Developers
Money

One statement

Needs the money:read scope. About scopes

Try it with a test key

Sends to https://api.traki.io

Test keys only. The key stays in this page while it is open and is never saved.

/v1/account/statements/{id}

Authorization

key
headerAuthorizationBearer <traki_account_…>

Path Parameters

id*string
Formatuuid

Response Body

Success

application/json
  1. response
id*string
Formatuuid
code*string
kind*string
buyer*|null
publisher*|null
periodStart*string
periodEnd*string
billableCalls*integer
Range-9007199254740991 <= value <= 9007199254740991
billableLeads*integer
Range-9007199254740991 <= value <= 9007199254740991
amount*string
currency*string
state*string
settledAt*string|null
updatedAt*string
Example Request
curl 'https://api.traki.io/v1/account/statements/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H "Authorization: Bearer $TRAKI_KEY"
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "code": "string",  "kind": "string",  "buyer": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "externalId": "string",    "name": "string"  },  "publisher": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "externalId": "string",    "name": "string"  },  "periodStart": "string",  "periodEnd": "string",  "billableCalls": -9007199254740991,  "billableLeads": -9007199254740991,  "amount": "string",  "currency": "string",  "state": "string",  "settledAt": "string",  "updatedAt": "string"}