User
This endpoint retrieves the current balance information of the authenticated user. The request requires a Bearer token in the header for authentication.
Authorizations
Responses
200
Successfully retrieved user balance.
application/json
401
Unauthorized - Bearer token missing or invalid.
500
Internal server error.
get
GET /api/v1/user/balance HTTP/1.1
Host: cortecs.ai
Authorization: Bearer JWT
Accept: */*
{
"current_balance": 1234.56,
"currency": "EUR"
}
Last updated