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
38 changes: 37 additions & 1 deletion mintlify/openapi.yaml

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

38 changes: 37 additions & 1 deletion openapi.yaml

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

13 changes: 13 additions & 0 deletions openapi/components/schemas/common/EthereumWalletInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
type: object
required:
- address
- accountType
properties:
accountType:
type: string
enum:
- ETHEREUM_WALLET
address:
type: string
description: Ethereum L1 wallet address
example: '0xAbCDEF1234567890aBCdEf1234567890ABcDef12'
1 change: 1 addition & 0 deletions openapi/components/schemas/common/PaymentAccountType.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ enum:
- TRON_WALLET
- POLYGON_WALLET
- BASE_WALLET
- ETHEREUM_WALLET
description: Type of payment account or wallet
example: USD_ACCOUNT
11 changes: 11 additions & 0 deletions openapi/components/schemas/common/PaymentEthereumWalletInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
title: Ethereum Wallet
allOf:
- $ref: ./BasePaymentAccountInfo.yaml
- $ref: ./EthereumWalletInfo.yaml
- type: object
properties:
assetType:
type: string
description: Type of asset
enum:
- USDC
2 changes: 2 additions & 0 deletions openapi/components/schemas/common/PaymentInstructions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ properties:
- $ref: ../common/PaymentTronWalletInfo.yaml
- $ref: ../common/PaymentPolygonWalletInfo.yaml
- $ref: ../common/PaymentBaseWalletInfo.yaml
- $ref: ../common/PaymentEthereumWalletInfo.yaml
discriminator:
propertyName: accountType
mapping:
Expand All @@ -72,6 +73,7 @@ properties:
TRON_WALLET: ../common/PaymentTronWalletInfo.yaml
POLYGON_WALLET: ../common/PaymentPolygonWalletInfo.yaml
BASE_WALLET: ../common/PaymentBaseWalletInfo.yaml
ETHEREUM_WALLET: ../common/PaymentEthereumWalletInfo.yaml
AED_ACCOUNT: ../common/PaymentAedAccountInfo.yaml
KES_ACCOUNT: ../common/PaymentKesAccountInfo.yaml
MWK_ACCOUNT: ../common/PaymentMwkAccountInfo.yaml
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: Ethereum L1 Wallet
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/EthereumWalletInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ oneOf:
- $ref: ./TronWalletExternalAccountInfo.yaml
- $ref: ./PolygonWalletExternalAccountInfo.yaml
- $ref: ./BaseWalletExternalAccountInfo.yaml
- $ref: ./EthereumWalletExternalAccountInfo.yaml
- $ref: ./AedExternalAccountInfo.yaml
- $ref: ./BwpExternalAccountInfo.yaml
- $ref: ./XafExternalAccountInfo.yaml
Expand Down Expand Up @@ -65,7 +66,7 @@ discriminator:
TRON_WALLET: ./TronWalletExternalAccountInfo.yaml
POLYGON_WALLET: ./PolygonWalletExternalAccountInfo.yaml
BASE_WALLET: ./BaseWalletExternalAccountInfo.yaml
ETHEREUM_WALLET: ./EthereumWalletExternalAccountInfo.yaml
AED_ACCOUNT: ./AedExternalAccountInfo.yaml
LIGHTNING_ACCOUNT: ./LightningExternalAccountInfo.yaml
BWP_ACCOUNT: ./BwpExternalAccountInfo.yaml
XAF_ACCOUNT: ./XafExternalAccountInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ enum:
- TRON_WALLET
- POLYGON_WALLET
- BASE_WALLET
- ETHEREUM_WALLET
- AED_ACCOUNT
- BRL_ACCOUNT
- BWP_ACCOUNT
Expand Down
Loading