Перейти к основному содержанию
POST
/
v1
/
finances
/
exchanges
cURL
curl --request POST \
  --url https://api.example.com/v1/finances/exchanges/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "account_from": 123,
  "account_to": 123,
  "amount": "<string>",
  "datetime": "2023-11-07T05:31:56Z",
  "tags": [
    123
  ]
}
'
{}

Тело

account_from
integer
обязательно
account_to
integer
обязательно
amount
string<decimal>
обязательно
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
datetime
string<date-time>
обязательно
tags
integer[]

Ответ

201 - application/json

The response is of type object.