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
82 changes: 69 additions & 13 deletions mintlify/openapi.yaml

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

82 changes: 69 additions & 13 deletions openapi.yaml

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

14 changes: 12 additions & 2 deletions openapi/components/schemas/common/HkdAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ required:
- paymentRails
- bankName
- accountNumber
- swiftCode
properties:
accountType:
type: string
Expand All @@ -24,7 +25,16 @@ properties:
- BANK_TRANSFER
bankName:
type: string
description: The bank name of the bank
description: Name of the bank
example: HSBC Hong Kong
accountNumber:
type: string
description: The account number of the bank
description: Hong Kong bank account number
example: '123456789012'
swiftCode:
type: string
description: SWIFT/BIC code (8 or 11 characters)
example: HSBCHKHHHKH
minLength: 8
maxLength: 11
pattern: ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$
26 changes: 21 additions & 5 deletions openapi/components/schemas/common/IdrAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ required:
- accountType
- countries
- paymentRails
- sortCode
- accountNumber
- bankName
- swiftCode
- phoneNumber
properties:
accountType:
type: string
Expand All @@ -22,9 +24,23 @@ properties:
type: string
enum:
- BANK_TRANSFER
sortCode:
type: string
description: The sort code of the bank
accountNumber:
type: string
description: The account number of the bank
description: Indonesian bank account number
example: '1234567890'
bankName:
type: string
description: Name of the bank
example: Bank Central Asia
swiftCode:
type: string
description: SWIFT/BIC code (8 or 11 characters)
example: CENAIDJA
minLength: 8
maxLength: 11
pattern: ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$
phoneNumber:
type: string
description: Indonesian phone number for e-wallet payments
example: '+6281234567890'
pattern: ^\+62[0-9]{9,12}$
Loading