POST
/
company_statements
/
{id}
/
cancel
/
curl --request POST \
  --url https://gate.chip-in.asia/api/v1/company_statements/{id}/cancel/ \
  --header 'Authorization: Bearer <token>'
{
  "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"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Object ID (UUID)

Response

200 - application/json
format
string

Statement format, available formats: csv, xlsx.

timezone
string

Timezone to localize statement-specific timestamps

is_test
boolean

Indicates this is a test object, created using test API keys or using Billing section of UI while in test mode.

company_uid
string

ID of the Company.

query_string
string

Query parameters used to generate statement.

status
string

Status of statement generation e.g. pending, processing, success.

download_url
string

Download URL of a statement.

began_on
integer

Date and time for the beginning of statement generation process.

finished_on
integer

Date and time for finishing the statement generation process.

created_on
integer

Object creation time

updated_on
integer

Object last modification time

type
string

Statement request type

id
string

ID of a statement