Hello,
I am trying to do a call to "getAccountFunds" using the jsonrpc endpoint.
I have looked at the documentation here:
https://api.developer.betfair.com/se...etAccountFunds
As I will return the UK wallet, I have not specified the wallet parameter and then created those JSON bodies as two attempts:
But both requests using either of those 2 bodies return this error response:
I wonder if I am missing anything in the JSON there?
Thank you!
I am trying to do a call to "getAccountFunds" using the jsonrpc endpoint.
I have looked at the documentation here:
https://api.developer.betfair.com/se...etAccountFunds
As I will return the UK wallet, I have not specified the wallet parameter and then created those JSON bodies as two attempts:
Code:
//Request body
String data = "{\"jsonrpc\": \"2.0\", \"method\": \"SportsAPING/v1.0/getAccountFunds\", \"id\": 1}"; //First try
String data = "{\"jsonrpc\": \"2.0\", \"method\": \"SportsAPING/v1.0/getAccountFunds\"}"; //Second try
Code:
{"jsonrpc":"2.0","error":{"code":-32601,"message":"DSC-0021"},"id":1}
Thank you!


Comment