增加账户相关接口
diff --git a/payapi-spec/definitions.yaml b/payapi-spec/definitions.yaml
index ed1adb4..a72bb54 100644
--- a/payapi-spec/definitions.yaml
+++ b/payapi-spec/definitions.yaml
@@ -82,7 +82,7 @@
- canceled
- closed
- notexists
- SubAccountMetadata:
+ SubAccountBalance:
type: object
required:
- name
@@ -94,6 +94,9 @@
status:
title: 子账户状态
$ref: '#/components/schemas/UserStatus'
+ offline:
+ type: boolean
+ title: 是否允许脱机使用
balance:
type: integer
title: 子账户余额
@@ -101,3 +104,18 @@
type: string
title: 余额有效期
format: date-time
+ SubAccountMetadata:
+ type: object
+ properties:
+ name:
+ type: string
+ title: 账户名
+ title:
+ type: string
+ title: 账户类型
+ description:
+ type: string
+ title: 账户描述
+ offline:
+ type: boolean
+ title: 是否可以脱机使用