mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
25 lines
450 B
Markdown
25 lines
450 B
Markdown
## GET /repp/v1/accounts/balance
|
|
Returns account balance of the current registrar.
|
|
|
|
|
|
#### Request
|
|
```
|
|
GET /repp/v1/accounts/balance HTTP/1.1
|
|
Accept: application/json
|
|
Authorization: Basic Z2l0bGFiOmdoeXQ5ZTRmdQ==
|
|
Content-Length: 0
|
|
Content-Type: application/json
|
|
```
|
|
|
|
#### Response
|
|
```
|
|
HTTP/1.1 200
|
|
Cache-Control: max-age=0, private, must-revalidate
|
|
Content-Length: 37
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"balance": "324.45",
|
|
"currency": "EUR"
|
|
}
|
|
```
|