blob: d45a0d7c952474e0eedcddbae2919c9b460e25b9 [file] [log] [blame]
Tang Chengcc4299d2020-03-12 15:55:12 +08001components:
2 headers:
3 TenantId:
4 name: X-Tenant-Id
5 in: header
6 description: 租户ID
7 required: true
8 schema:
9 type: string
10
11
12 schemas:
Tang Cheng3b2c8202020-03-17 08:45:40 +080013 ErrorResponse:
14 type: object
15 title: 请求错误
16 required:
17 - message
18 properties:
Tang Cheng61a10292020-03-17 11:15:30 +080019 timestamp:
20 type: string
21 format: date-time
Tang Cheng3b2c8202020-03-17 08:45:40 +080022 code:
23 type: string
24 title: 错误码
25 message:
26 type: string
27 title: 错误信息
Tang Chengcc4299d2020-03-12 15:55:12 +080028 TransDate:
29 type: string
30 title: 交易日期
31 minLength: 8
32 maxLength: 8
33 pattern: '[0-9]*'
34 TransTime:
35 type: string
36 title: 交易时间
37 minLength: 6
38 maxLength: 6
39 pattern: '[0-9]*'
40 ShopAccNo:
41 type: string
42 title: 商户号
43 pattern: '[0-9]*'
44 Refno:
45 type: string
46 title: 交易号
47 minLength: 16
48 pattern: '[0-9]*'
49 QrcodeFormat:
50 type: string
51 title: Qrcode格式
52 enum:
53 - plain
54 - base64
55 - hex
Tang Cheng3b2c8202020-03-17 08:45:40 +080056 TransResult:
57 type: string
58 enum:
59 - success
60 - failed
61 - already_success
62 - require_query