I'm trying to get my account balance using python but getting the following error : {'jsonrpc': '2.0', 'error': {'code': -32700, 'message': 'DSC-0008'}}.
Could anybody share the request and header structure should look like to get back a successful response?
i'm currently using the end point
EXCHANGE_ENDPOINT = "
https://api.betfair.com/exchange/account/json-rpc/v1"
following request : {'jsonrpc': '2.0', 'method': 'AccountAPING/v1.0/getAccountFunds'}
and the following header : {'X-Authentication': **********, 'X-Application': **************}
Any help would be greatly appreciated.
Could anybody share the request and header structure should look like to get back a successful response?
i'm currently using the end point
EXCHANGE_ENDPOINT = "
https://api.betfair.com/exchange/account/json-rpc/v1"
following request : {'jsonrpc': '2.0', 'method': 'AccountAPING/v1.0/getAccountFunds'}
and the following header : {'X-Authentication': **********, 'X-Application': **************}
Any help would be greatly appreciated.


Comment