Company Statements
Last updated
Last updated
POST
{base url}/api/v1/company_statements/
This request allows you to schedule statement generation for a company. The response will include an object with fields such as id
, status
, and download_url
. These are the key fields to focus on.
Name | Type | Description |
---|---|---|
GET
{base url}/api/v1/company_statements/{id}/
Name | Type | Description |
---|---|---|
Content-Type*
String
application/json
Authorization*
String
Bearer
Token*
String
{{secret key}}
from integer(query)
Filter result set to only include values older or equal to the provided Unix timestamp
to integer(query)
Filter result set to only include values younger than the provided Unix timestamp
paid_from integer(query)
Filter paid result set to only include values older or equal to the provided Unix timestamp
paid_to integer(query)
Filter paid result set to only include values younger than the provided Unix timestamp
updated_from integer(query)
Filter result set to only include values older or equal to the provided last modification time Unix timestamp
updated_to integer(query)
Filter result set to only include values younger than the provided last modification time Unix timestamp
brand_id string($uuid)(query)
Filter result set to only include the specified brand UUID(s)
shop_id string($uuid)(query)
Filter result set to only include the specified shop UUID(s)
q string($string)(query)
Filter result set to only include results including a specified text (search over a ton of text fields)
products string($string)(query)
Filter result set to only include results including a specified text in products
total string($float)(query)
Filter result set to only include results with a total between min and max value. Must include 2 values, if any - (min, max).
currency string(query)
Filter result set to only include specified currency(ies)
payment_method string(query)
Filter result set to only include specified payment methods(s).
Available values : maestro, mastercard, unknown, visa
three_d_secure string($bool)(query)
Filter result set to only include results with a 3-D verification.
country string($ISO 3166-1 alpha-2)(query)
Filter result set to only include specified client country(ies) in ISO 3166-1 alpha-2 format
status string($string)(query)
Filter result set to only include results with a specific status.
product string(query)
Filter result set to only include specified products(s).
Available values : bank_payment, chargeback, custom_payment, invoice, payout, payout_balance_transfer, purchase, refund, subscription
Content-Type*
String
application/json
Authorization*
String
Bearer {{secret key}}