Hi, I am having problems with placing a bet and would appreciate a hand in identifing my error with the json request.
This is a horse race in Aus for a Lay bet of size $5 @ price of $1.01 - I understand that id=1 is for the UK exchange and id=2 is for the Aus exchange, anyway the jsonrequest:
and the response:
I have switched to the live AppKey before sending the request and there is funds in my Aus wallet
cheers Les
Update - noted it should be customerRef instead of customRef, I have changed that but still get the same error
This is a horse race in Aus for a Lay bet of size $5 @ price of $1.01 - I understand that id=1 is for the UK exchange and id=2 is for the Aus exchange, anyway the jsonrequest:
Code:
{"jsonrpc":"2.0","method":"SportsAPING/v1.0/placeOrders","params":{"marketId":"2.100952240","instructions":[{"selectionId":8497273,"handicap":0.0,"side":"LAY","orderType":"LIMIT","limitOrder":{"size":5.0,"Price":1.01,"persistenceType":"LAPSE"}}],"customRef":"Lay_Win Test Bet"},"id":2}
and the response:
Code:
{"jsonrpc":"2.0","error":{"code":-32602,"message":"DSC-0018"},"id":2}
I have switched to the live AppKey before sending the request and there is funds in my Aus wallet

cheers Les
Update - noted it should be customerRef instead of customRef, I have changed that but still get the same error


Comment