From dfad7e2eadd14d51791f20cd0f45bc9c09343c3f Mon Sep 17 00:00:00 2001 From: Jeremy Klein Date: Fri, 20 Mar 2026 15:40:28 -0700 Subject: [PATCH 1/3] Add Ethereum L1 external accounts and payment instructions --- mintlify/openapi.yaml | 38 ++++++++++++++++++- openapi.yaml | 38 ++++++++++++++++++- .../schemas/common/EthereumWalletInfo.yaml | 13 +++++++ .../schemas/common/PaymentAccountType.yaml | 1 + .../common/PaymentEthereumWalletInfo.yaml | 11 ++++++ .../schemas/common/PaymentInstructions.yaml | 2 + .../EthereumWalletExternalAccountInfo.yaml | 5 +++ .../ExternalAccountInfoOneOf.yaml | 3 +- .../ExternalAccountType.yaml | 1 + 9 files changed, 109 insertions(+), 3 deletions(-) create mode 100644 openapi/components/schemas/common/EthereumWalletInfo.yaml create mode 100644 openapi/components/schemas/common/PaymentEthereumWalletInfo.yaml create mode 100644 openapi/components/schemas/external_accounts/EthereumWalletExternalAccountInfo.yaml diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 9c478ede..6d59951b 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -5673,6 +5673,7 @@ components: - TRON_WALLET - POLYGON_WALLET - BASE_WALLET + - ETHEREUM_WALLET description: Type of payment account or wallet example: USD_ACCOUNT BasePaymentAccountInfo: @@ -6550,6 +6551,32 @@ components: description: Type of asset enum: - USDC + EthereumWalletInfo: + type: object + required: + - address + - accountType + properties: + accountType: + type: string + enum: + - ETHEREUM_WALLET + address: + type: string + description: Ethereum L1 wallet address + example: '0xAbCDEF1234567890aBCdEf1234567890ABcDef12' + PaymentEthereumWalletInfo: + title: Base Wallet + allOf: + - $ref: '#/components/schemas/BasePaymentAccountInfo' + - $ref: '#/components/schemas/EthereumWalletInfo' + - type: object + properties: + assetType: + type: string + description: Type of asset + enum: + - USDC AedAccountInfo: type: object required: @@ -7094,6 +7121,7 @@ components: - $ref: '#/components/schemas/PaymentTronWalletInfo' - $ref: '#/components/schemas/PaymentPolygonWalletInfo' - $ref: '#/components/schemas/PaymentBaseWalletInfo' + - $ref: '#/components/schemas/PaymentEthereumWalletInfo' discriminator: propertyName: accountType mapping: @@ -7119,6 +7147,7 @@ components: TRON_WALLET: '#/components/schemas/PaymentTronWalletInfo' POLYGON_WALLET: '#/components/schemas/PaymentPolygonWalletInfo' BASE_WALLET: '#/components/schemas/PaymentBaseWalletInfo' + ETHEREUM_WALLET: '#/components/schemas/PaymentEthereumWalletInfo' AED_ACCOUNT: '#/components/schemas/PaymentAedAccountInfo' KES_ACCOUNT: '#/components/schemas/PaymentKesAccountInfo' MWK_ACCOUNT: '#/components/schemas/PaymentMwkAccountInfo' @@ -7211,6 +7240,7 @@ components: - TRON_WALLET - POLYGON_WALLET - BASE_WALLET + - ETHEREUM_WALLET - AED_ACCOUNT - BRL_ACCOUNT - BWP_ACCOUNT @@ -8665,6 +8695,11 @@ components: allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - $ref: '#/components/schemas/BaseWalletInfo' + EthereumWalletExternalAccountInfo: + title: Ethereum L1 Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/EthereumWalletInfo' AedBeneficiary: title: Individual Beneficiary type: object @@ -8859,6 +8894,7 @@ components: - $ref: '#/components/schemas/TronWalletExternalAccountInfo' - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' - $ref: '#/components/schemas/BaseWalletExternalAccountInfo' + - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' - $ref: '#/components/schemas/AedExternalAccountInfo' - $ref: '#/components/schemas/BwpExternalAccountInfo' - $ref: '#/components/schemas/XafExternalAccountInfo' @@ -8895,8 +8931,8 @@ components: TRON_WALLET: '#/components/schemas/TronWalletExternalAccountInfo' POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' BASE_WALLET: '#/components/schemas/BaseWalletExternalAccountInfo' + ETHEREUM_WALLET: '#/components/schemas/EthereumWalletExternalAccountInfo' AED_ACCOUNT: '#/components/schemas/AedExternalAccountInfo' - LIGHTNING_ACCOUNT: '#/components/schemas/LightningExternalAccountInfo' BWP_ACCOUNT: '#/components/schemas/BwpExternalAccountInfo' XAF_ACCOUNT: '#/components/schemas/XafExternalAccountInfo' ExternalAccount: diff --git a/openapi.yaml b/openapi.yaml index 9c478ede..6d59951b 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -5673,6 +5673,7 @@ components: - TRON_WALLET - POLYGON_WALLET - BASE_WALLET + - ETHEREUM_WALLET description: Type of payment account or wallet example: USD_ACCOUNT BasePaymentAccountInfo: @@ -6550,6 +6551,32 @@ components: description: Type of asset enum: - USDC + EthereumWalletInfo: + type: object + required: + - address + - accountType + properties: + accountType: + type: string + enum: + - ETHEREUM_WALLET + address: + type: string + description: Ethereum L1 wallet address + example: '0xAbCDEF1234567890aBCdEf1234567890ABcDef12' + PaymentEthereumWalletInfo: + title: Base Wallet + allOf: + - $ref: '#/components/schemas/BasePaymentAccountInfo' + - $ref: '#/components/schemas/EthereumWalletInfo' + - type: object + properties: + assetType: + type: string + description: Type of asset + enum: + - USDC AedAccountInfo: type: object required: @@ -7094,6 +7121,7 @@ components: - $ref: '#/components/schemas/PaymentTronWalletInfo' - $ref: '#/components/schemas/PaymentPolygonWalletInfo' - $ref: '#/components/schemas/PaymentBaseWalletInfo' + - $ref: '#/components/schemas/PaymentEthereumWalletInfo' discriminator: propertyName: accountType mapping: @@ -7119,6 +7147,7 @@ components: TRON_WALLET: '#/components/schemas/PaymentTronWalletInfo' POLYGON_WALLET: '#/components/schemas/PaymentPolygonWalletInfo' BASE_WALLET: '#/components/schemas/PaymentBaseWalletInfo' + ETHEREUM_WALLET: '#/components/schemas/PaymentEthereumWalletInfo' AED_ACCOUNT: '#/components/schemas/PaymentAedAccountInfo' KES_ACCOUNT: '#/components/schemas/PaymentKesAccountInfo' MWK_ACCOUNT: '#/components/schemas/PaymentMwkAccountInfo' @@ -7211,6 +7240,7 @@ components: - TRON_WALLET - POLYGON_WALLET - BASE_WALLET + - ETHEREUM_WALLET - AED_ACCOUNT - BRL_ACCOUNT - BWP_ACCOUNT @@ -8665,6 +8695,11 @@ components: allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - $ref: '#/components/schemas/BaseWalletInfo' + EthereumWalletExternalAccountInfo: + title: Ethereum L1 Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/EthereumWalletInfo' AedBeneficiary: title: Individual Beneficiary type: object @@ -8859,6 +8894,7 @@ components: - $ref: '#/components/schemas/TronWalletExternalAccountInfo' - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' - $ref: '#/components/schemas/BaseWalletExternalAccountInfo' + - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' - $ref: '#/components/schemas/AedExternalAccountInfo' - $ref: '#/components/schemas/BwpExternalAccountInfo' - $ref: '#/components/schemas/XafExternalAccountInfo' @@ -8895,8 +8931,8 @@ components: TRON_WALLET: '#/components/schemas/TronWalletExternalAccountInfo' POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' BASE_WALLET: '#/components/schemas/BaseWalletExternalAccountInfo' + ETHEREUM_WALLET: '#/components/schemas/EthereumWalletExternalAccountInfo' AED_ACCOUNT: '#/components/schemas/AedExternalAccountInfo' - LIGHTNING_ACCOUNT: '#/components/schemas/LightningExternalAccountInfo' BWP_ACCOUNT: '#/components/schemas/BwpExternalAccountInfo' XAF_ACCOUNT: '#/components/schemas/XafExternalAccountInfo' ExternalAccount: diff --git a/openapi/components/schemas/common/EthereumWalletInfo.yaml b/openapi/components/schemas/common/EthereumWalletInfo.yaml new file mode 100644 index 00000000..d6dadf0e --- /dev/null +++ b/openapi/components/schemas/common/EthereumWalletInfo.yaml @@ -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' diff --git a/openapi/components/schemas/common/PaymentAccountType.yaml b/openapi/components/schemas/common/PaymentAccountType.yaml index 5167f5d2..02924a66 100644 --- a/openapi/components/schemas/common/PaymentAccountType.yaml +++ b/openapi/components/schemas/common/PaymentAccountType.yaml @@ -22,5 +22,6 @@ enum: - TRON_WALLET - POLYGON_WALLET - BASE_WALLET + - ETHEREUM_WALLET description: Type of payment account or wallet example: USD_ACCOUNT diff --git a/openapi/components/schemas/common/PaymentEthereumWalletInfo.yaml b/openapi/components/schemas/common/PaymentEthereumWalletInfo.yaml new file mode 100644 index 00000000..676145a2 --- /dev/null +++ b/openapi/components/schemas/common/PaymentEthereumWalletInfo.yaml @@ -0,0 +1,11 @@ +title: Base Wallet +allOf: + - $ref: ./BasePaymentAccountInfo.yaml + - $ref: ./EthereumWalletInfo.yaml + - type: object + properties: + assetType: + type: string + description: Type of asset + enum: + - USDC diff --git a/openapi/components/schemas/common/PaymentInstructions.yaml b/openapi/components/schemas/common/PaymentInstructions.yaml index c3e086e4..313e482d 100644 --- a/openapi/components/schemas/common/PaymentInstructions.yaml +++ b/openapi/components/schemas/common/PaymentInstructions.yaml @@ -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: @@ -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 diff --git a/openapi/components/schemas/external_accounts/EthereumWalletExternalAccountInfo.yaml b/openapi/components/schemas/external_accounts/EthereumWalletExternalAccountInfo.yaml new file mode 100644 index 00000000..e9b21eb3 --- /dev/null +++ b/openapi/components/schemas/external_accounts/EthereumWalletExternalAccountInfo.yaml @@ -0,0 +1,5 @@ +title: Ethereum L1 Wallet +allOf: + - $ref: ./BaseExternalAccountInfo.yaml + - $ref: ../common/EthereumWalletInfo.yaml + \ No newline at end of file diff --git a/openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml b/openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml index 1faf57c7..b673623f 100644 --- a/openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml +++ b/openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml @@ -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 @@ -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 diff --git a/openapi/components/schemas/external_accounts/ExternalAccountType.yaml b/openapi/components/schemas/external_accounts/ExternalAccountType.yaml index cf74119f..f2fa5d44 100644 --- a/openapi/components/schemas/external_accounts/ExternalAccountType.yaml +++ b/openapi/components/schemas/external_accounts/ExternalAccountType.yaml @@ -9,6 +9,7 @@ enum: - TRON_WALLET - POLYGON_WALLET - BASE_WALLET + - ETHEREUM_WALLET - AED_ACCOUNT - BRL_ACCOUNT - BWP_ACCOUNT From b7794166be87b731c6631334831d457309563352 Mon Sep 17 00:00:00 2001 From: Jeremy Klein Date: Fri, 20 Mar 2026 15:52:11 -0700 Subject: [PATCH 2/3] greptile --- .../components/schemas/common/PaymentEthereumWalletInfo.yaml | 2 +- .../external_accounts/EthereumWalletExternalAccountInfo.yaml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/openapi/components/schemas/common/PaymentEthereumWalletInfo.yaml b/openapi/components/schemas/common/PaymentEthereumWalletInfo.yaml index 676145a2..dd5ee8ca 100644 --- a/openapi/components/schemas/common/PaymentEthereumWalletInfo.yaml +++ b/openapi/components/schemas/common/PaymentEthereumWalletInfo.yaml @@ -1,4 +1,4 @@ -title: Base Wallet +title: Ethereum Wallet allOf: - $ref: ./BasePaymentAccountInfo.yaml - $ref: ./EthereumWalletInfo.yaml diff --git a/openapi/components/schemas/external_accounts/EthereumWalletExternalAccountInfo.yaml b/openapi/components/schemas/external_accounts/EthereumWalletExternalAccountInfo.yaml index e9b21eb3..147cc380 100644 --- a/openapi/components/schemas/external_accounts/EthereumWalletExternalAccountInfo.yaml +++ b/openapi/components/schemas/external_accounts/EthereumWalletExternalAccountInfo.yaml @@ -2,4 +2,3 @@ title: Ethereum L1 Wallet allOf: - $ref: ./BaseExternalAccountInfo.yaml - $ref: ../common/EthereumWalletInfo.yaml - \ No newline at end of file From 017fdfb0f2b2a6cac526bd5aa07764f2c4360900 Mon Sep 17 00:00:00 2001 From: Jeremy Klein Date: Fri, 20 Mar 2026 15:57:40 -0700 Subject: [PATCH 3/3] Re-build --- mintlify/openapi.yaml | 2 +- openapi.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 6d59951b..dda47887 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -6566,7 +6566,7 @@ components: description: Ethereum L1 wallet address example: '0xAbCDEF1234567890aBCdEf1234567890ABcDef12' PaymentEthereumWalletInfo: - title: Base Wallet + title: Ethereum Wallet allOf: - $ref: '#/components/schemas/BasePaymentAccountInfo' - $ref: '#/components/schemas/EthereumWalletInfo' diff --git a/openapi.yaml b/openapi.yaml index 6d59951b..dda47887 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -6566,7 +6566,7 @@ components: description: Ethereum L1 wallet address example: '0xAbCDEF1234567890aBCdEf1234567890ABcDef12' PaymentEthereumWalletInfo: - title: Base Wallet + title: Ethereum Wallet allOf: - $ref: '#/components/schemas/BasePaymentAccountInfo' - $ref: '#/components/schemas/EthereumWalletInfo'