Skip to main content

UserValidate

POST 

user_validate

UserValidate

Request

Body

required

    id string

    non-empty

    Unique ID of the webhook

    create_time string

    Notification creation time, format example: 2021-11-08T05:45:20Z

    update_time string

    Update time, format example: 2021-11-08T05:45:20Z

    event_type string

    event_type

    event_version string

    event version

    resource_type string

    resource_type

    resource_version string

    resource version,currenct version:v1

    summary string

    Callback summary information

    resource

    object

    app_id string

    non-empty

    Application ID, assigned by MidasBuy

    user_id string

    non-empty

    Unique identifier of the game player within the game

    server_id string

    The number of the game server

Responses

OK

Response

    app_id string

    Application ID, assigned by MidasBuy

    user_id string

    Unique identifier of the game player within the game

    server_id string

    The number of the game server

    user_name string

    the nick name of user

    is_topup_forbidden boolean

    Whether to prohibit user recharge. If prohibited, MidasBuy will terminate the recharge process. If not set, the default is not disabled (optional)

    forbidden_reason

    object

    code string

    Error codes for prohibited recharge, defined by the Midasbuy, used for Midas to identify reasons and for statistics.1.ACCOUNT_STATUS_ABNORMAL:Account status abnormal (e.g. frozen/deactivated).2.COMPLIANCE_VERIFICATION_FAILED: Compliance verification failed (e.g. minor/high-risk region).3.INSUFFICIENT_PRIVILEGES:Account lacks recharge privileges(e.g. game level).4.RECHARGE_LIMIT_EXCEEDED:Daily/monthly recharge limit reached.5.GEO_RESTRICTION:Geographical restrictions apply.6.OTHER:Other reason.

    message string

    details

    user_attribute object

    Some extended user attributes required for the recharge process, set according to specific scenarios. Please contact Midas if needed (optional)

curl -L '' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"id": "2021110805452010020000",
"create_time": "2021-11-08T05:45:20Z",
"update_time": "2021-11-08T05:45:20Z",
"event_type": "USER_VALIDATE",
"event_version": "v1",
"resource_type": "RESOURCE_TYPE_USER",
"resource_version": "v1",
"summary": "extent info",
"resource": {
"app_id": "1450015065",
"user_id": "12345678",
"server_id": "1"
}
}'
Request Collapse all
Webhook URLrequired
Method
Body required
{
  "id": "2021110805452010020000",
  "create_time": "2021-11-08T05:45:20Z",
  "update_time": "2021-11-08T05:45:20Z",
  "event_type": "USER_VALIDATE",
  "event_version": "v1",
  "resource_type": "RESOURCE_TYPE_USER",
  "resource_version": "v1",
  "summary": "extent info",
  "resource": {
    "app_id": "1450015065",
    "user_id": "12345678",
    "server_id": "1"
  }
}
ResponseClear

Click the Send API Request button above and see the response here!