API Reference
- Purchases
- Payment methods
- Billings
- Clients
- Webhooks
- Public key
- Account
- Company statements
List all statements
curl --request GET \
--url https://gate.chip-in.asia/api/v1/company_statements/ \
--header 'Authorization: Bearer <token>'
{
"results": [
{
"format": "<string>",
"timezone": "Europe/Oslo",
"is_test": true,
"company_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"query_string": "<string>",
"status": "<string>",
"download_url": "<string>",
"began_on": 1619740800,
"finished_on": 1619740800,
"created_on": 1619740800,
"updated_on": 1619740800,
"type": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"next": "<string>",
"previous": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
Statement format, available formats: csv
, xlsx
.
32
Timezone to localize statement-specific timestamps
"Europe/Oslo"
Indicates this is a test object, created using test API keys or using Billing section of UI while in test mode.
ID of the Company.
Query parameters used to generate statement.
Status of statement generation e.g. pending
, processing
, success
.
Download URL of a statement.
Date and time for the beginning of statement generation process.
1619740800
Date and time for finishing the statement generation process.
1619740800
Object creation time
1619740800
Object last modification time
1619740800
Statement request type
ID of a statement
The next page of pagination results. null
if there are no more results.
The previous page of pagination results. null
if there was no previous page.
curl --request GET \
--url https://gate.chip-in.asia/api/v1/company_statements/ \
--header 'Authorization: Bearer <token>'
{
"results": [
{
"format": "<string>",
"timezone": "Europe/Oslo",
"is_test": true,
"company_uid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"query_string": "<string>",
"status": "<string>",
"download_url": "<string>",
"began_on": 1619740800,
"finished_on": 1619740800,
"created_on": 1619740800,
"updated_on": 1619740800,
"type": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"next": "<string>",
"previous": "<string>"
}