POST
/
v1
/
accounts
/
{accountId}
/
statements
curl --request POST \
  --url https://client-api.dev.finhost.io/v1/accounts/{accountId}/statements \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "fromDate": "2023-11-20T08:34:39.343Z",
  "toDate": "2023-11-21T08:34:39.343Z",
  "timezone": "2"
}'
[
  {
    "accountFrom": "49eab26c-8788-4375-810c-9807aaf98234",
    "amount": 10,
    "operation": "internal",
    "companyId": "10eab26c-8788-4375-810c-9807aaf98210",
    "recipient": {
      "recipient": "39eab26c-8788-4375-810c-9807aaf98191",
      "accountTo": "49eab26c-8788-4375-810c-9807aaf98234"
    }
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

accountId
string
required

Account id

Body

application/json

Response

200 - application/json
200 response

The response is of type object[].