Skip to content
Draft
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
664 changes: 664 additions & 0 deletions mintlify/openapi.yaml

Large diffs are not rendered by default.

664 changes: 664 additions & 0 deletions openapi.yaml

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions openapi/components/schemas/common/BankAccountOrWalletType.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ enum:
- FBO
- UPI
- NGN_ACCOUNT
- GBP_ACCOUNT
- CAD_ACCOUNT
- HKD_ACCOUNT
- IDR_ACCOUNT
- MYR_ACCOUNT
- PHP_ACCOUNT
- SGD_ACCOUNT
- THB_ACCOUNT
- VND_ACCOUNT
- BWP_ACCOUNT
- SPARK_WALLET
- LIGHTNING
- SOLANA_WALLET
Expand Down
32 changes: 32 additions & 0 deletions openapi/components/schemas/common/BwpAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
type: object
required:
- accountType
- accountNumber
- branchCode
properties:
accountType:
type: string
enum: [BWP_ACCOUNT]
example: BWP_ACCOUNT
accountNumber:
type: string
description: Botswana bank account number
example: '1234567890'
minLength: 8
maxLength: 16
branchCode:
type: string
description: Branch code (6 digits)
example: '123456'
minLength: 6
maxLength: 6
swiftBic:
type: string
description: SWIFT/BIC code
example: FIABORPX
minLength: 8
maxLength: 11
bankName:
type: string
description: Name of the bank
example: First National Bank Botswana
35 changes: 35 additions & 0 deletions openapi/components/schemas/common/CadAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
type: object
required:
- accountType
- accountNumber
- transitNumber
- institutionNumber
properties:
accountType:
type: string
enum: [CAD_ACCOUNT]
example: CAD_ACCOUNT
accountNumber:
type: string
description: Canadian bank account number (7-12 digits)
example: '1234567'
minLength: 7
maxLength: 12
transitNumber:
type: string
description: Transit number (5 digits) identifying the branch
example: '12345'
minLength: 5
maxLength: 5
pattern: ^[0-9]{5}$
institutionNumber:
type: string
description: Institution number (3 digits) identifying the bank
example: '001'
minLength: 3
maxLength: 3
pattern: ^[0-9]{3}$
bankName:
type: string
description: Name of the bank
example: Royal Bank of Canada
28 changes: 28 additions & 0 deletions openapi/components/schemas/common/GbpAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
type: object
required:
- accountType
- accountNumber
- sortCode
properties:
accountType:
type: string
enum: [GBP_ACCOUNT]
example: GBP_ACCOUNT
accountNumber:
type: string
description: UK bank account number (8 digits)
example: '12345678'
minLength: 8
maxLength: 8
pattern: ^[0-9]{8}$
sortCode:
type: string
description: UK sort code (6 digits, typically formatted as XX-XX-XX)
example: '123456'
minLength: 6
maxLength: 6
pattern: ^[0-9]{6}$
bankName:
type: string
description: Name of the bank
example: Barclays Bank
27 changes: 27 additions & 0 deletions openapi/components/schemas/common/HkdAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
type: object
required:
- accountType
- accountNumber
- bankCode
properties:
accountType:
type: string
enum: [HKD_ACCOUNT]
example: HKD_ACCOUNT
accountNumber:
type: string
description: Hong Kong bank account number (9-12 digits)
example: '123456789012'
minLength: 9
maxLength: 12
bankCode:
type: string
description: Bank code (3 digits)
example: '004'
minLength: 3
maxLength: 3
pattern: ^[0-9]{3}$
bankName:
type: string
description: Name of the bank
example: HSBC Hong Kong
26 changes: 26 additions & 0 deletions openapi/components/schemas/common/IdrAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
type: object
required:
- accountType
- accountNumber
- bankCode
properties:
accountType:
type: string
enum: [IDR_ACCOUNT]
example: IDR_ACCOUNT
accountNumber:
type: string
description: Indonesian bank account number
example: '1234567890'
minLength: 10
maxLength: 16
bankCode:
type: string
description: Bank code (3-4 digits)
example: '014'
minLength: 3
maxLength: 4
bankName:
type: string
description: Name of the bank
example: Bank Central Asia
24 changes: 24 additions & 0 deletions openapi/components/schemas/common/MyrAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
type: object
required:
- accountType
- accountNumber
- bankCode
properties:
accountType:
type: string
enum: [MYR_ACCOUNT]
example: MYR_ACCOUNT
accountNumber:
type: string
description: Malaysian bank account number
example: '1234567890'
minLength: 10
maxLength: 17
bankCode:
type: string
description: Bank code (e.g., SWIFT BIC or local bank code)
example: MABORB2X
bankName:
type: string
description: Name of the bank
example: Maybank
10 changes: 10 additions & 0 deletions openapi/components/schemas/common/PaymentAccountOrWalletInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ discriminator:
FBO: ./PaymentFboAccountInfo.yaml
UPI: ./PaymentUpiAccountInfo.yaml
NGN_ACCOUNT: ./PaymentNgnAccountInfo.yaml
GBP_ACCOUNT: ./PaymentGbpAccountInfo.yaml
CAD_ACCOUNT: ./PaymentCadAccountInfo.yaml
HKD_ACCOUNT: ./PaymentHkdAccountInfo.yaml
IDR_ACCOUNT: ./PaymentIdrAccountInfo.yaml
MYR_ACCOUNT: ./PaymentMyrAccountInfo.yaml
PHP_ACCOUNT: ./PaymentPhpAccountInfo.yaml
SGD_ACCOUNT: ./PaymentSgdAccountInfo.yaml
THB_ACCOUNT: ./PaymentThbAccountInfo.yaml
VND_ACCOUNT: ./PaymentVndAccountInfo.yaml
BWP_ACCOUNT: ./PaymentBwpAccountInfo.yaml
SPARK_WALLET: ./PaymentSparkWalletInfo.yaml
LIGHTNING: ./PaymentLightningInvoiceInfo.yaml
SOLANA_WALLET: ./PaymentSolanaWalletInfo.yaml
Expand Down
12 changes: 12 additions & 0 deletions openapi/components/schemas/common/PaymentBwpAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
allOf:
- $ref: ./PaymentAccountOrWalletInfo.yaml
- $ref: ./BwpAccountInfo.yaml
required:
- reference
properties:
reference:
type: string
description: >-
Unique reference code that must be included with the payment to properly
credit it
example: UMA-Q12345-REF
12 changes: 12 additions & 0 deletions openapi/components/schemas/common/PaymentCadAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
allOf:
- $ref: ./PaymentAccountOrWalletInfo.yaml
- $ref: ./CadAccountInfo.yaml
required:
- reference
properties:
reference:
type: string
description: >-
Unique reference code that must be included with the payment to properly
credit it
example: UMA-Q12345-REF
12 changes: 12 additions & 0 deletions openapi/components/schemas/common/PaymentGbpAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
allOf:
- $ref: ./PaymentAccountOrWalletInfo.yaml
- $ref: ./GbpAccountInfo.yaml
required:
- reference
properties:
reference:
type: string
description: >-
Unique reference code that must be included with the payment to properly
credit it
example: UMA-Q12345-REF
12 changes: 12 additions & 0 deletions openapi/components/schemas/common/PaymentHkdAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
allOf:
- $ref: ./PaymentAccountOrWalletInfo.yaml
- $ref: ./HkdAccountInfo.yaml
required:
- reference
properties:
reference:
type: string
description: >-
Unique reference code that must be included with the payment to properly
credit it
example: UMA-Q12345-REF
12 changes: 12 additions & 0 deletions openapi/components/schemas/common/PaymentIdrAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
allOf:
- $ref: ./PaymentAccountOrWalletInfo.yaml
- $ref: ./IdrAccountInfo.yaml
required:
- reference
properties:
reference:
type: string
description: >-
Unique reference code that must be included with the payment to properly
credit it
example: UMA-Q12345-REF
12 changes: 12 additions & 0 deletions openapi/components/schemas/common/PaymentMyrAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
allOf:
- $ref: ./PaymentAccountOrWalletInfo.yaml
- $ref: ./MyrAccountInfo.yaml
required:
- reference
properties:
reference:
type: string
description: >-
Unique reference code that must be included with the payment to properly
credit it
example: UMA-Q12345-REF
12 changes: 12 additions & 0 deletions openapi/components/schemas/common/PaymentPhpAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
allOf:
- $ref: ./PaymentAccountOrWalletInfo.yaml
- $ref: ./PhpAccountInfo.yaml
required:
- reference
properties:
reference:
type: string
description: >-
Unique reference code that must be included with the payment to properly
credit it
example: UMA-Q12345-REF
12 changes: 12 additions & 0 deletions openapi/components/schemas/common/PaymentSgdAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
allOf:
- $ref: ./PaymentAccountOrWalletInfo.yaml
- $ref: ./SgdAccountInfo.yaml
required:
- reference
properties:
reference:
type: string
description: >-
Unique reference code that must be included with the payment to properly
credit it
example: UMA-Q12345-REF
12 changes: 12 additions & 0 deletions openapi/components/schemas/common/PaymentThbAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
allOf:
- $ref: ./PaymentAccountOrWalletInfo.yaml
- $ref: ./ThbAccountInfo.yaml
required:
- reference
properties:
reference:
type: string
description: >-
Unique reference code that must be included with the payment to properly
credit it
example: UMA-Q12345-REF
12 changes: 12 additions & 0 deletions openapi/components/schemas/common/PaymentVndAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
allOf:
- $ref: ./PaymentAccountOrWalletInfo.yaml
- $ref: ./VndAccountInfo.yaml
required:
- reference
properties:
reference:
type: string
description: >-
Unique reference code that must be included with the payment to properly
credit it
example: UMA-Q12345-REF
24 changes: 24 additions & 0 deletions openapi/components/schemas/common/PhpAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
type: object
required:
- accountType
- accountNumber
- bankCode
properties:
accountType:
type: string
enum: [PHP_ACCOUNT]
example: PHP_ACCOUNT
accountNumber:
type: string
description: Philippine bank account number
example: '1234567890'
minLength: 10
maxLength: 16
bankCode:
type: string
description: Bank code (SWIFT BIC or InstaPay/PESONet bank code)
example: BABORPH2
bankName:
type: string
description: Name of the bank
example: Bank of the Philippine Islands
30 changes: 30 additions & 0 deletions openapi/components/schemas/common/SgdAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
type: object
required:
- accountType
- accountNumber
- bankCode
properties:
accountType:
type: string
enum: [SGD_ACCOUNT]
example: SGD_ACCOUNT
accountNumber:
type: string
description: Singapore bank account number
example: '1234567890'
minLength: 9
maxLength: 14
bankCode:
type: string
description: Bank code (4 digits) or SWIFT BIC
example: '7339'
branchCode:
type: string
description: Branch code (3 digits)
example: '001'
minLength: 3
maxLength: 3
bankName:
type: string
description: Name of the bank
example: DBS Bank
Loading