Account

You can get your credit with the following URL:

                    GET https://api.pingen.com/account/credit/
                

Response

NameTypeNotes
errorbooleanIs true if an error occured
errorcodeintCode of the error. Only returned if error is true.
errormessagestringInformational message about the error. Only returned if error is true.
itemobjectYour credit in different currencies.

Example response:

    {
        "error":false,
        "item":{
            "CHF":3.8
            "EUR":0,
            "USD":0
        }
    }
    

You can get your current plan with the following URL:

                    GET https://api.pingen.com/account/plan/
                

Response

NameTypeNotes
errorbooleanIs true if an error occured
errorcodeintCode of the error. Only returned if error is true.
errormessagestringInformational message about the error. Only returned if error is true.
idintYour current plan id
namestringYour current plan name

Example response:

    {
        "error":false,
        "item":{
            "id": 3,
            "name": "Business",
        }
    }