文档中心 > API类目 > 云游戏API

alibaba.cloudgame.tradeplatform.submitrepay (信控还款)

信控还款

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
repay_submit_request RepaySubmitRequest 可选 1
  • └ amount
  • Number
  • 可选
  • 1
  • 1
  • └ repay_idempotent_code
  • String
  • 可选
  • 1
  • 1
  • └ cashier_return_url
  • String
  • 可选
  • 1
  • 1
  • └ country_code
  • String
  • 可选
  • 1
  • 1
  • └ tenant_id
  • Number
  • 可选
  • 1
  • 1
  • └ currency
  • String
  • 可选
  • 1
  • 1
  • └ repay_serial_id
  • String
  • 可选
  • 1
  • 1
  • └ remark
  • String
  • 可选
  • 1
  • 1
  • └ transfer_remind_url
  • String
  • 可选
  • 1
  • 1

响应参数

名称 类型 示例值 描述
result_success Boolean 1 1
error CommonError 1
  • error_code
  • ErrorCode
  • 1
  • └ code
  • String
  • 1
  • 1
  • └ prefix
  • String
  • 1
  • 1
  • └ location
  • String
  • 1
  • 1
  • └ message
  • String
  • 1
  • 1
value RepaySubmitResponse 1
  • └ huijin_repay_order_id
  • String
  • 1
  • 1
  • └ repay_status
  • String
  • 1
  • 1
  • └ channel_trade_time
  • Date
  • 1
  • 1
  • └ channel_trade_no
  • String
  • 1
  • 1
  • └ channel_error_code
  • String
  • 1
  • 1
  • └ cashier_url
  • String
  • 1
  • 1
  • └ web_form_type
  • String
  • 1
  • 1
  • └ redirect_type
  • String
  • 1
  • 1

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaCloudgameTradeplatformSubmitrepayRequest req = new AlibabaCloudgameTradeplatformSubmitrepayRequest();
AlibabaCloudgameTradeplatformSubmitrepayRequest.RepaySubmitRequest obj1 = new AlibabaCloudgameTradeplatformSubmitrepayRequest.RepaySubmitRequest();
obj1.setAmount(1L);
obj1.setRepayIdempotentCode("1");
obj1.setCashierReturnUrl("1");
obj1.setCountryCode("1");
obj1.setTenantId(1L);
obj1.setCurrency("1");
obj1.setRepaySerialId("1");
obj1.setRemark("1");
obj1.setTransferRemindUrl("1");
req.setRepaySubmitRequest(obj1);
AlibabaCloudgameTradeplatformSubmitrepayResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_cloudgame_tradeplatform_submitrepay_response>
    <result_success>1</result_success>
    <error>
        <error_code>
            <code>1</code>
            <prefix>1</prefix>
        </error_code>
        <location>1</location>
        <message>1</message>
    </error>
    <value>
        <huijin_repay_order_id>1</huijin_repay_order_id>
        <repay_status>1</repay_status>
        <channel_trade_time>1</channel_trade_time>
        <channel_trade_no>1</channel_trade_no>
        <channel_error_code>1</channel_error_code>
        <cashier_url>1</cashier_url>
        <web_form_type>1</web_form_type>
        <redirect_type>1</redirect_type>
    </value>
</alibaba_cloudgame_tradeplatform_submitrepay_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部