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
109 changes: 109 additions & 0 deletions mintlify/openapi.yaml

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

109 changes: 109 additions & 0 deletions openapi.yaml

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

12 changes: 12 additions & 0 deletions openapi/components/schemas/common/CnyAccountInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
allOf:
- $ref: ./CnyAccountInfoBase.yaml
- type: object
required:
- paymentRails
properties:
paymentRails:
type: array
items:
type: string
enum:
- MOBILE_MONEY
26 changes: 26 additions & 0 deletions openapi/components/schemas/common/CnyAccountInfoBase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
type: object
required:
- accountType
- phoneNumber
- bankName
properties:
accountType:
type: string
enum:
- CNY_ACCOUNT
phoneNumber:
type: string
description: The phone number in international format
example: '+1234567890'
minLength: 7
maxLength: 15
pattern: ^\+[0-9]{6,14}$
bankName:
type: string
description: The name of the bank
minLength: 1
maxLength: 255
example:
accountType: CNY_ACCOUNT
phoneNumber: '+1234567890'
bankName: Example Bank
30 changes: 30 additions & 0 deletions openapi/components/schemas/common/CnyBeneficiary.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
title: Individual Beneficiary
type: object
required:
- beneficiaryType
- fullName
properties:
beneficiaryType:
type: string
enum:
- INDIVIDUAL
fullName:
type: string
description: The full name of the beneficiary
birthDate:
type: string
description: The birth date of the beneficiary
nationality:
type: string
description: The nationality of the beneficiary
email:
type: string
description: The email of the beneficiary
phoneNumber:
type: string
description: The phone number of the beneficiary
countryOfResidence:
type: string
description: The country of residence of the beneficiary
address:
$ref: ./Address.yaml
Loading
Loading