post https://api.sharpsports.io/v1/bettors//refresh
this will refresh the data associated with each bettorAccount the bettor has linked.
Authorization
๐ Public API Key
response attribute | type | description |
---|---|---|
betRefreshRequested | timestamp | the time when the request was made |
refresh | array | bettorAccounts with a successfully initiated refresh |
noAccess | array | bettorAccounts with access=false. Cannot be refreshed. |
unverified | array | bettorAccounts with unverified=true. Cannot be refreshed. |
isUnverifiable | array | bettorAccounts with isUnverifiable=true. Cannot be refreshed. |
bookInactive | array | bettorAccounts on an inactive book. Cannot be refreshed. |
bookRegionInactive | array | bettorAccounts on an inactive bookRegion. Cannot be refreshed. |
rateLimited | array | see rateLimiting. |
otpRequired | array | bettorAccounts with otpRequired=true. See 2FA handling guide. |
authParameterRequired | array | bettorAccounts on books with sdkRequired=true. See relevant SDK guide. |
extensionUpdateRequired | array | bettorAccounts linked with a browser extension with an outdated version. |
requestId | string | the requestId of the refresh used for tracing. |
cid | string | If bettorAccount in the otpRequired array, use this CID to handle OTP input. See 2FA handling guide. |
extensionDownloadUrl | string | if bettorAccount in the extensionUpdateRequired array, use this url to prompt extension download. |
backgroundRefreshRequired | array | if bettorAccount in the backgroundRefreshRequired list make sure to follow the instructions in the sdk to generate the refresh. |