![](/user_photo/2706_HbeT2.jpg)
- •Getting Started with API-NG
- •Application Keys
- •API-NG Login
- •Non-Interactive (bot) login
- •Certificate Generation With XCA
- •Interactive Login from a Desktop Application
- •Interactive Login - API Endpoint
- •Login FAQs
- •Keep Alive
- •Logout
- •API-NG - Visualiser
- •Example Requests
- •Market Data Request Limits
- •Understanding Market Navigation
- •API 6.0 > API-NG Operations Comparison Table
- •API-NG Reference Guide
- •Betting API
- •Betfair Starting Price Betting (BSP)
- •Betting on Australian Events
- •Betting On Italian Exchange
- •Navigation Data For Applications
- •Betting Operations
- •listCompetitions
- •listCountries
- •listCurrentOrders
- •listClearedOrders
- •listClearedOrders - Roll-up Fields Available
- •listEvents
- •listEventTypes
- •listMarketBook
- •listMarketCatalogue
- •listMarketProfitAndLoss
- •listMarketTypes
- •listTimeRanges
- •listVenues
- •placeOrders
- •Italian Exchange Specific Bet Rules
- •cancelOrders
- •replaceOrders
- •updateOrders
- •Betting Exceptions
- •Betting Enums
- •Betting Type Definitions
- •Accounts API
- •Accounts Operations
- •createDeveloperAppKeys
- •getAccountDetails
- •getAccountFunds
- •getDeveloperAppKeys
- •getAccountStatement
- •listCurrencyRates
- •transferFunds
- •Account Operations (Vendor API)
- •activateApplicationSubscription
- •cancelApplicationSubscription
- •getApplicationSubscriptionHistory
- •getApplicationSubscriptionToken
- •getVendorClientId
- •listAccountSubscriptionTokens
- •listApplicationSubscriptionTokens
- •updateApplicationSubscription
- •Accounts Exceptions
- •Accounts Enums
- •Accounts TypeDefinitions
- •Heartbeat API
- •Vendor Services in API-NG
- •Interface Definition Documents
- •Additional Information
- •Betfair Price Increments
- •Currency Parameters
- •Racecourse Abbreviations
- •Runner Metadata Description
- •Time Zones
- •Common Error Codes
- •Sample Code
- •Excel & VBA Sample
- •Java
- •Javascript
- •Python
![](/html/2706/431/html_jyB9jjgVRS.jaxZ/htmlconvd-IOyKnG198x1.jpg)
transferFunds
TransferResponse transferFunds ( Wallet from, Wallet to, double amount ) throws AccountAPING
Exception
Transfer funds between the UK Exchange and Australian Exchange wallets. You require funds in the Australian Exchange wallet to bet on Australian markets. Please note: The transferFunds service can be requested from either the UK or AUS Accounts API endpoint regardless of the direction of the funds transfer.
Parameter name |
Type |
Required |
Description |
from |
Wallet |
|
Source wallet |
to |
Wallet |
|
Destination wallet |
amount |
double |
|
Amount to transfer |
Return type |
|
Description |
|
TransferResponse |
|
Response for transfer funds action |
|
Throws |
|
Description |
|
AccountAPINGException |
|
Generic exception that is thrown if this operation |
|
|
|
fails for any reason. |
|
Since 1.0.0
Account Operations (Vendor API)
Details of Account Operations that are applicable to licensed API software vendors only.
Required Headers
Please note - although the majority of API-NG calls require both the X-Authentication (sessionT oken) and X-Application (Application Key) in the request header, this isn't applicable for some Vendor API Account Operations. The applicable headers for each Vendor API operation are included in the below table
X-Authentication X-Application
String |
getVendorClientId ( |
|
) |
![](/html/2706/431/html_jyB9jjgVRS.jaxZ/htmlconvd-IOyKnG199x1.jpg)
String |
getApplicationSubsc |
Available to owner |
|
riptionToken ( |
managed (Vendor) |
|
intsubscriptionLengt |
App Keys Only |
|
h ) |
|
Status |
activateApplicationS |
|
|
ubscription ( |
|
|
StringsubscriptionTo |
|
|
ken ) |
|
Status |
cancelApplicationSu |
Available to owner |
|
bscription ( |
managed (Vendor) |
|
StringsubscriptionTo |
App Keys Only |
|
ken ) |
|
String |
updateApplicationS |
Available to owner |
|
ubscription ( String |
managed (Vendor) |
|
vendorClientId, int |
App Keys Only |
|
subscriptionLength ) |
|
List< ApplicationSub |
listApplicationSubsc |
Available to owner |
scription > |
riptionTokens ( Sub |
managed (Vendor) |
|
scriptionStatus subs |
App Keys Only |
|
criptionStatus ) |
|
List< AccountSubscr |
listAccountSubscript |
|
iption > |
ionTokens ( ) |
|
List<SubscriptionHis |
getApplicationSubsc |
Available to owner |
tory> |
riptionHistory ( |
managed (Vendor) |
|
String |
App Keys Only |
|
vendorClientId ) |
|
activateApplicationSubscription
Operation
![](/html/2706/431/html_jyB9jjgVRS.jaxZ/htmlconvd-IOyKnG200x1.jpg)
activateApplicationSubscription
Status activateApplicationSubscription ( String subscriptionToken ) throws AccountAPINGExcept ion
Activates the customers subscription token for an application. The request is made by the customers account using their session token (X-Authentication header) only.
Parameter name |
Type |
Required |
Description |
subscriptionToken |
String |
|
Subscription token for |
|
|
|
activation |
Return type |
|
Description |
|
Status |
|
|
|
Throws |
|
Description |
|
AccountAPINGException |
|
Generic exception that is thrown if this operation |
|
|
|
fails for any reason. |
|
Since 1.0.0
cancelApplicationSubscription
Operation
![](/html/2706/431/html_jyB9jjgVRS.jaxZ/htmlconvd-IOyKnG201x1.jpg)
cancelApplicationSubscription
Status cancelApplicationSubscription ( String subscriptionToken ) throws AccountAPINGExcepti on
Cancel the subscription token. The customers subscription will no longer be active once cancelled.
Parameter name |
Type |
Required |
Description |
subscriptionToken |
String |
|
Subscription token to |
|
|
|
cancel |
Return type |
|
Description |
|
Status |
|
|
|
Throws |
|
Description |
|
AccountAPINGException |
|
Generic exception that is thrown if this operation |
|
|
|
fails for any reason. |
|
Since 1.0.0