internetee-registry/doc/repp/v1/account.md
2015-04-16 11:48:50 +03:00

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"
}
```