Search content
Sort by

Showing 4 of 4 results by arpandev1823
Post
Topic
Board Gambling
Re: FAIRLAY - SPORTS BETTING for experts - highest liquidity, provably best odds
by
arpandev1823
on 05/08/2017, 11:33:01 UTC
As I have purchased API , I am trying to send bet using fairlay sample client API (C# language) , I am using changeOrders function and getting error "XError:Wrong Signature" .

The sample client does everything for you. Just follow the steps outlined in the readme file of the C# sample client.

I have download sample client , replace the API ID in config file , generate public and private keys using configdet class and then call changeorders function , and got error "XError:Wrong Signature" , am i missing something?

Did you set your User ID and API ID?     User ID should be something like  1007776  and API ID is usually 1.  

Please send us  the request you are sending and your public key in a support ticket and we will assist you.

Yes I have set User ID and API ID but i am getting error from makeReq function.

i am getting ret = "XError:Wrong Signature" after execution of below line in makeReq function.

string ret = _Client.DoRequestAndVerify(Config.SERVERIP, Config.PORT, param, SERVERKEY);

here,
Config.SERVERIP = 31.172.83.53
Config.PORT = 18017
param = 1109|[{"Mid":113367090772,"Rid":1,"Oid":-1,"Am":3.0,"Pri":3.0,"Sub":"Lizette Cabrera vs. Jennifer Brady","Type":1,"Boa":1,"Mct":0,"LayAsL":false,"CAt":0,"Res":null}]
SERVERKEY = udnE0+F2lSFLJs3wyQT/2W53juqh1hW9NaEwWMfefkV8FHUJTgJQINBrvja/Ii6i1W2ptBhNjin63K0stJmFArdi74TTL0KoTlBpZ3x0r4SQZGX+ZoryO5NFa4UB7NbYvKJxZHnjnFJiNtnf08rOmgdtDbukHnaVm7m067V+dyk=AQAB

In DoRequestAndVerify function ,

below line is executed.

answer = DoRequest(ip, port, str, 2, SymmKey);

here,
ip = 31.172.83.53
port = 18017
str = 1109|[{"Mid":113367090772,"Rid":1,"Oid":-1,"Am":3.0,"Pri":3.0,"Sub":"Lizette Cabrera vs. Jennifer Brady","Type":1,"Boa":1,"Mct":0,"LayAsL":false,"CAt":0,"Res":null}]
SymmKey = null


I got answer =
laF+kF9lPofO98By+sW5fO5hHNYNuII36476I6rk6q2TGJuOoYcPqwkUNgeRi9RzEZBaszPDx+Ojz0vMUVnhFw3V/JGU2xca+s9sixHA35rUHw9vCFg4nUChGR0v8AbIFceKDaUG6Fw/HLyZ0D8Q3Wrty0Byjgfubd4+R7Diu10=|636375286955229266|66|XError:Wrong Signature

see there is "XError:Wrong Signature" at last in above result( laF+kF9lPofO98By+sW5fO5hHNYNuII36476I6rk6q2TGJuOoYcPqwkUNgeRi9RzEZBaszPDx+Ojz0vMUVnhFw3V/JGU2xca+s9sixHA35rUHw9vCFg4nUChGR0v8AbIFceKDaUG6Fw/HLyZ0D8Q3Wrty0Byjgfubd4+R7Diu10=|636375286955229266|66|XError:Wrong Signature )

Please help.
Post
Topic
Board Gambling
Re: FAIRLAY - SPORTS BETTING for experts - highest liquidity, provably best odds
by
arpandev1823
on 01/08/2017, 17:35:15 UTC
As I have purchased API , I am trying to send bet using fairlay sample client API (C# language) , I am using changeOrders function and getting error "XError:Wrong Signature" .

The sample client does everything for you. Just follow the steps outlined in the readme file of the C# sample client.

I have download sample client , replace the API ID in config file , generate public and private keys using configdet class and then call changeorders function , and got error "XError:Wrong Signature" , am i missing something?
Post
Topic
Board Gambling
Re: FAIRLAY - SPORTS BETTING for experts - highest liquidity, provably best odds
by
arpandev1823
on 27/07/2017, 15:34:19 UTC
I want to make a call via fairlay api to bet.
Can Anyone give me working C# code to send match for any of current match ?
Post
Topic
Board Gambling
Re: FAIRLAY - SPORTS BETTING for experts - highest liquidity, provably best odds
by
arpandev1823
on 27/07/2017, 15:22:58 UTC
As I have purchased API , I am trying to send bet using fairlay sample client API (C# language) , I am using changeOrders function and getting error "XError:Wrong Signature" .

Recently , I have used following details and called function named "changeOrders" :

I am confused in Amount and Price so i have make same value = 2 for both.

API ID = My API ID

MarketID = 112543146565
RunnerID = 1
OrderId = -1
Amount = 2
Price = 2
Sub = "Edward Corrie vs. Dominik Koepfer"
Type = UnmatchedOrder.Type.MAKERTAKER
Boa = 1
Mct = 0

Is the API not working for C# language ?
Can anyone help me ?