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
3 changes: 3 additions & 0 deletions .stainless/stainless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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]"
Expand Down Expand Up @@ -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" ]
Expand Down
40 changes: 40 additions & 0 deletions mintlify/openapi.yaml

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

14 changes: 14 additions & 0 deletions mintlify/snippets/internal-accounts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,20 @@ Each internal account includes `fundingPaymentInstructions` that tell your custo
```
</Accordion>

<Accordion title="Plasma Stablecoin Funding">
For Plasma wallet accounts, using a Plasma wallet as the funding source:

```json
{
"accountOrWalletInfo": {
"accountType": "PLASMA_WALLET",
"assetType": "USDT",
"address": "0xAbCDEF1234567890aBCdEf1234567890ABcDef12"
}
}
```
</Accordion>

<Accordion title="Polygon Stablecoin Funding">
For Polygon wallet accounts, using a Polygon wallet as the funding source:

Expand Down
40 changes: 40 additions & 0 deletions openapi.yaml

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

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,6 +22,7 @@ enum:
- LIGHTNING
- SOLANA_WALLET
- TRON_WALLET
- PLASMA_WALLET
- POLYGON_WALLET
- BASE_WALLET
- ETHEREUM_WALLET
Expand Down
2 changes: 2 additions & 0 deletions openapi/components/schemas/common/PaymentInstructions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions openapi/components/schemas/common/PaymentPlasmaWalletInfo.yaml
Original file line number Diff line number Diff line change
@@ -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]
Comment thread
ls-bolt[bot] marked this conversation as resolved.
13 changes: 13 additions & 0 deletions openapi/components/schemas/common/PlasmaWalletInfo.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:
- PLASMA_WALLET
address:
type: string
description: Plasma wallet address
example: '0xAbCDEF1234567890aBCdEf1234567890ABcDef12'
1 change: 1 addition & 0 deletions openapi/components/schemas/crypto/CryptoNetwork.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ enum:
- BASE
- POLYGON
- TRON
- PLASMA
- SPARK
description: >-
The blockchain network an on-chain transaction settled on. Whether this is the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ enum:
- BASE_WALLET
- ETHEREUM_WALLET
- LIGHTNING
- PLASMA_WALLET
- POLYGON_WALLET
- SOLANA_WALLET
- SPARK_WALLET
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title: Plasma Wallet
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/PlasmaWalletInfo.yaml
Loading