Get Account Balance

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 95012613.
    Junior Member
    • Nov 2014
    • 1

    #1

    Get Account Balance

    Hi,

    I can't see anything on the ApiNgJsonRpcOperations package to get an account balance & am assuming a direct JSON request is necessary to achieve this.

    I've tried to send this :
    request = '{"jsonrpc":"2.0","method":"AccountAPING/v1.0/getAccountFunds","id":"2","params":{}}'
    ...with a valid application & session ID, but never get a response.

    I've tried posting to the what I think is the appropriate URL : https://api.betfair.com/exchange/account/json-rpc/v1

    Is this the correct approach or am I missing something?

    Many thanks,

    Dave
  • pillbox
    Junior Member
    • Oct 2014
    • 7

    #2
    I use this request that works:
    {"jsonrpc":"2.0","method":"AccountAPING/v1.0/getAccountFunds","id":"1","params":{"locale":"en"} }

    to endpoint:
    https://api.betfair.com/exchange/account/json-rpc/v1

    Comment

    Working...
    X