Skip to content

Commit

Permalink
enumerations of account_type
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNorthMemory committed Dec 23, 2024
1 parent e23b031 commit 13f703f
Show file tree
Hide file tree
Showing 15 changed files with 301 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ get:
type: string
description: 账户类型
example: ACCOUNT_TYPE_BUSINESS
enum:
- ACCOUNT_TYPE_BUSINESS
- ACCOUNT_TYPE_PRIVATE
account_bank:
type: string
description: 开户银行
Expand All @@ -60,6 +63,10 @@ get:
type: string
description: 审核状态
example: AUDIT_SUCCESS
enum:
- AUDIT_SUCCESS
- AUDITING
- AUDIT_FAIL
verify_fail_reason:
type: string
description: 审核驳回原因
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,15 @@ post:
type: string
description: 修改模式
example: MODIFY_MODE_ASYNC
enum:
- MODIFY_MODE_ASYNC
account_type:
type: string
description: 账户类型
example: ACCOUNT_TYPE_BUSINESS
enum:
- ACCOUNT_TYPE_BUSINESS
- ACCOUNT_TYPE_PRIVATE
account_bank:
type: string
description: 开户银行
Expand All @@ -53,10 +58,12 @@ post:
example: '402713354941'
account_number:
type: string
format: base64
description: 银行账号
example: ciphertext
account_name:
type: string
format: base64
description: 开户名称
example: ciphertext
responses:
Expand Down
7 changes: 7 additions & 0 deletions docs/v3/apply4sub/sub_merchants/{sub_mchid}/settlement.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ get:
type: string
description: 账户类型
example: ACCOUNT_TYPE_BUSINESS
enum:
- ACCOUNT_TYPE_BUSINESS
- ACCOUNT_TYPE_PRIVATE
account_bank:
type: string
description: 开户银行
Expand All @@ -47,6 +50,10 @@ get:
type: string
description: 验证结果
example: VERIFY_SUCCESS
enum:
- VERIFY_SUCCESS
- VERIFY_FAIL
- VERIFYING
verify_fail_reason:
type: string
description: 验证失败原因
Expand Down
55 changes: 55 additions & 0 deletions docs/v3/bank-transfer/batches/batch-id/{batch_id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ get:
type: string
description: 明细状态
example: FAIL
enum:
- ALL
- SUCCESS
- FAIL
responses:
'200':
schema:
Expand Down Expand Up @@ -90,6 +94,9 @@ get:
type: string
description: 转账场景
example: ORDINARY_TRANSFER
enum:
- ORDINARY_TRANSFER
- PAYROLL_CARD_TRANSFER
batch_name:
type: string
description: 批次名称
Expand All @@ -106,14 +113,29 @@ get:
type: string
description: 批量转账用途
example: COMMISSION
enum:
- GOODSPAYMENT #货款
- COMMISSION #佣金
- REFUND #退款
- REIMBURSEMENT #报销
- FREIGHT #运费
- OTHERS #其他
batch_state:
type: string
description: 批次状态
example: ACCEPTED
enum:
- ACCEPTED
- PROCESSING
- FINISHED
- CLOSED
close_reason:
type: string
description: 批次关闭原因
example: OVERDUE_CLOSE
enum:
- MERCHANT_REVOCATION
- OVERDUE_CLOSE
total_amount:
type: integer
description: 转账总金额
Expand Down Expand Up @@ -168,7 +190,40 @@ get:
type: string
description: 明细状态
example: SUCCESS
enum:
- PROCESSING
- SUCCESS
- REFUND
fail_reason:
type: string
description: 明细失败原因
example: ACCOUNT_FROZEN
enum:
- ACCOUNT_FROZEN
- REAL_NAME_CHECK_FAIL
- NAME_NOT_CORRECT
- OPENID_INVALID
- TRANSFER_QUOTA_EXCEED
- DAY_RECEIVED_QUOTA_EXCEED
- MONTH_RECEIVED_QUOTA_EXCEED
- DAY_RECEIVED_COUNT_EXCEED
- PRODUCT_AUTH_CHECK_FAIL
- OVERDUE_CLOSE
- ID_CARD_NOT_CORRECT
- ACCOUNT_NOT_EXIST
- TRANSFER_RISK
- PAYROLL_CARD_ALREADY_LOGOUT
- PAYROLL_CARD_ALREADY_FROZEN
- PAYROLL_CARD_UNAUTHORIZED
- PAYROLL_CARD_USER_NOT_OPEN
- PAYROLL_CARD_NAME_CARD_NOT_MATCH
- PAYROLL_CARD_ID_CARD_NOT_MATCH
- PAYROLL_CARD_BANKCARD_UNBUNDLING
- BANK_CARD_COLLECTIONS_ABOVE_QUOTA
- BANK_CARD_ACCOUNT_ABNORMAL
- BANK_CARD_STATUS_ABNORMAL
- BANK_CARD_BANK_INFO_WRONG
- BANK_CARD_CARD_INFO_WRONG
- OTHER_FAIL_REASON_TYPE
- REALNAME_ACCOUNT_RECEIVED_QUOTA_EXCEED
- TRANSFER_REMARK_SET_FAIL
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ get:
type: string
description: 转账场景
example: ORDINARY_TRANSFER
enum:
- ORDINARY_TRANSFER
- PAYROLL_CARD_TRANSFER
out_detail_no:
type: string
description: 银行明细单号
Expand Down Expand Up @@ -107,10 +110,44 @@ get:
type: string
description: 明细状态
example: SUCCESS
enum:
- PROCESSING
- SUCCESS
- FAIL
- REFUND
fail_reason:
type: string
description: 明细失败原因
example: ACCOUNT_FROZEN
enum:
- ACCOUNT_FROZEN
- REAL_NAME_CHECK_FAIL
- NAME_NOT_CORRECT
- OPENID_INVALID
- TRANSFER_QUOTA_EXCEED
- DAY_RECEIVED_QUOTA_EXCEED
- MONTH_RECEIVED_QUOTA_EXCEED
- DAY_RECEIVED_COUNT_EXCEED
- PRODUCT_AUTH_CHECK_FAIL
- OVERDUE_CLOSE
- ID_CARD_NOT_CORRECT
- ACCOUNT_NOT_EXIST
- TRANSFER_RISK
- PAYROLL_CARD_ALREADY_LOGOUT
- PAYROLL_CARD_ALREADY_FROZEN
- PAYROLL_CARD_UNAUTHORIZED
- PAYROLL_CARD_USER_NOT_OPEN
- PAYROLL_CARD_NAME_CARD_NOT_MATCH
- PAYROLL_CARD_ID_CARD_NOT_MATCH
- PAYROLL_CARD_BANKCARD_UNBUNDLING
- BANK_CARD_COLLECTIONS_ABOVE_QUOTA
- BANK_CARD_ACCOUNT_ABNORMAL
- BANK_CARD_STATUS_ABNORMAL
- BANK_CARD_BANK_INFO_WRONG
- BANK_CARD_CARD_INFO_WRONG
- OTHER_FAIL_REASON_TYPE
- REALNAME_ACCOUNT_RECEIVED_QUOTA_EXCEED
- TRANSFER_REMARK_SET_FAIL
initiate_time:
type: string
description: 转账发起时间
Expand All @@ -122,7 +159,10 @@ get:
account_type:
type: string
description: 收款账户类型
example: WXPAY_ACCOUNT
example: WECHATPAY_ACCOUNT
enum:
- WECHATPAY_ACCOUNT
- BANK_ACCOUNT
bank_name:
type: string
description: 银行名称
Expand Down
55 changes: 55 additions & 0 deletions docs/v3/bank-transfer/batches/out-batch-no/{out_batch_no}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ get:
type: string
description: 明细状态
example: FAIL
enum:
- ALL
- SUCCESS
- FAIL
responses:
'200':
schema:
Expand Down Expand Up @@ -90,6 +94,9 @@ get:
type: string
description: 转账场景
example: ORDINARY_TRANSFER
enum:
- ORDINARY_TRANSFER
- PAYROLL_CARD_TRANSFER
batch_name:
type: string
description: 批次名称
Expand All @@ -106,14 +113,29 @@ get:
type: string
description: 批量转账用途
example: COMMISSION
enum:
- GOODSPAYMENT #货款
- COMMISSION #佣金
- REFUND #退款
- REIMBURSEMENT #报销
- FREIGHT #运费
- OTHERS #其他
batch_state:
type: string
description: 批次状态
example: ACCEPTED
enum:
- ACCEPTED
- PROCESSING
- FINISHED
- CLOSED
close_reason:
type: string
description: 批次关闭原因
example: OVERDUE_CLOSE
enum:
- MERCHANT_REVOCATION
- OVERDUE_CLOSE
total_amount:
type: integer
description: 转账总金额
Expand Down Expand Up @@ -168,7 +190,40 @@ get:
type: string
description: 明细状态
example: SUCCESS
enum:
- PROCESSING
- SUCCESS
- REFUND
fail_reason:
type: string
description: 明细失败原因
example: ACCOUNT_FROZEN
enum:
- ACCOUNT_FROZEN
- REAL_NAME_CHECK_FAIL
- NAME_NOT_CORRECT
- OPENID_INVALID
- TRANSFER_QUOTA_EXCEED
- DAY_RECEIVED_QUOTA_EXCEED
- MONTH_RECEIVED_QUOTA_EXCEED
- DAY_RECEIVED_COUNT_EXCEED
- PRODUCT_AUTH_CHECK_FAIL
- OVERDUE_CLOSE
- ID_CARD_NOT_CORRECT
- ACCOUNT_NOT_EXIST
- TRANSFER_RISK
- PAYROLL_CARD_ALREADY_LOGOUT
- PAYROLL_CARD_ALREADY_FROZEN
- PAYROLL_CARD_UNAUTHORIZED
- PAYROLL_CARD_USER_NOT_OPEN
- PAYROLL_CARD_NAME_CARD_NOT_MATCH
- PAYROLL_CARD_ID_CARD_NOT_MATCH
- PAYROLL_CARD_BANKCARD_UNBUNDLING
- BANK_CARD_COLLECTIONS_ABOVE_QUOTA
- BANK_CARD_ACCOUNT_ABNORMAL
- BANK_CARD_STATUS_ABNORMAL
- BANK_CARD_BANK_INFO_WRONG
- BANK_CARD_CARD_INFO_WRONG
- OTHER_FAIL_REASON_TYPE
- REALNAME_ACCOUNT_RECEIVED_QUOTA_EXCEED
- TRANSFER_REMARK_SET_FAIL
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ get:
type: string
description: 转账场景
example: ORDINARY_TRANSFER
enum:
- ORDINARY_TRANSFER
- PAYROLL_CARD_TRANSFER
out_detail_no:
type: string
description: 银行明细单号
Expand Down Expand Up @@ -107,10 +110,44 @@ get:
type: string
description: 明细状态
example: SUCCESS
enum:
- PROCESSING
- SUCCESS
- FAIL
- REFUND
fail_reason:
type: string
description: 明细失败原因
example: ACCOUNT_FROZEN
enum:
- ACCOUNT_FROZEN
- REAL_NAME_CHECK_FAIL
- NAME_NOT_CORRECT
- OPENID_INVALID
- TRANSFER_QUOTA_EXCEED
- DAY_RECEIVED_QUOTA_EXCEED
- MONTH_RECEIVED_QUOTA_EXCEED
- DAY_RECEIVED_COUNT_EXCEED
- PRODUCT_AUTH_CHECK_FAIL
- OVERDUE_CLOSE
- ID_CARD_NOT_CORRECT
- ACCOUNT_NOT_EXIST
- TRANSFER_RISK
- PAYROLL_CARD_ALREADY_LOGOUT
- PAYROLL_CARD_ALREADY_FROZEN
- PAYROLL_CARD_UNAUTHORIZED
- PAYROLL_CARD_USER_NOT_OPEN
- PAYROLL_CARD_NAME_CARD_NOT_MATCH
- PAYROLL_CARD_ID_CARD_NOT_MATCH
- PAYROLL_CARD_BANKCARD_UNBUNDLING
- BANK_CARD_COLLECTIONS_ABOVE_QUOTA
- BANK_CARD_ACCOUNT_ABNORMAL
- BANK_CARD_STATUS_ABNORMAL
- BANK_CARD_BANK_INFO_WRONG
- BANK_CARD_CARD_INFO_WRONG
- OTHER_FAIL_REASON_TYPE
- REALNAME_ACCOUNT_RECEIVED_QUOTA_EXCEED
- TRANSFER_REMARK_SET_FAIL
initiate_time:
type: string
description: 转账发起时间
Expand All @@ -122,7 +159,10 @@ get:
account_type:
type: string
description: 收款账户类型
example: WXPAY_ACCOUNT
example: WECHATPAY_ACCOUNT
enum:
- WECHATPAY_ACCOUNT
- BANK_ACCOUNT
bank_name:
type: string
description: 银行名称
Expand Down
Loading

0 comments on commit 13f703f

Please sign in to comment.