RESTfull API Docs

Endpoints

All API access is over HTTPS, and accessed via the https://citybeez.gr domain.
The relative path prefix /api/v1/ indicates that we are currently using version 1 of the API.

Methods

URIs relative to https://citybeez.gr/api/v1/, unless otherwise noted

Method Http Request Description
/server/info /serve/infor

GET

get informations
/user/status /user/status

GET

get user public informations
/user/balance /user/balance

GET

get balance data
/user/history /user/history

GET

get transaction history
/user/payment /user/payment

POST

pay to the other wallet
/user/precharge /user/precharge

POST

preprcess recharging point
/user/charge /user/charge

POST

recharge points

Responce

The response format is JSON format. There are no data that indicate success or failure in JSON data. You can determine success or failure in HTTP responce header.

Below are example GET /status get your own wallet data.

responce header

HTTP/1.1 200 OK

responce body

{
    "walletToken": "0123456789a2c2a458854790d029dc0123456789",
    "activated": true
}

In case of error, HTTP status code is 40X or 50X. Responce body format is JSON. Below are examples the wallet secret parameter is invalid.

resonse header

HTTP/1.1 401 Unauthorized

responce body

{
    "errors": ["Invalid Wallet Secret"]
}

API access limit

We don't set the limit of API request now. There is a possibility of change in the future.