internetee-registry/doc/repp/v1/account.md
2020-10-26 12:13:15 +02:00

548 B

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

{
    "code": 1000,
    "message": "Command completed successfully",
    "data": {
        "balance": "356.0",
        "currency": "EUR"
    }
}