User Tools

Site Tools


getrelationbalance

/itg/getrelationbalance

Retrieve the current balance of pre-deposited money for a specific client.

parameters:

auth the authorisation code you received from Intogolf BV (mandatory)
relnr internal id of a golfer within the domain of ikgagolfen
relnrlocal local id of a golfer within the domain of the golfcourse

At least one of the parameters relnr, relnrlocal needs to be provided, otherwise the return code 449 - Retry with valid parameters is returned.

If a wrong authorisation code is provided, the backend will return 401,“Unauthorized”

example: https://backend.intogolf.com/itg/getrelationbalance?auth=<your authorisation code>&relnr=659764

result:

{
{

    "getrelationbalance": [
        {
            "balance": 304.73,
            "pmtnr": 300,
            "pmtname": "delflandcard"
        }
    ]

}
balance current balance
pmtnr internal id of paymethod that is associated with this balance
pmtnamename of the paymethod
getrelationbalance.txt · Last modified: 2013/05/23 17:26 (external edit)