额度转换转入

接口说明

将额度从商户账户转入会员游戏账户。

请求地址

POST /api/transfer/in

请求参数

参数名 类型 必填 说明
account String 商户账号
api_key String 商户密钥
api_code String 接口标识
username String 会员账号
amount Decimal 转入金额
order_no String 商户订单号(需唯一)

响应参数

参数名 类型 说明
Code Int 返回码(0成功)
Message String 返回说明
Data Object 返回数据

请求示例

POST /api/transfer/in
Content-Type: application/x-www-form-urlencoded

account=merchant123&api_key=abc123&api_code=AG&username=test001&amount=100.00&order_no=20240101001

响应示例

{
  "Code": 0,
  "Message": "成功",
  "Data": {
    "order_no": "20240101001",
    "amount": "100.00",
    "balance": "900.00"
  }
}

目录