Skip to content
Open
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
1,277 changes: 1,024 additions & 253 deletions mintlify/openapi.yaml

Large diffs are not rendered by default.

1,277 changes: 1,024 additions & 253 deletions openapi.yaml

Large diffs are not rendered by default.

42 changes: 12 additions & 30 deletions openapi/components/schemas/common/AedAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
type: object
required:
- accountType
- paymentRails
- iban
properties:
accountType:
type: string
enum:
- AED_ACCOUNT
paymentRails:
type: array
items:
type: string
enum:
- BANK_TRANSFER
iban:
type: string
description: UAE IBAN (23 characters, starting with AE)
example: AE070331234567890123456
minLength: 23
maxLength: 23
pattern: ^AE[0-9]{21}$
swiftCode:
type: string
description: The SWIFT/BIC code of the bank
example: EBILAEAD
minLength: 8
maxLength: 11
pattern: ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$
allOf:
- $ref: ./AedAccountInfoBase.yaml
- type: object
required:
- paymentRails
properties:
paymentRails:
type: array
items:
type: string
enum:
- BANK_TRANSFER
23 changes: 23 additions & 0 deletions openapi/components/schemas/common/AedAccountInfoBase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
type: object
required:
- accountType
- iban
properties:
accountType:
type: string
enum:
- AED_ACCOUNT
iban:
type: string
description: UAE IBAN (23 characters, starting with AE)
example: AE070331234567890123456
minLength: 23
maxLength: 23
pattern: ^AE[0-9]{21}$
swiftCode:
type: string
description: The SWIFT/BIC code of the bank
example: EBILAEAD
minLength: 8
maxLength: 11
pattern: ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$
50 changes: 12 additions & 38 deletions openapi/components/schemas/common/BrlAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,12 @@
type: object
required:
- accountType
- paymentRails
- pixKey
- pixKeyType
- taxId
properties:
accountType:
type: string
enum:
- BRL_ACCOUNT
paymentRails:
type: array
items:
type: string
enum:
- PIX
pixKey:
type: string
description: The PIX key (email, phone, CPF, CNPJ, or random)
minLength: 1
maxLength: 77
pixKeyType:
type: string
description: The type of PIX key
enum:
- CPF
- CNPJ
- EMAIL
- PHONE
- RANDOM
taxId:
type: string
description: The tax ID (CPF or CNPJ)
minLength: 11
maxLength: 14
pattern: ^[0-9]{11,14}$
allOf:
- $ref: ./BrlAccountInfoBase.yaml
- type: object
required:
- paymentRails
properties:
paymentRails:
type: array
items:
type: string
enum:
- PIX
31 changes: 31 additions & 0 deletions openapi/components/schemas/common/BrlAccountInfoBase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
type: object
required:
- accountType
- pixKey
- pixKeyType
- taxId
properties:
accountType:
type: string
enum:
- BRL_ACCOUNT
pixKey:
type: string
description: The PIX key (email, phone, CPF, CNPJ, or random)
minLength: 1
maxLength: 77
pixKeyType:
type: string
description: The type of PIX key
enum:
- CPF
- CNPJ
- EMAIL
- PHONE
- RANDOM
taxId:
type: string
description: The tax ID (CPF or CNPJ)
minLength: 11
maxLength: 14
pattern: ^[0-9]{11,14}$
41 changes: 12 additions & 29 deletions openapi/components/schemas/common/BwpAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
type: object
required:
- accountType
- paymentRails
- phoneNumber
- provider
properties:
accountType:
type: string
enum:
- BWP_ACCOUNT
paymentRails:
type: array
items:
type: string
enum:
- MOBILE_MONEY
phoneNumber:
type: string
description: The phone number in international format
example: '+1234567890'
minLength: 7
maxLength: 15
pattern: ^\+[0-9]{6,14}$
provider:
type: string
description: The mobile money provider name
minLength: 1
maxLength: 255
allOf:
- $ref: ./BwpAccountInfoBase.yaml
- type: object
required:
- paymentRails
properties:
paymentRails:
type: array
items:
type: string
enum:
- MOBILE_MONEY
22 changes: 22 additions & 0 deletions openapi/components/schemas/common/BwpAccountInfoBase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
type: object
required:
- accountType
- phoneNumber
- provider
properties:
accountType:
type: string
enum:
- BWP_ACCOUNT
phoneNumber:
type: string
description: The phone number in international format
example: '+1234567890'
minLength: 7
maxLength: 15
pattern: ^\+[0-9]{6,14}$
provider:
type: string
description: The mobile money provider name
minLength: 1
maxLength: 255
49 changes: 11 additions & 38 deletions openapi/components/schemas/common/CadAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -1,39 +1,12 @@
type: object
required:
- accountType
allOf:
- $ref: ./CadAccountInfoBase.yaml
- type: object
required:
- paymentRails
- bankCode
- branchCode
- accountNumber
properties:
accountType:
type: string
enum:
- CAD_ACCOUNT
paymentRails:
type: array
items:
type: string
enum:
- BANK_TRANSFER
bankCode:
type: string
description: Canadian financial institution number (3 digits)
example: '001'
minLength: 3
maxLength: 3
pattern: ^[0-9]{3}$
branchCode:
type: string
description: Transit number identifying the branch (5 digits)
example: '00012'
minLength: 5
maxLength: 5
pattern: ^[0-9]{5}$
accountNumber:
type: string
description: Bank account number (7-12 digits)
example: '1234567'
minLength: 7
maxLength: 12
pattern: ^[0-9]{7,12}$
properties:
paymentRails:
type: array
items:
type: string
enum:
- BANK_TRANSFER
32 changes: 32 additions & 0 deletions openapi/components/schemas/common/CadAccountInfoBase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
type: object
required:
- accountType
- bankCode
- branchCode
- accountNumber
properties:
accountType:
type: string
enum:
- CAD_ACCOUNT
bankCode:
type: string
description: Canadian financial institution number (3 digits)
example: '001'
minLength: 3
maxLength: 3
pattern: ^[0-9]{3}$
branchCode:
type: string
description: Transit number identifying the branch (5 digits)
example: '00012'
minLength: 5
maxLength: 5
pattern: ^[0-9]{5}$
accountNumber:
type: string
description: Bank account number (7-12 digits)
example: '1234567'
minLength: 7
maxLength: 12
pattern: ^[0-9]{7,12}$
44 changes: 13 additions & 31 deletions openapi/components/schemas/common/DkkAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,13 @@
type: object
required:
- accountType
- paymentRails
- iban
properties:
accountType:
type: string
enum:
- DKK_ACCOUNT
paymentRails:
type: array
items:
type: string
enum:
- SEPA
- SEPA_INSTANT
iban:
type: string
description: The IBAN of the bank account
example: DE89370400440532013000
minLength: 15
maxLength: 34
pattern: ^[A-Z]{2}[0-9]{2}[A-Za-z0-9]{11,30}$
swiftCode:
type: string
description: The SWIFT/BIC code of the bank
example: DEUTDEFF
minLength: 8
maxLength: 11
pattern: ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$
allOf:
- $ref: ./DkkAccountInfoBase.yaml
- type: object
required:
- paymentRails
properties:
paymentRails:
type: array
items:
type: string
enum:
- SEPA
- SEPA_INSTANT
23 changes: 23 additions & 0 deletions openapi/components/schemas/common/DkkAccountInfoBase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
type: object
required:
- accountType
- iban
properties:
accountType:
type: string
enum:
- DKK_ACCOUNT
iban:
type: string
description: The IBAN of the bank account
example: DE89370400440532013000
minLength: 15
maxLength: 34
pattern: ^[A-Z]{2}[0-9]{2}[A-Za-z0-9]{11,30}$
swiftCode:
type: string
description: The SWIFT/BIC code of the bank
example: DEUTDEFF
minLength: 8
maxLength: 11
pattern: ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$
Loading
Loading