Tang Cheng | cc4299d | 2020-03-12 15:55:12 +0800 | [diff] [blame] | 1 | components: |
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 Cheng | 3b2c820 | 2020-03-17 08:45:40 +0800 | [diff] [blame] | 13 | ErrorResponse: |
14 | type: object | ||||
15 | title: 请求错误 | ||||
16 | required: | ||||
17 | - message | ||||
18 | properties: | ||||
Tang Cheng | 61a1029 | 2020-03-17 11:15:30 +0800 | [diff] [blame^] | 19 | timestamp: |
20 | type: string | ||||
21 | format: date-time | ||||
Tang Cheng | 3b2c820 | 2020-03-17 08:45:40 +0800 | [diff] [blame] | 22 | code: |
23 | type: string | ||||
24 | title: 错误码 | ||||
25 | message: | ||||
26 | type: string | ||||
27 | title: 错误信息 | ||||
Tang Cheng | cc4299d | 2020-03-12 15:55:12 +0800 | [diff] [blame] | 28 | 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 Cheng | 3b2c820 | 2020-03-17 08:45:40 +0800 | [diff] [blame] | 56 | TransResult: |
57 | type: string | ||||
58 | enum: | ||||
59 | - success | ||||
60 | - failed | ||||
61 | - already_success | ||||
62 | - require_query |