User Order Query(Optional)Interface Description

Description:

  • Game Develop Server Can Query Order Data Through This Request.
  • This Interface Is Not Mandatory.
  • Suggest the Game Develop Server Whitelist The IP Address Of The ULU Platform Server.
  • Signature Type:MD5 Signature With LowerCase.

Request URL:

Request Method:

  • POST

Content-Type:

  • applicaton/json

Request Body:

Parameter Name Required Type Describe
orderId true String(100) Order Number, Unique.
signature true String(32) Signature Information, Sorted By Parameter Name a-z (Signature Is Not Encrypted), Concatenated Parameter Values + Secret (key) To Get FinalString, Then Encrypted With md5(), For Example: md5 (amount+channelReceipt+currency+...+uid+secret)

Request Body Demo:

{
    "orderId":"1544990963624099842",
    "signature":"db125296fead97fba019c54bcc26fbf0"
}

Response Parameter:

Parameter Name Type Describe
code Int(1) Status Code:0 Is SUCCESS.
msg String(255) Msg.
data JsonObject Order Data

data Parameter:

Parameter Name Type Describe
orderId String(50) Order Number, Unique.
gameId Int(10) GameId.
goodsName String(255) Game Develop Provide ProductName.
goodsId String(100) Game Develop Provide ProductId.
goodsNum Int(11) Product Include Basic Quantity.
goodsExtraNum Int(11) Product Include Additional Gift Quantity.
appName String(50) Game Name.
roleId String(500) User RoleId.
roleName String(500) User RoleName.
serverId String(500) User ServerId.
serverName String(500) User ServerName.
userId String(50) User Uid.
payDateMs Int(20) Pay Timestamp,Exp:1725271615000.
goodsAmount String(20) Goods Fixed Price.
quantity Int(5) Pay Quantity.
payAmount String(20) The Actual Amount Paid By The User.
goodsCurrency String(3) Goods Fixed Currency.
payStatus Int(1) User PayStatus Code,0:Wait Pay,1:Success Pay,2:Cancel Pay
goodsTotalPrice String(20) GoodsTotalPrice=goodsAmount * quantity
createTime Int(20) Order CreateTime

Successful Response Demo:

{
    "code": 0,
    "msg": "SUCCESS",
    "data": {
        "orderId":"1544990963624099842",
        "gameId":"100000",
        "goodsName":"Diamond",
        "goodsId":"12",
        "goodsNum":100,
        "goodsExtraNum":5,
        "appName":"2x",
        "roleId":"10010"
        "roleName":"안녕",
        "serverId":"10011",
        "serverName ":"S.10011",
        "userId":"1199976566352814082",
        "payDateMs":"1677148735817",
        "goodsAmount":1500,
        "quantity":10,
        "goodsTotalPrice":15000,
        "createTime""1677148735817",
        "payAmount":14900,
        "goodsCurrency":"KRW",
        "payStatus":1
    }
}

Error Response Demo:

{
    "code": 500"msg":"orderId is not exist",
    "data":null
 }

results matching ""

    No results matching ""