Skip to Content
TransferJDB Platform APIPlayer ManagementAction 12: Create Player

Action 12: Create Player

Function Description

  • Create a player(to create a Agent Level related account, please go to the agent platform to create or use Action 13:Create Management Accounts.)
  • Role description: House → Manager → Master Agent → Agent → Player (cannot create an account across account level)
  • The credit allocated cannot exceed the 9-digit limit an error message 6011.
  • User ID under the same dc must be unique.

Parameter

ParameterFormatMandatoryDescription
actionIntegerY12
tsLongYCurrent system time
parentString(50)YAgent ID
uidString(50)YPlayer ID
Only a - z and 0 - 9 and underscores (_) and hyphens (-) allowed. If the UID is in Uppercase, the system will automatically convert it to lowercase
nameString(50)YPlayer Name
Special symbols are not allowed: <>#”’%-+=*/|&
credit_allocatedIntegerNInitial credits in the account. (By default is 0)

Example

{ "action":12, "ts":1447452951820, "parent":"testag", "uid":"testpl01", "name":"testplayer", "credit_allocated":1000 }

Return Results

ParameterFormatDescription
statusString(4)Success: 0000

Error: See Error Codes in Appendix
err_textString(255)Error message

Operation Sample

// Http Request http://{API_Address}/apiRequest.do?dc=jb&x=udbFVt_xv0tsAmLDpz5Z3Ct4-p0gedUPdQO-UWsfd6PHz9Ky-wM3mIC9El4kwl_SlX3lpraVaCLnp-K0WsgKmpYTV9XpYncHzbtvn591qfaAwpGyOvsS4v1Yj7OvpRw_iU4554RuSsvHpI9jaj4XUgTK5yzbWKEddANjAAbxF0s= // Http Response (success) { "status":"0000" } // Http Response (error) { "status":"7602", " err_text":"Account already exist. Please choose other user ID." }
Last updated on