ChangeResellerConsumeAmount - 进行用户 Quota 消费抵扣
接口说明
进行用户 Quota 消费抵扣。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
bss:ChangeResellerConsumeAmount |
update |
*全部资源
|
无 | 无 |
请求参数
名称 |
类型 |
必填 |
描述 |
示例值 |
AdjustType |
string |
是 |
消费金额调整方向 increase:增加,用户消费增加金额 decrease:减少,用户充值减少金额 [必填] |
increase/decrease |
Amount |
string |
是 |
调整金额,单位为元 |
10.00 |
Currency |
string |
是 |
币种 |
CNY |
BusinessType |
string |
是 |
业务类型 |
quota_amount_adjust |
Source |
string |
是 |
请求来源,填写系统名称即可 |
system |
OutBizId |
string |
是 |
外部业务主键 ID,用于做幂等性校验使用 |
1647396865 |
ExtendMap |
string |
否 |
消息扩展字段。 |
{} |
返回参数
名称 |
类型 |
描述 |
示例值 |
object |
|||
Code |
string |
调用失败时,返回的错误码。更多信息,请参见错误码。 |
200 |
Message |
string |
调用结果的附加信息。 |
successful |
Data |
string |
修改后对应的 quota 账本消费额度 |
300.00 |
RequestId |
string |
请求 id。 |
D6E068C3-25BC-455A-85FE-45F0B22ECB1F |
Success |
boolean |
success=true 代表调用执行完成。success=false 代表执行出现错误。 |
true |
示例
正常返回示例
JSON
格式
{
"Code": "200",
"Message": "successful",
"Data": "300.00",
"RequestId": "D6E068C3-25BC-455A-85FE-45F0B22ECB1F",
"Success": true
}
错误码
HTTP status code |
错误码 |
错误信息 |
描述 |
---|---|---|---|
400 | NotApplicable | This API is not applicable for caller. | |
400 | NotAuthorized | This API is not authorized for caller. | |
400 | InternalError | The request processing has failed due to some unknown error, exception or failure. | |
400 | ParameterError | Missing the must parameter. | |
400 | -1101 | The request processing has failed due to some unknown error. | |
500 | UndefinedError | The request processing has failed due to some unknown error. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。