POST api/v1/SelfCheckin/CreatePayQRCodeForVipRecharge

建立支付会员充值二维码

请求信息(Request)

URI 参数

None.

Body 参数

HotelCreateVipPayDto
名称描述类型备注
HotelId

酒店id

integer

None.

DealerID

integer

None.

PmsHotelId

PMS酒店id

string

None.

PayType

支付类型

PayType

None.

PaySubType

支付子类型

PaySubType

None.

UseType

支付用途

PayUseType

None.

Amount

支付金额

decimal number

None.

Subject

支付主题

string

None.

Remark

备注

string

None.

DayCount

天数

integer

None.

HourCount

时长

integer

None.

ClientIp

客户端ip

string

None.

AllocationId

预留ID

string

None.

VipCardID

会员卡ID

string

None.

OutTradeId

integer

None.

PhoneNumber

手机

string

None.

请求格式

application/json, text/json

Sample:
{
  "HotelId": 1,
  "DealerID": 2,
  "PmsHotelId": "sample string 3",
  "PayType": 0,
  "PaySubType": 0,
  "UseType": 0,
  "Amount": 4.0,
  "Subject": "sample string 5",
  "Remark": "sample string 6",
  "DayCount": 1,
  "HourCount": 1,
  "ClientIp": "sample string 7",
  "AllocationId": "sample string 8",
  "VipCardID": "sample string 9",
  "OutTradeId": 10,
  "PhoneNumber": "sample string 11"
}

application/xml, text/xml

Sample:
<HotelCreateVipPayDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs">
  <AllocationId>sample string 8</AllocationId>
  <Amount>4</Amount>
  <ClientIp>sample string 7</ClientIp>
  <DayCount>1</DayCount>
  <DealerID>2</DealerID>
  <HotelId>1</HotelId>
  <HourCount>1</HourCount>
  <OutTradeId>10</OutTradeId>
  <PaySubType>MpPay</PaySubType>
  <PayType>Offline</PayType>
  <PhoneNumber>sample string 11</PhoneNumber>
  <PmsHotelId>sample string 3</PmsHotelId>
  <Remark>sample string 6</Remark>
  <Subject>sample string 5</Subject>
  <UseType>PmsOrder</UseType>
  <VipCardID>sample string 9</VipCardID>
</HotelCreateVipPayDto>

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 'HotelCreateVipPayDto'.

响应信息(Response)

资源描述

RequestResultOfHotelQrPayResult
名称描述类型备注
Data

HotelQrPayResult

None.

Status

状态(0:成功,1:失败)

integer

None.

Message

导致失败的相关消息

string

None.

Total

集合总数,用于分页时使用

integer

None.

响应格式

application/json, text/json

Sample:
{
  "Data": {
    "OutTradeId": 1,
    "OrderId": "sample string 2",
    "RegOrderId": "sample string 3",
    "Amount": 4.0,
    "PayType": 0,
    "UseType": 0,
    "PostTimestamp": "sample string 5",
    "QRCodeUrl": "sample string 6",
    "TradeNo": "sample string 7",
    "State": "sample string 8",
    "PayTime": "2025-05-04T17:28:11.933645+08:00",
    "PayTypeName": "线下支付",
    "Status": 9,
    "Message": "sample string 10"
  },
  "Status": 1,
  "Message": "sample string 2",
  "Total": 3
}

application/xml, text/xml

Sample:
<RequestResultOfHotelQrPayResult6NgmDdgv xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application">
  <Message>sample string 2</Message>
  <Status>1</Status>
  <Total>3</Total>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs">
    <d2p1:Message>sample string 10</d2p1:Message>
    <d2p1:Status>9</d2p1:Status>
    <d2p1:Amount>4</d2p1:Amount>
    <d2p1:OrderId>sample string 2</d2p1:OrderId>
    <d2p1:OutTradeId>1</d2p1:OutTradeId>
    <d2p1:PayTime>2025-05-04T17:28:11.933645+08:00</d2p1:PayTime>
    <d2p1:PayType>Offline</d2p1:PayType>
    <d2p1:PostTimestamp>sample string 5</d2p1:PostTimestamp>
    <d2p1:QRCodeUrl>sample string 6</d2p1:QRCodeUrl>
    <d2p1:RegOrderId>sample string 3</d2p1:RegOrderId>
    <d2p1:State>sample string 8</d2p1:State>
    <d2p1:TradeNo>sample string 7</d2p1:TradeNo>
    <d2p1:UseType>PmsOrder</d2p1:UseType>
  </Data>
</RequestResultOfHotelQrPayResult6NgmDdgv>