diff --git a/.stainless/stainless.yml b/.stainless/stainless.yml index 3fd2b138e..2a34b8ae5 100644 --- a/.stainless/stainless.yml +++ b/.stainless/stainless.yml @@ -198,6 +198,7 @@ resources: spark_wallet_info: '#/components/schemas/SparkWalletExternalAccountInfo' solana_wallet_info: '#/components/schemas/SolanaWalletExternalAccountInfo' tron_wallet_info: '#/components/schemas/TronWalletExternalAccountInfo' + plasma_wallet_info: '#/components/schemas/PlasmaWalletExternalAccountInfo' polygon_wallet_info: '#/components/schemas/PolygonWalletExternalAccountInfo' lightning_wallet_info: '#/components/schemas/LightningExternalAccountInfo' base_wallet_info: '#/components/schemas/BaseWalletExternalAccountInfo' @@ -876,6 +877,7 @@ openapi: - "$.components.schemas.PaymentLightningInvoiceInfo.allOf[0]" - "$.components.schemas.PaymentSolanaWalletInfo.allOf[0]" - "$.components.schemas.PaymentTronWalletInfo.allOf[0]" + - "$.components.schemas.PaymentPlasmaWalletInfo.allOf[0]" - "$.components.schemas.PaymentPolygonWalletInfo.allOf[0]" - "$.components.schemas.PaymentBaseWalletInfo.allOf[0]" - "$.components.schemas.PaymentEthereumWalletInfo.allOf[0]" @@ -929,6 +931,7 @@ openapi: - "$.components.schemas.LightningExternalAccountInfo.allOf[0]" - "$.components.schemas.SolanaWalletExternalAccountInfo.allOf[0]" - "$.components.schemas.TronWalletExternalAccountInfo.allOf[0]" + - "$.components.schemas.PlasmaWalletExternalAccountInfo.allOf[0]" - "$.components.schemas.PolygonWalletExternalAccountInfo.allOf[0]" - "$.components.schemas.BaseWalletExternalAccountInfo.allOf[0]" keys: [ "$ref" ] diff --git a/mintlify/openapi.yaml b/mintlify/openapi.yaml index 55c355a9c..3ceb520d5 100644 --- a/mintlify/openapi.yaml +++ b/mintlify/openapi.yaml @@ -13108,6 +13108,7 @@ components: - LIGHTNING - SOLANA_WALLET - TRON_WALLET + - PLASMA_WALLET - POLYGON_WALLET - BASE_WALLET - ETHEREUM_WALLET @@ -14120,6 +14121,32 @@ components: description: Type of asset enum: - USDT + PlasmaWalletInfo: + type: object + required: + - address + - accountType + properties: + accountType: + type: string + enum: + - PLASMA_WALLET + address: + type: string + description: Plasma wallet address + example: '0xAbCDEF1234567890aBCdEf1234567890ABcDef12' + PaymentPlasmaWalletInfo: + title: Plasma Wallet + allOf: + - $ref: '#/components/schemas/BasePaymentAccountInfo' + - $ref: '#/components/schemas/PlasmaWalletInfo' + - type: object + properties: + assetType: + type: string + description: Type of asset + enum: + - USDT PolygonWalletInfo: type: object required: @@ -15575,6 +15602,7 @@ components: - $ref: '#/components/schemas/PaymentLightningInvoiceInfo' - $ref: '#/components/schemas/PaymentSolanaWalletInfo' - $ref: '#/components/schemas/PaymentTronWalletInfo' + - $ref: '#/components/schemas/PaymentPlasmaWalletInfo' - $ref: '#/components/schemas/PaymentPolygonWalletInfo' - $ref: '#/components/schemas/PaymentBaseWalletInfo' - $ref: '#/components/schemas/PaymentEthereumWalletInfo' @@ -15602,6 +15630,7 @@ components: LIGHTNING: '#/components/schemas/PaymentLightningInvoiceInfo' SOLANA_WALLET: '#/components/schemas/PaymentSolanaWalletInfo' TRON_WALLET: '#/components/schemas/PaymentTronWalletInfo' + PLASMA_WALLET: '#/components/schemas/PaymentPlasmaWalletInfo' POLYGON_WALLET: '#/components/schemas/PaymentPolygonWalletInfo' BASE_WALLET: '#/components/schemas/PaymentBaseWalletInfo' ETHEREUM_WALLET: '#/components/schemas/PaymentEthereumWalletInfo' @@ -15786,6 +15815,7 @@ components: - BASE_WALLET - ETHEREUM_WALLET - LIGHTNING + - PLASMA_WALLET - POLYGON_WALLET - SOLANA_WALLET - SPARK_WALLET @@ -17891,6 +17921,11 @@ components: allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - $ref: '#/components/schemas/PolygonWalletInfo' + PlasmaWalletExternalAccountInfo: + title: Plasma Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/PlasmaWalletInfo' SolanaWalletExternalAccountInfo: title: Solana Wallet allOf: @@ -18000,6 +18035,7 @@ components: - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' - $ref: '#/components/schemas/LightningExternalAccountInfo' - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' + - $ref: '#/components/schemas/PlasmaWalletExternalAccountInfo' - $ref: '#/components/schemas/SolanaWalletExternalAccountInfo' - $ref: '#/components/schemas/SparkWalletExternalAccountInfo' - $ref: '#/components/schemas/TronWalletExternalAccountInfo' @@ -18049,6 +18085,7 @@ components: LIGHTNING: '#/components/schemas/LightningExternalAccountInfo' LIGHTNING_ACCOUNT: '#/components/schemas/LightningExternalAccountInfo' POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' + PLASMA_WALLET: '#/components/schemas/PlasmaWalletExternalAccountInfo' SOLANA_WALLET: '#/components/schemas/SolanaWalletExternalAccountInfo' SPARK_WALLET: '#/components/schemas/SparkWalletExternalAccountInfo' TRON_WALLET: '#/components/schemas/TronWalletExternalAccountInfo' @@ -18918,6 +18955,7 @@ components: - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' - $ref: '#/components/schemas/LightningExternalAccountInfo' - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' + - $ref: '#/components/schemas/PlasmaWalletExternalAccountInfo' - $ref: '#/components/schemas/SolanaWalletExternalAccountInfo' - $ref: '#/components/schemas/SparkWalletExternalAccountInfo' - $ref: '#/components/schemas/TronWalletExternalAccountInfo' @@ -18966,6 +19004,7 @@ components: ETHEREUM_WALLET: '#/components/schemas/EthereumWalletExternalAccountInfo' LIGHTNING: '#/components/schemas/LightningExternalAccountInfo' POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' + PLASMA_WALLET: '#/components/schemas/PlasmaWalletExternalAccountInfo' SOLANA_WALLET: '#/components/schemas/SolanaWalletExternalAccountInfo' SPARK_WALLET: '#/components/schemas/SparkWalletExternalAccountInfo' TRON_WALLET: '#/components/schemas/TronWalletExternalAccountInfo' @@ -19512,6 +19551,7 @@ components: - BASE - POLYGON - TRON + - PLASMA - SPARK description: The blockchain network an on-chain transaction settled on. Whether this is the mainnet or a test network (e.g. Solana devnet) is determined by your platform's environment — sandbox platforms operate on test networks, production platforms on mainnet — mirroring how `cryptoNetwork` is interpreted elsewhere in the API. example: SOLANA diff --git a/mintlify/snippets/internal-accounts.mdx b/mintlify/snippets/internal-accounts.mdx index de9afb665..a2fc07a9f 100644 --- a/mintlify/snippets/internal-accounts.mdx +++ b/mintlify/snippets/internal-accounts.mdx @@ -211,6 +211,20 @@ Each internal account includes `fundingPaymentInstructions` that tell your custo ``` + + For Plasma wallet accounts, using a Plasma wallet as the funding source: + + ```json + { + "accountOrWalletInfo": { + "accountType": "PLASMA_WALLET", + "assetType": "USDT", + "address": "0xAbCDEF1234567890aBCdEf1234567890ABcDef12" + } + } + ``` + + For Polygon wallet accounts, using a Polygon wallet as the funding source: diff --git a/openapi.yaml b/openapi.yaml index 55c355a9c..3ceb520d5 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -13108,6 +13108,7 @@ components: - LIGHTNING - SOLANA_WALLET - TRON_WALLET + - PLASMA_WALLET - POLYGON_WALLET - BASE_WALLET - ETHEREUM_WALLET @@ -14120,6 +14121,32 @@ components: description: Type of asset enum: - USDT + PlasmaWalletInfo: + type: object + required: + - address + - accountType + properties: + accountType: + type: string + enum: + - PLASMA_WALLET + address: + type: string + description: Plasma wallet address + example: '0xAbCDEF1234567890aBCdEf1234567890ABcDef12' + PaymentPlasmaWalletInfo: + title: Plasma Wallet + allOf: + - $ref: '#/components/schemas/BasePaymentAccountInfo' + - $ref: '#/components/schemas/PlasmaWalletInfo' + - type: object + properties: + assetType: + type: string + description: Type of asset + enum: + - USDT PolygonWalletInfo: type: object required: @@ -15575,6 +15602,7 @@ components: - $ref: '#/components/schemas/PaymentLightningInvoiceInfo' - $ref: '#/components/schemas/PaymentSolanaWalletInfo' - $ref: '#/components/schemas/PaymentTronWalletInfo' + - $ref: '#/components/schemas/PaymentPlasmaWalletInfo' - $ref: '#/components/schemas/PaymentPolygonWalletInfo' - $ref: '#/components/schemas/PaymentBaseWalletInfo' - $ref: '#/components/schemas/PaymentEthereumWalletInfo' @@ -15602,6 +15630,7 @@ components: LIGHTNING: '#/components/schemas/PaymentLightningInvoiceInfo' SOLANA_WALLET: '#/components/schemas/PaymentSolanaWalletInfo' TRON_WALLET: '#/components/schemas/PaymentTronWalletInfo' + PLASMA_WALLET: '#/components/schemas/PaymentPlasmaWalletInfo' POLYGON_WALLET: '#/components/schemas/PaymentPolygonWalletInfo' BASE_WALLET: '#/components/schemas/PaymentBaseWalletInfo' ETHEREUM_WALLET: '#/components/schemas/PaymentEthereumWalletInfo' @@ -15786,6 +15815,7 @@ components: - BASE_WALLET - ETHEREUM_WALLET - LIGHTNING + - PLASMA_WALLET - POLYGON_WALLET - SOLANA_WALLET - SPARK_WALLET @@ -17891,6 +17921,11 @@ components: allOf: - $ref: '#/components/schemas/BaseExternalAccountInfo' - $ref: '#/components/schemas/PolygonWalletInfo' + PlasmaWalletExternalAccountInfo: + title: Plasma Wallet + allOf: + - $ref: '#/components/schemas/BaseExternalAccountInfo' + - $ref: '#/components/schemas/PlasmaWalletInfo' SolanaWalletExternalAccountInfo: title: Solana Wallet allOf: @@ -18000,6 +18035,7 @@ components: - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' - $ref: '#/components/schemas/LightningExternalAccountInfo' - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' + - $ref: '#/components/schemas/PlasmaWalletExternalAccountInfo' - $ref: '#/components/schemas/SolanaWalletExternalAccountInfo' - $ref: '#/components/schemas/SparkWalletExternalAccountInfo' - $ref: '#/components/schemas/TronWalletExternalAccountInfo' @@ -18049,6 +18085,7 @@ components: LIGHTNING: '#/components/schemas/LightningExternalAccountInfo' LIGHTNING_ACCOUNT: '#/components/schemas/LightningExternalAccountInfo' POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' + PLASMA_WALLET: '#/components/schemas/PlasmaWalletExternalAccountInfo' SOLANA_WALLET: '#/components/schemas/SolanaWalletExternalAccountInfo' SPARK_WALLET: '#/components/schemas/SparkWalletExternalAccountInfo' TRON_WALLET: '#/components/schemas/TronWalletExternalAccountInfo' @@ -18918,6 +18955,7 @@ components: - $ref: '#/components/schemas/EthereumWalletExternalAccountInfo' - $ref: '#/components/schemas/LightningExternalAccountInfo' - $ref: '#/components/schemas/PolygonWalletExternalAccountInfo' + - $ref: '#/components/schemas/PlasmaWalletExternalAccountInfo' - $ref: '#/components/schemas/SolanaWalletExternalAccountInfo' - $ref: '#/components/schemas/SparkWalletExternalAccountInfo' - $ref: '#/components/schemas/TronWalletExternalAccountInfo' @@ -18966,6 +19004,7 @@ components: ETHEREUM_WALLET: '#/components/schemas/EthereumWalletExternalAccountInfo' LIGHTNING: '#/components/schemas/LightningExternalAccountInfo' POLYGON_WALLET: '#/components/schemas/PolygonWalletExternalAccountInfo' + PLASMA_WALLET: '#/components/schemas/PlasmaWalletExternalAccountInfo' SOLANA_WALLET: '#/components/schemas/SolanaWalletExternalAccountInfo' SPARK_WALLET: '#/components/schemas/SparkWalletExternalAccountInfo' TRON_WALLET: '#/components/schemas/TronWalletExternalAccountInfo' @@ -19512,6 +19551,7 @@ components: - BASE - POLYGON - TRON + - PLASMA - SPARK description: The blockchain network an on-chain transaction settled on. Whether this is the mainnet or a test network (e.g. Solana devnet) is determined by your platform's environment — sandbox platforms operate on test networks, production platforms on mainnet — mirroring how `cryptoNetwork` is interpreted elsewhere in the API. example: SOLANA diff --git a/openapi/components/schemas/common/PaymentAccountType.yaml b/openapi/components/schemas/common/PaymentAccountType.yaml index 30ff1bc1c..7b0dd383f 100644 --- a/openapi/components/schemas/common/PaymentAccountType.yaml +++ b/openapi/components/schemas/common/PaymentAccountType.yaml @@ -22,6 +22,7 @@ enum: - LIGHTNING - SOLANA_WALLET - TRON_WALLET + - PLASMA_WALLET - POLYGON_WALLET - BASE_WALLET - ETHEREUM_WALLET diff --git a/openapi/components/schemas/common/PaymentInstructions.yaml b/openapi/components/schemas/common/PaymentInstructions.yaml index c4abe811f..983efe543 100644 --- a/openapi/components/schemas/common/PaymentInstructions.yaml +++ b/openapi/components/schemas/common/PaymentInstructions.yaml @@ -57,6 +57,7 @@ properties: - $ref: ../common/PaymentLightningInvoiceInfo.yaml - $ref: ../common/PaymentSolanaWalletInfo.yaml - $ref: ../common/PaymentTronWalletInfo.yaml + - $ref: ../common/PaymentPlasmaWalletInfo.yaml - $ref: ../common/PaymentPolygonWalletInfo.yaml - $ref: ../common/PaymentBaseWalletInfo.yaml - $ref: ../common/PaymentEthereumWalletInfo.yaml @@ -84,6 +85,7 @@ properties: LIGHTNING: ../common/PaymentLightningInvoiceInfo.yaml SOLANA_WALLET: ../common/PaymentSolanaWalletInfo.yaml TRON_WALLET: ../common/PaymentTronWalletInfo.yaml + PLASMA_WALLET: ../common/PaymentPlasmaWalletInfo.yaml POLYGON_WALLET: ../common/PaymentPolygonWalletInfo.yaml BASE_WALLET: ../common/PaymentBaseWalletInfo.yaml ETHEREUM_WALLET: ../common/PaymentEthereumWalletInfo.yaml diff --git a/openapi/components/schemas/common/PaymentPlasmaWalletInfo.yaml b/openapi/components/schemas/common/PaymentPlasmaWalletInfo.yaml new file mode 100644 index 000000000..8b81dc9e7 --- /dev/null +++ b/openapi/components/schemas/common/PaymentPlasmaWalletInfo.yaml @@ -0,0 +1,10 @@ +title: Plasma Wallet +allOf: + - $ref: ./BasePaymentAccountInfo.yaml + - $ref: ./PlasmaWalletInfo.yaml + - type: object + properties: + assetType: + type: string + description: Type of asset + enum: [USDT] diff --git a/openapi/components/schemas/common/PlasmaWalletInfo.yaml b/openapi/components/schemas/common/PlasmaWalletInfo.yaml new file mode 100644 index 000000000..20c5b7b76 --- /dev/null +++ b/openapi/components/schemas/common/PlasmaWalletInfo.yaml @@ -0,0 +1,13 @@ +type: object +required: + - address + - accountType +properties: + accountType: + type: string + enum: + - PLASMA_WALLET + address: + type: string + description: Plasma wallet address + example: '0xAbCDEF1234567890aBCdEf1234567890ABcDef12' diff --git a/openapi/components/schemas/crypto/CryptoNetwork.yaml b/openapi/components/schemas/crypto/CryptoNetwork.yaml index 8ea3884d6..c03bf25ad 100644 --- a/openapi/components/schemas/crypto/CryptoNetwork.yaml +++ b/openapi/components/schemas/crypto/CryptoNetwork.yaml @@ -6,6 +6,7 @@ enum: - BASE - POLYGON - TRON + - PLASMA - SPARK description: >- The blockchain network an on-chain transaction settled on. Whether this is the diff --git a/openapi/components/schemas/external_accounts/ExternalAccountCreateInfoOneOf.yaml b/openapi/components/schemas/external_accounts/ExternalAccountCreateInfoOneOf.yaml index 1c7dfc10c..33bbac36e 100644 --- a/openapi/components/schemas/external_accounts/ExternalAccountCreateInfoOneOf.yaml +++ b/openapi/components/schemas/external_accounts/ExternalAccountCreateInfoOneOf.yaml @@ -41,6 +41,7 @@ oneOf: - $ref: ./EthereumWalletExternalAccountInfo.yaml - $ref: ./LightningExternalAccountInfo.yaml - $ref: ./PolygonWalletExternalAccountInfo.yaml +- $ref: ./PlasmaWalletExternalAccountInfo.yaml - $ref: ./SolanaWalletExternalAccountInfo.yaml - $ref: ./SparkWalletExternalAccountInfo.yaml - $ref: ./TronWalletExternalAccountInfo.yaml @@ -89,6 +90,7 @@ discriminator: ETHEREUM_WALLET: ./EthereumWalletExternalAccountInfo.yaml LIGHTNING: ./LightningExternalAccountInfo.yaml POLYGON_WALLET: ./PolygonWalletExternalAccountInfo.yaml + PLASMA_WALLET: ./PlasmaWalletExternalAccountInfo.yaml SOLANA_WALLET: ./SolanaWalletExternalAccountInfo.yaml SPARK_WALLET: ./SparkWalletExternalAccountInfo.yaml TRON_WALLET: ./TronWalletExternalAccountInfo.yaml diff --git a/openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml b/openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml index 5eb853f91..36440465f 100644 --- a/openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml +++ b/openapi/components/schemas/external_accounts/ExternalAccountInfoOneOf.yaml @@ -40,6 +40,7 @@ oneOf: - $ref: ./EthereumWalletExternalAccountInfo.yaml - $ref: ./LightningExternalAccountInfo.yaml - $ref: ./PolygonWalletExternalAccountInfo.yaml +- $ref: ./PlasmaWalletExternalAccountInfo.yaml - $ref: ./SolanaWalletExternalAccountInfo.yaml - $ref: ./SparkWalletExternalAccountInfo.yaml - $ref: ./TronWalletExternalAccountInfo.yaml @@ -89,6 +90,7 @@ discriminator: LIGHTNING: ./LightningExternalAccountInfo.yaml LIGHTNING_ACCOUNT: ./LightningExternalAccountInfo.yaml POLYGON_WALLET: ./PolygonWalletExternalAccountInfo.yaml + PLASMA_WALLET: ./PlasmaWalletExternalAccountInfo.yaml SOLANA_WALLET: ./SolanaWalletExternalAccountInfo.yaml SPARK_WALLET: ./SparkWalletExternalAccountInfo.yaml TRON_WALLET: ./TronWalletExternalAccountInfo.yaml diff --git a/openapi/components/schemas/external_accounts/ExternalAccountType.yaml b/openapi/components/schemas/external_accounts/ExternalAccountType.yaml index 99d7a2c3c..177800ad5 100644 --- a/openapi/components/schemas/external_accounts/ExternalAccountType.yaml +++ b/openapi/components/schemas/external_accounts/ExternalAccountType.yaml @@ -40,6 +40,7 @@ enum: - BASE_WALLET - ETHEREUM_WALLET - LIGHTNING +- PLASMA_WALLET - POLYGON_WALLET - SOLANA_WALLET - SPARK_WALLET diff --git a/openapi/components/schemas/external_accounts/PlasmaWalletExternalAccountInfo.yaml b/openapi/components/schemas/external_accounts/PlasmaWalletExternalAccountInfo.yaml new file mode 100644 index 000000000..bcddbab97 --- /dev/null +++ b/openapi/components/schemas/external_accounts/PlasmaWalletExternalAccountInfo.yaml @@ -0,0 +1,4 @@ +title: Plasma Wallet +allOf: + - $ref: ./BaseExternalAccountInfo.yaml + - $ref: ../common/PlasmaWalletInfo.yaml