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: | ||||
19 | code: | ||||
20 | type: string | ||||
21 | title: 错误码 | ||||
22 | message: | ||||
23 | type: string | ||||
24 | title: 错误信息 | ||||
Tang Cheng | cc4299d | 2020-03-12 15:55:12 +0800 | [diff] [blame] | 25 | TransDate: |
26 | type: string | ||||
27 | title: 交易日期 | ||||
28 | minLength: 8 | ||||
29 | maxLength: 8 | ||||
30 | pattern: '[0-9]*' | ||||
31 | TransTime: | ||||
32 | type: string | ||||
33 | title: 交易时间 | ||||
34 | minLength: 6 | ||||
35 | maxLength: 6 | ||||
36 | pattern: '[0-9]*' | ||||
37 | ShopAccNo: | ||||
38 | type: string | ||||
39 | title: 商户号 | ||||
40 | pattern: '[0-9]*' | ||||
41 | Refno: | ||||
42 | type: string | ||||
43 | title: 交易号 | ||||
44 | minLength: 16 | ||||
45 | pattern: '[0-9]*' | ||||
46 | QrcodeFormat: | ||||
47 | type: string | ||||
48 | title: Qrcode格式 | ||||
49 | enum: | ||||
50 | - plain | ||||
51 | - base64 | ||||
52 | - hex | ||||
Tang Cheng | 3b2c820 | 2020-03-17 08:45:40 +0800 | [diff] [blame] | 53 | TransResult: |
54 | type: string | ||||
55 | enum: | ||||
56 | - success | ||||
57 | - failed | ||||
58 | - already_success | ||||
59 | - require_query |