POST api/v2/custompayment/update/{payId}/{lang}

修改订单信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
payId

付款单Id

string

Required

lang

string

Required

Body Parameters

CustomPaymentUpdateContract
NameDescriptionTypeAdditional information
status

订单状态

CustomPaymentOrderStatus

None.

paymentinfo

付款资料

PaymentInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "status": 0,
  "paymentinfo": {
    "createagent": "sample string 1",
    "createip": "sample string 2",
    "createdate": "2024-12-23T19:25:00.8742975+08:00",
    "paytype": "sample string 4",
    "paydate": "2024-12-23T19:25:00.8742975+08:00",
    "payamt": 6.0,
    "paycurrency": "sample string 7",
    "paytranid": "sample string 8",
    "paytrantype": 0,
    "payerid": "sample string 9",
    "ispaid": true,
    "creditcardnum": "sample string 11"
  }
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CustomPaymentUpdateContract'.

Response Information

Resource Description

修改订单信息

ReturnResult
NameDescriptionTypeAdditional information
code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2"
}