POST cyapi/pos/checkAccount

Request Information

URI Parameters

None.

Body Parameters

CheckAccountRequest
NameDescriptionTypeAdditional information
skyid

string

None.

sktno

string

None.

terminalNo

string

None.

proType

integer

None.

version

string

None.

timeStamp

string

None.

Request Formats

application/json, text/json

Sample:
{
  "skyid": "sample string 1",
  "sktno": "sample string 2",
  "terminalNo": "sample string 3",
  "proType": 4,
  "version": "sample string 5",
  "timeStamp": "sample string 6"
}

application/xml, text/xml

Sample:
<CheckAccountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosLibrary.PubData">
  <proType>4</proType>
  <sktno>sample string 2</sktno>
  <terminalNo>sample string 3</terminalNo>
  <timeStamp>sample string 6</timeStamp>
  <version>sample string 5</version>
  <skyid>sample string 1</skyid>
</CheckAccountRequest>

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

Response Information

Resource Description

CheckAccountResponse
NameDescriptionTypeAdditional information
data

CheckAccountData

None.

retCode

string

None.

retMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "sumTradeNumber": 1,
    "sumTradeMoney": 2,
    "sumRefundNumber": 3,
    "sumRefundMoney": 4,
    "paymentList": [
      {
        "id": 1,
        "name": "sample string 2",
        "paymentType": 3,
        "changeType": 4,
        "yhjid": 5,
        "payedMoney": 6,
        "morePayedMoney": 7,
        "realuserMoney": 8,
        "zlclfs": 9,
        "mZLYYJE": 10,
        "xssx": 11,
        "bj_jf": 12,
        "yYje": 13,
        "sumSkfsMoney": 14,
        "sumSkfsNumber": 15
      },
      {
        "id": 1,
        "name": "sample string 2",
        "paymentType": 3,
        "changeType": 4,
        "yhjid": 5,
        "payedMoney": 6,
        "morePayedMoney": 7,
        "realuserMoney": 8,
        "zlclfs": 9,
        "mZLYYJE": 10,
        "xssx": 11,
        "bj_jf": 12,
        "yYje": 13,
        "sumSkfsMoney": 14,
        "sumSkfsNumber": 15
      }
    ]
  },
  "retCode": "sample string 1",
  "retMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<CheckAccountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PosLibrary.PubData">
  <retCode>sample string 1</retCode>
  <retMessage>sample string 2</retMessage>
  <data>
    <paymentList>
      <Payment>
        <ChangeType>4</ChangeType>
        <Id>1</Id>
        <MorePayedMoney>7</MorePayedMoney>
        <Name>sample string 2</Name>
        <PayedMoney>6</PayedMoney>
        <PaymentType>3</PaymentType>
        <Yhjid>5</Yhjid>
        <bj_jf>12</bj_jf>
        <mZLYYJE>10</mZLYYJE>
        <realuserMoney>8</realuserMoney>
        <sumSkfsMoney>14</sumSkfsMoney>
        <sumSkfsNumber>15</sumSkfsNumber>
        <xssx>11</xssx>
        <yYje>13</yYje>
        <zlclfs>9</zlclfs>
      </Payment>
      <Payment>
        <ChangeType>4</ChangeType>
        <Id>1</Id>
        <MorePayedMoney>7</MorePayedMoney>
        <Name>sample string 2</Name>
        <PayedMoney>6</PayedMoney>
        <PaymentType>3</PaymentType>
        <Yhjid>5</Yhjid>
        <bj_jf>12</bj_jf>
        <mZLYYJE>10</mZLYYJE>
        <realuserMoney>8</realuserMoney>
        <sumSkfsMoney>14</sumSkfsMoney>
        <sumSkfsNumber>15</sumSkfsNumber>
        <xssx>11</xssx>
        <yYje>13</yYje>
        <zlclfs>9</zlclfs>
      </Payment>
    </paymentList>
    <sumRefundMoney>4</sumRefundMoney>
    <sumRefundNumber>3</sumRefundNumber>
    <sumTradeMoney>2</sumTradeMoney>
    <sumTradeNumber>1</sumTradeNumber>
  </data>
</CheckAccountResponse>