Перейти к основному содержанию
GET
/
v1
/
shared
/
auth
/
profile
/
bonuses
cURL
curl --request GET \
  --url https://api.example.com/v1/shared/auth/profile/bonuses/
[
  {
    "id": 123,
    "bonus": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "created_by": 123,
    "request_status": 123,
    "amount": "<string>",
    "request": 123,
    "type": 0
  }
]

Ответ

200 - application/json
id
integer
обязательно
bonus
integer
обязательно
created_at
string<date-time>
обязательно
created_by
integer | null
обязательно
request_status
integer
обязательно
amount
string<decimal>
Pattern: ^-?\d{0,14}(?:\.\d{0,2})?$
request
integer | null
type
enum<integer>
  • 0 - transaction_spend
  • 1 - transaction_earn
Доступные опции:
0,
1
Требуемый диапазон: -2147483648 <= x <= 2147483647