I know that the functionality of the account.TransferFunds(from, to, amount) has been deprecated (this used to transfer from the UK to the AUS wallet) and no longer works.
However, I did read that the api was going to be refactored to allow transfer between the MAIN wallet and the exchange games and poker wallets. Does anyone know if this ever happened or if there's a dirty hack that allows this to happen?? Currently using the non streaming c# APING.
cheers
jim
APING - transfer from main wallet to games wallet
Yeah you can (this is a hack/how the site does it):
endpoint: https://myaccount.betfair.com/account/transfer
data:
headers:
endpoint: https://myaccount.betfair.com/account/transfer
data:
Code: Select all
{
'source': 'MAIN',
'destination': 'XG',
'amount': 10,
}
Code: Select all
{
'X-Application': app_key,
'X-Authentication': session_token,
}
yup -thanks for that, i saw that when digging into chrome dev tools and may have to go down this route with a fake POST on that. Have now implemented... thanksLinusP wrote: ↑Wed Aug 22, 2018 5:14 pmYeah you can (this is a hack/how the site does it):
endpoint: https://myaccount.betfair.com/account/transfer
data:headers:Code: Select all
{ 'source': 'MAIN', 'destination': 'XG', 'amount': 10, }
Code: Select all
{ 'X-Application': app_key, 'X-Authentication': session_token, }
I have never been able to use the ssoid, think its due to 2FA but just providing appKey and sessionToken has been working for a while.jimibt wrote: ↑Wed Aug 22, 2018 5:22 pmyup -thanks for that, i saw that when digging into chrome dev tools and may have to go down this route with a fake POST on that. Do you know if this little hack is happy to go cookieless or does it just require the ssoid session cookie extracted into a string token ?LinusP wrote: ↑Wed Aug 22, 2018 5:14 pmYeah you can (this is a hack/how the site does it):
endpoint: https://myaccount.betfair.com/account/transfer
data:headers:Code: Select all
{ 'source': 'MAIN', 'destination': 'XG', 'amount': 10, }
Code: Select all
{ 'X-Application': app_key, 'X-Authentication': session_token, }
LinusP - managed to get all the moving parts working on this and when validating it was using Fiddler. I actually stumbled upon an addon/extension for Fiddler that may interest you. It creates boiler code in python (or .net) by simply dragging the session request into the code pane of the UI. ended up revising my code to match the boiler template code as it was so well done.
http://www.chadsowald.com/software/fidd ... st-to-code
hope you have a use for it.