Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Type definitions

...

Panel
bgColor#FFFFFF
titleBGColor#FFCC33
titleAccountDetailsResponse

Response for Account details.

Field name

Type

Required

Description

currencyCode

String

 

Default user currency Code. See Currency Parameters for minimum bet sizes relating to each currency.

firstName

String

 

First Name.

lastName

String

 

Last Name.

localeCode

String

 

Locale Code.

region

String

 

Region based on users zip/postcode (ISO 3166-1 alpha-3 format). Defaults to GBR if zip/postcode cannot be identified.

timezone

String

 

User Time Zone.

discountRate

double

 

User Discount Rate.

pointsBalance

int

 

The Betfair points balance.

countryCodeString The customer's country of residence (ISO 2 Char format)


...

Panel
bgColor#FFFFFF
titleBGColor#FFCC33
titleVendorAccessTokenInfo

Anchor
vendoraccesstokeninfo
vendoraccesstokeninfo

Wrapper object containing UserVendorSessionToken, RefreshToken and optionally a Subscription Token if one was created

tokenType

Field name

Type

Required

Description

access_token

String

Session token used by web vendors

token_type

Anchor
tokenType

Type of the token

expires_in

long

How long until the token expires

refresh_token

String

Token used to refresh the session token in future

application_subscription

ApplicationSubscription

Object containing the vendor client id and optionally some subscription information


...