Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions mintlify/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 14 additions & 4 deletions openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions openapi/components/schemas/common/CnyAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ allOf:
type: string
enum:
- MOBILE_MONEY
- BANK_TRANSFER
18 changes: 14 additions & 4 deletions openapi/components/schemas/common/CnyAccountInfoBase.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,36 @@
type: object
required:
- accountType
- phoneNumber
- bankName
description: 'Required fields depend on the selected paymentRails:

- BANK_TRANSFER: accountNumber, bankName

- MOBILE_MONEY: phoneNumber, bankName'
properties:
accountType:
type: string
enum:
- CNY_ACCOUNT
accountNumber:
type: string
description: The destination bank account number (BANK_TRANSFER rail)
minLength: 1
maxLength: 34
phoneNumber:
type: string
description: The phone number in international format
description: The phone number in international format (MOBILE_MONEY rail)
example: '+1234567890'
minLength: 7
maxLength: 15
pattern: ^\+[0-9]{6,14}$
bankName:
type: string
description: The name of the bank
description: The name of the bank or mobile-wallet provider
minLength: 1
maxLength: 255
example:
accountType: CNY_ACCOUNT
accountNumber: '1234567890'
phoneNumber: '+1234567890'
bankName: Example Bank
bankName: China Construction Bank
Comment thread
greptile-apps[bot] marked this conversation as resolved.
Loading