D黑奴背锅 文档中心
修仙 API经济
POST/business/xiuxian/economy/bank_repay

偿还修仙银行贷款。

注意事项

  • 无贷款返回 code=1,message='修仙数据不存在'。
  • 灵石不足返回 code=1,message='修仙资源不足'。

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X POST "https://example.com/business/xiuxian/economy/bank_repay"
{  "code": 0,  "message": "还款成功",  "data": {    "profile": {      "user_id": "b1_p1",      "gold": 1500    },    "result": {      "repaid": 2000    }  },  "time": 1779502528}