Skip to content

Commit c72575e

Browse files
committed
add aba
1 parent 47bd6f5 commit c72575e

17 files changed

Lines changed: 3528 additions & 8 deletions
Lines changed: 189 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
1+
{
2+
"openapi": "3.1.0",
3+
"info": {
4+
"title": "aba-applyCard",
5+
"description": "",
6+
"version": "1.0.0"
7+
},
8+
"tags": [],
9+
"paths": {
10+
"/ams/api/v1/aba/cards/applyCard": {
11+
"get": {
12+
"summary": "applyCard",
13+
"deprecated": false,
14+
"description": "",
15+
"tags": [],
16+
"parameters": [],
17+
"requestBody": {
18+
"content": {
19+
"application/json": {
20+
"schema": {
21+
"$ref": "#/components/schemas/AlipayApplyCardRequest"
22+
},
23+
"examples": {}
24+
}
25+
}
26+
},
27+
"responses": {
28+
"200": {
29+
"description": "",
30+
"content": {
31+
"application/json": {
32+
"schema": {
33+
"$ref": "#/components/schemas/AlipayApplyCardResponse"
34+
}
35+
}
36+
},
37+
"headers": {}
38+
}
39+
},
40+
"security": []
41+
}
42+
}
43+
},
44+
"webhooks": {},
45+
"components": {
46+
"schemas": {
47+
"CardLimitInfo": {
48+
"type": "object",
49+
"properties": {
50+
"currency": {
51+
"type": "string"
52+
},
53+
"dailyLimitMax": {
54+
"type": "string"
55+
},
56+
"monthlyLimitMax": {
57+
"type": "string"
58+
},
59+
"perTransactionLimitMax": {
60+
"type": "string"
61+
},
62+
"perCardLimitMax": {
63+
"type": "string"
64+
}
65+
}
66+
},
67+
"AuthorizationControl": {
68+
"type": "object",
69+
"properties": {
70+
"cardActiveTime": {
71+
"type": "string"
72+
},
73+
"cardCancelTime": {
74+
"type": "string"
75+
},
76+
"allowedMerchantCategoryList": {
77+
"type": "array",
78+
"items": {
79+
"type": "string"
80+
}
81+
},
82+
"allowedAuthTimes": {
83+
"type": "string"
84+
},
85+
"allowedCurrencies": {
86+
"type": "string"
87+
},
88+
"cardLimitInfo": {
89+
"$ref": "#/components/schemas/CardLimitInfo"
90+
}
91+
}
92+
},
93+
"AlipayApplyCardRequest": {
94+
"type": "object",
95+
"properties": {
96+
"requestId": {
97+
"type": "string"
98+
},
99+
"cardNickName": {
100+
"type": "string"
101+
},
102+
"cardBinRule": {
103+
"type": "string"
104+
},
105+
"purpose": {
106+
"type": "string"
107+
},
108+
"metadata": {
109+
"type": "object",
110+
"properties": {},
111+
"additionalProperties": {
112+
"type": "string"
113+
}
114+
},
115+
"authorizationControl": {
116+
"$ref": "#/components/schemas/AuthorizationControl"
117+
}
118+
}
119+
},
120+
"ResultStatusType": {
121+
"type": "string",
122+
"enum": [
123+
"S",
124+
"F",
125+
"U"
126+
]
127+
},
128+
"Result": {
129+
"type": "object",
130+
"properties": {
131+
"resultCode": {
132+
"type": "string",
133+
"description": "The result code."
134+
},
135+
"resultStatus": {
136+
"description": "The result status. Valid values are:\n\nS: indicates that the result status is successful.\nF: indicates that the result status is failed. \nU: indicates that the result status is unknown. ",
137+
"$ref": "#/components/schemas/ResultStatusType"
138+
},
139+
"resultMessage": {
140+
"type": "string",
141+
"description": "The result message."
142+
}
143+
},
144+
"required": [
145+
"resultCode",
146+
"resultStatus"
147+
]
148+
},
149+
"AlipayApplyCardResponse": {
150+
"type": "object",
151+
"properties": {
152+
"result": {
153+
"$ref": "#/components/schemas/Result"
154+
},
155+
"requestId": {
156+
"type": "string"
157+
},
158+
"status": {
159+
"type": "string"
160+
},
161+
"assetId": {
162+
"type": "string"
163+
},
164+
"cvv": {
165+
"type": "string"
166+
},
167+
"cardNo": {
168+
"type": "string"
169+
},
170+
"expiredMonth": {
171+
"type": "string"
172+
},
173+
"expiredYear": {
174+
"type": "string"
175+
}
176+
},
177+
"required": [
178+
"result"
179+
]
180+
}
181+
},
182+
"securitySchemes": {}
183+
},
184+
"servers": [
185+
{
186+
"url": "https://open-sea-global.alipay.com/ams/api/v1/aba/cards/applyCard"
187+
}
188+
]
189+
}

0 commit comments

Comments
 (0)