BETCORE Aggregator
Provider IntegrationCasino IntegrationFeed Integration
Provider IntegrationCasino IntegrationFeed Integration
Visit Betcore website
Follow Betcore on Instagram
Follow Betcore on LinkedIn
Follow Betcore on Youtube
  1. Users
  • PLEASE READ: Getting Started
  • Integrate BETCORE Games
    • Integrate BETCORE Games
    • WebFrame Connection
    • BETCORE API
      • Authentication
        • Token
          POST
        • Verify
          POST
        • Jwks
          GET
      • Payments
        • Accept
          POST
      • Cashback
        • Accept
          POST
    • PARTNER API
      • Users
        • Auth
          POST
        • Data
          POST
      • Payments
        • Info
          POST
        • Make
          POST
        • Make-list
          POST
        • Close
          POST
      • Cashback
        • Make
          POST
  • Integrate YOUR Games
    • Integrate as Games Provider
    • PARTNER API
      • Games
        • Games
          GET
        • Launch
          POST
    • BETCORE API
      • Get Balance
        • Balance
          GET
      • Bets
        • PayIn
          POST
        • PayOut
          POST
        • PayInOut
          POST
        • Refund
          POST
  • Feed Integration
    • Feed Integration
    • REST API
      • Authorization
        • Token
          POST
      • Games
        • List
          GET
        • Info
          GET
        • Translations
          GET
      • Jackpot
        • Accumulated
          GET
    • Websocket
      • SubOnWholeGamesInfo
Provider IntegrationCasino IntegrationFeed Integration
Provider IntegrationCasino IntegrationFeed Integration
Visit Betcore website
Follow Betcore on Instagram
Follow Betcore on LinkedIn
Follow Betcore on Youtube
  1. Users

Data

POST
{partners-api-host}/users/data

Overview

The Data method is used to retrieve user (player) information.

BETCORE calls this method to get additional information about the user (player), in particular their balance.

The request body is a JWT token. The data field contains a JSON string containing the PartnerUserId (player ID, string) and TagId.

JWT PAYLOAD EXAMPLE

{
  "nbf": 1620989453,
  "exp": 1620989463,
  "iss": "https://test.tvbetapi.net/identity-api",
  "data": "{\"PartnerUserId\":\"SomeUserId100\",\"TagId\":1313}",
  "client_id": "PartnerClient-1556"
}

Request Parameters

Parameter Data type Description Required
JWT payload
data json string Request data. Yes
  PartnerUserId string Partner's player ID. Yes
TagId number Identification tag for an embedded iFrame page element; relevant for Partners using WebFrame as a client.
See more on Tags.
Yes
ExtraData object Additional data at the Partner's request. No

Request

Path Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

⚪102145User not found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://partners-api-host/users/data' \
--header 'Content-Type: application/json' \
--data-raw '"eyJhbGciOiJSUzI1NiIsImtpZCI6IkQyNTk5NTU5REMxNkI5NkZGNkU5OTI2NkQ2MTdBMDgyQjk2MjdDNUEiLCJ0eXAiOiJKV1QiLCJ4NXQiOiIwbG1WV2R3V3VXXzI2WkptMWhlZ2dybGlmRm8ifQ.eyJuYmYiOjE2MjA5ODk0NTMsImV4cCI6MTYyMDk4OTQ2MywiaXNzIjoiaHR0cHM6Ly90ZXN0LnR2YmV0YXBpLm5ldC9pZGVudGl0eS1hcGkiLCJkYXRhIjoie1wiUGFydG5lclVzZXJJZFwiOlwiU29tZVVzZXJJZDEwMFwifSIsImNsaWVudF9pZCI6IlBhcnRuZXJDbGllbnQtMTU1NiJ9"'
Response Response Example
200 - Success
{
    "ErrorCode": 200,
    "Message": "Success",
    "Value": {
        "Balance": "7100.5"
    }
}
Previous
Auth
Next
Info
Built with