积分增加
POST
/api/points/change
适用版本:支持U8V12.0 及更高版本
使用场景:积分增加
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.yonyouup.com/api/points/change?from_account&to_account&app_key=&token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"mid":34,
"action_type":5,
"time":"2015-12-12 00:00:00",
"ori_money":100,
"calc_money":100,
"calc_ points":-200,
"ori_points":100,
"multiple":2,
"extra_points":20,
"extra_memo ":"满500元额外赠送2000积分",
"source_code":"201512120000001",
"source1":"201512120000001",
"source2":"201512120000001"
}
]'
响应示例响应示例
{
"errcode": "string",
"errmsg": "string",
"id": "string",
"mid": "string",
"action_type": "string",
"ori_money": "string",
"calc_money": "string",
"ori_points": "string",
"cur_points": "string",
"multiple": "string",
"extra_points": "string",
"extra_memo": "string",
"source_code": "string",
"source1": "string",
"source2": "string"
}
请求参数
Query 参数
from_account
调用方id
to_account
提供方id
app_key
应用编码
token
必需
ds_sequence
可选
Body 参数application/json