Skip to main content
POST
/
v1
/
accounts
/
{accountId}
/
statements
Create statements for account
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",
    "recipient": {
      "recipient": "39eab26c-8788-4375-810c-9807aaf98191",
      "accountTo": "49eab26c-8788-4375-810c-9807aaf98234"
    },
    "companyId": "10eab26c-8788-4375-810c-9807aaf98210"
  }
]

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
fromDate
string

If not provided time of account creation taken

Example:

"2023-11-20T08:34:39.343Z"

toDate
string

If not provided current time taken

Example:

"2023-11-21T08:34:39.343Z"

timezone
string
Example:

"2"

Response

200 - application/json

200 response

accountFrom
string<uuid>
required

System account from which assets will be send

Example:

"49eab26c-8788-4375-810c-9807aaf98234"

amount
number
required

How many assets will be send

Required range: x >= 0
Example:

10

operation
enum<string>
required

Operation action

Available options:
internal,
sepa
Example:

"internal"

recipient
object
required
companyId
string

Company id

Example:

"10eab26c-8788-4375-810c-9807aaf98210"