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 |
pmtname | name of the paymethod |