Перейти к основному содержанию
GET
/
v1
/
crm
/
requests
/
{request_id}
/
deposits
cURL
curl --request GET \
  --url https://api.example.com/v1/crm/requests/{request_id}/deposits/
[
  {
    "id": 123,
    "created_by": 123,
    "type": 0,
    "status": 0,
    "request": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "deposit": "<string>",
    "returned_at": "2023-11-07T05:31:56Z",
    "transaction_amount": "<string>",
    "payment_type": 123,
    "amount": "<string>"
  }
]

Параметры пути

request_id
integer
обязательно

Ответ

200 - application/json
id
integer
обязательно
created_by
integer
обязательно
type
enum<integer>
обязательно
  • 0 - STRING
  • 1 - AMOUNT
Доступные опции:
0,
1
Требуемый диапазон: -32768 <= x <= 32767
status
enum<integer>
обязательно
  • 0 - DEFAULT
  • 1 - RECEIVED
  • 2 - RETURNED
Доступные опции:
0,
1,
2
Требуемый диапазон: -32768 <= x <= 32767
request
integer
обязательно
created_at
string<date-time>
обязательно
deposit
string
обязательно
Maximum string length: 255
returned_at
string<date-time> | null
обязательно
transaction_amount
string<decimal>
обязательно
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
payment_type
integer | null
amount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$