{
  "openapi": "3.0.0",
  "paths": {
    "/v1/transactions/{prId}/transactions": {
      "get": {
        "operationId": "TransactionsController_value",
        "summary": "Get Transactions by Pay Link ID",
        "description": "Retrieve all transactions associated with a specific paylink ID.",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "senderPK",
            "required": false,
            "in": "query",
            "description": "The public key of the sender to filter transactions. Leave empty to return all senders.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "to",
            "required": false,
            "in": "query",
            "description": "The end of the time range for filtering transactions, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.sssZ).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from",
            "required": false,
            "in": "query",
            "description": "The start of the time range for filtering transactions, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.sssZ).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "prId",
            "required": true,
            "in": "path",
            "description": "The ID of the pay link to filter transactions for.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "summary": "Transaction history for a pay link",
                    "value": [
                      {
                        "id": "67acdb5ee316ca7a58b7e7dc",
                        "paylinkId": "67acdb17e316ca7a58b7e586",
                        "fee": "10000",
                        "quantity": 1,
                        "createdAt": "2025-02-12T17:33:18.544Z",
                        "paymentType": "PAYLINK",
                        "paylink": {
                          "id": "67acdb17e316ca7a58b7e586",
                          "platform": "HELIO",
                          "description": "",
                          "template": "OTHER",
                          "disabled": false,
                          "inactive": false,
                          "notifySenderByEmail": false,
                          "notifyReceiverByEmail": false,
                          "addDiscordRole": false,
                          "addTelegramGroup": false,
                          "features": {
                            "canChangeQuantity": false,
                            "canChangePrice": false,
                            "requireQuantityLimits": false,
                            "requireCountry": false,
                            "requireEmail": false,
                            "requireDeliveryAddress": false,
                            "requireDiscordUsername": false,
                            "requireDiscordLogin": false,
                            "requireFullName": false,
                            "requirePhoneNumber": false,
                            "requireTwitterUsername": false,
                            "requireTelegramUsername": false,
                            "requireProductDetails": false,
                            "requireMaxTransactions": false,
                            "requireNftGate": false,
                            "requireDiscordAuth": false,
                            "requireAccessCode": false,
                            "requireXFollow": false,
                            "requireRaffle": false,
                            "splitRevenue": false,
                            "splitEqually": true,
                            "canSwapTokens": false,
                            "canPayWithCard": true,
                            "nftDropEnabled": false,
                            "showDiscountCode": false,
                            "isEscrowed": false,
                            "requireAllowlist": false,
                            "allowAffiliate": false,
                            "isEventEnabled": false,
                            "enableCountdown": false,
                            "requireCaptchaValidation": false,
                            "shouldRedirectOnSuccess": false,
                            "customThemeEnabled": false,
                            "isSubscription": false,
                            "hasRedirectQueryParams": false
                          },
                          "maxTransactions": 1,
                          "name": "Test Pay Link",
                          "nftCollectionAddress": "",
                          "discordAuthDetails": [],
                          "dynamic": false,
                          "affiliateDetails": {
                            "bps": 5000
                          },
                          "price": "1000000",
                          "normalizedPrice": "1000000",
                          "redirectUrl": "",
                          "redirectQueryParams": [],
                          "customTheme": {
                            "primaryColor": "#F76C1B",
                            "neutralColor": "#5A6578",
                            "themeMode": "LIGHT",
                            "textColorOnButton": "BLACK",
                            "backgroundColor": "#F9F9F9"
                          },
                          "content": {},
                          "creator": {
                            "id": "667c1f9352919e407156128a",
                            "userType": "MERCHANT",
                            "email": "merchant@test.com",
                            "name": "",
                            "isDisabled": false,
                            "kycVerified": false,
                            "platformDetails": {
                              "platform": "HELIO"
                            }
                          },
                          "company": {
                            "id": "667c1f9352919e407156128c",
                            "name": "Test Company",
                            "email": "company@test.com",
                            "websiteUrl": "",
                            "discordUsername": "",
                            "address": "",
                            "phoneNumber": "",
                            "escrowFunds": false,
                            "twitterConfirmed": false,
                            "kycVerified": false,
                            "kybVerified": false
                          },
                          "currency": {
                            "id": "6340313846e4f91b8abc519b",
                            "blockchain": null
                          },
                          "wallet": {
                            "id": "667c1f9352919e4071561294",
                            "name": "",
                            "btcProperties": null
                          },
                          "recipients": [
                            {
                              "currency": {
                                "id": "6340313846e4f91b8abc519b",
                                "blockchain": null
                              },
                              "wallet": {
                                "id": "667c1f9352919e4071561294",
                                "name": "",
                                "btcProperties": null,
                                "blockchainEngine": null
                              }
                            }
                          ],
                          "volume": 0,
                          "sales": "0",
                          "product": null,
                          "discountCodes": [],
                          "discordRoleIds": [],
                          "telegramGroupIds": [],
                          "pricingCurrency": {
                            "id": "6340313846e4f91b8abc519b",
                            "name": "USD Coin",
                            "decimals": 6,
                            "order": 1,
                            "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                            "coinMarketCapId": 3408,
                            "symbol": "USDC",
                            "symbolPrefix": "$",
                            "type": "DIGITAL",
                            "iconUrl": "USDC.svg",
                            "features": [
                              "PAYMENT_PRICING",
                              "PAYMENT_RECIPIENT",
                              "SWAP"
                            ],
                            "blockchain": {
                              "id": "6340313846e4f91b8abc515c",
                              "engine": null
                            }
                          },
                          "createdAt": "2025-02-12T17:32:07.125Z"
                        },
                        "meta": {
                          "id": "67acdb5ee316ca7a58b7e7da",
                          "amount": "990000",
                          "senderPK": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "recipientPK": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "transactionType": "PAYLINK",
                          "customerDetails": {},
                          "productDetails": null,
                          "additionalProductDetails": [],
                          "transactionSignature": "3afE9Xnta9YpF4HLqT9i55Dh9byewgRmFsexgeGaP9NaTNvrJ5CZJij3onAMZXUUStPxEwi4Ce3pc6JeMMhNDKFj",
                          "transactionStatus": "SUCCESS",
                          "splitRevenue": false,
                          "remainingAccounts": [],
                          "totalAmount": "990000",
                          "totalAmountAsUSD": "990000",
                          "affiliateCode": "jwplgfvsvk",
                          "affiliateAmount": "0",
                          "affiliatePublicKey": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "tokenQuote": {
                            "from": "USDC",
                            "fromAmountDecimal": "1",
                            "to": "USDC",
                            "toAmountMinimal": "1000000"
                          },
                          "shopifyPaymentDetails": null,
                          "submitGeolocation": "GB",
                          "currency": {
                            "id": "6340313846e4f91b8abc519b",
                            "name": "USD Coin",
                            "decimals": 6,
                            "order": 1,
                            "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                            "coinMarketCapId": 3408,
                            "symbol": "USDC",
                            "symbolPrefix": "$",
                            "type": "DIGITAL",
                            "iconUrl": "USDC.svg",
                            "features": [
                              "PAYMENT_PRICING",
                              "PAYMENT_RECIPIENT",
                              "SWAP"
                            ]
                          }
                        },
                        "paymentRequestCreatorId": "667c1f9352919e407156128a",
                        "paymentRequestName": "Testing affiliates off",
                        "paymentRequestCurrencySymbol": "USDC",
                        "paymentRequestBlockchain": "SOL",
                        "refunds": []
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error"
          }
        },
        "tags": [
          "Transactions"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/transactions/signature/{signature}": {
      "get": {
        "operationId": "TransactionsController_getTransactionsSignature",
        "summary": "Get a Transaction by Signature",
        "description": "Retrieve the details of a transaction using its blockchain signature.",
        "parameters": [
          {
            "name": "signature",
            "in": "path",
            "required": true,
            "description": "The unique transaction signature used to look up a specific blockchain transaction.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "summary": "Transaction history for a pay link",
                    "value": [
                      {
                        "id": "67acdb5ee316ca7a58b7e7dc",
                        "paylinkId": "67acdb17e316ca7a58b7e586",
                        "fee": "10000",
                        "quantity": 1,
                        "createdAt": "2025-02-12T17:33:18.544Z",
                        "paymentType": "PAYLINK",
                        "paylink": {
                          "id": "67acdb17e316ca7a58b7e586",
                          "platform": "HELIO",
                          "description": "",
                          "template": "OTHER",
                          "disabled": false,
                          "inactive": false,
                          "notifySenderByEmail": false,
                          "notifyReceiverByEmail": false,
                          "addDiscordRole": false,
                          "addTelegramGroup": false,
                          "features": {
                            "canChangeQuantity": false,
                            "canChangePrice": false,
                            "requireQuantityLimits": false,
                            "requireCountry": false,
                            "requireEmail": false,
                            "requireDeliveryAddress": false,
                            "requireDiscordUsername": false,
                            "requireDiscordLogin": false,
                            "requireFullName": false,
                            "requirePhoneNumber": false,
                            "requireTwitterUsername": false,
                            "requireTelegramUsername": false,
                            "requireProductDetails": false,
                            "requireMaxTransactions": false,
                            "requireNftGate": false,
                            "requireDiscordAuth": false,
                            "requireAccessCode": false,
                            "requireXFollow": false,
                            "requireRaffle": false,
                            "splitRevenue": false,
                            "splitEqually": true,
                            "canSwapTokens": false,
                            "canPayWithCard": true,
                            "nftDropEnabled": false,
                            "showDiscountCode": false,
                            "isEscrowed": false,
                            "requireAllowlist": false,
                            "allowAffiliate": false,
                            "isEventEnabled": false,
                            "enableCountdown": false,
                            "requireCaptchaValidation": false,
                            "shouldRedirectOnSuccess": false,
                            "customThemeEnabled": false,
                            "isSubscription": false,
                            "hasRedirectQueryParams": false
                          },
                          "maxTransactions": 1,
                          "name": "Test Pay Link",
                          "nftCollectionAddress": "",
                          "discordAuthDetails": [],
                          "dynamic": false,
                          "affiliateDetails": {
                            "bps": 5000
                          },
                          "price": "1000000",
                          "normalizedPrice": "1000000",
                          "redirectUrl": "",
                          "redirectQueryParams": [],
                          "customTheme": {
                            "primaryColor": "#F76C1B",
                            "neutralColor": "#5A6578",
                            "themeMode": "LIGHT",
                            "textColorOnButton": "BLACK",
                            "backgroundColor": "#F9F9F9"
                          },
                          "content": {},
                          "creator": {
                            "id": "667c1f9352919e407156128a",
                            "userType": "MERCHANT",
                            "email": "merchant@test.com",
                            "name": "",
                            "isDisabled": false,
                            "kycVerified": false,
                            "platformDetails": {
                              "platform": "HELIO"
                            }
                          },
                          "company": {
                            "id": "667c1f9352919e407156128c",
                            "name": "Test Company",
                            "email": "company@test.com",
                            "websiteUrl": "",
                            "discordUsername": "",
                            "address": "",
                            "phoneNumber": "",
                            "escrowFunds": false,
                            "twitterConfirmed": false,
                            "kycVerified": false,
                            "kybVerified": false
                          },
                          "currency": {
                            "id": "6340313846e4f91b8abc519b",
                            "blockchain": null
                          },
                          "wallet": {
                            "id": "667c1f9352919e4071561294",
                            "name": "",
                            "btcProperties": null
                          },
                          "recipients": [
                            {
                              "currency": {
                                "id": "6340313846e4f91b8abc519b",
                                "blockchain": null
                              },
                              "wallet": {
                                "id": "667c1f9352919e4071561294",
                                "name": "",
                                "btcProperties": null,
                                "blockchainEngine": null
                              }
                            }
                          ],
                          "volume": 0,
                          "sales": "0",
                          "product": null,
                          "discountCodes": [],
                          "discordRoleIds": [],
                          "telegramGroupIds": [],
                          "pricingCurrency": {
                            "id": "6340313846e4f91b8abc519b",
                            "name": "USD Coin",
                            "decimals": 6,
                            "order": 1,
                            "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                            "coinMarketCapId": 3408,
                            "symbol": "USDC",
                            "symbolPrefix": "$",
                            "type": "DIGITAL",
                            "iconUrl": "USDC.svg",
                            "features": [
                              "PAYMENT_PRICING",
                              "PAYMENT_RECIPIENT",
                              "SWAP"
                            ],
                            "blockchain": {
                              "id": "6340313846e4f91b8abc515c",
                              "engine": null
                            }
                          },
                          "createdAt": "2025-02-12T17:32:07.125Z"
                        },
                        "meta": {
                          "id": "67acdb5ee316ca7a58b7e7da",
                          "amount": "990000",
                          "senderPK": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "recipientPK": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "transactionType": "PAYLINK",
                          "customerDetails": {},
                          "productDetails": null,
                          "additionalProductDetails": [],
                          "transactionSignature": "3afE9Xnta9YpF4HLqT9i55Dh9byewgRmFsexgeGaP9NaTNvrJ5CZJij3onAMZXUUStPxEwi4Ce3pc6JeMMhNDKFj",
                          "transactionStatus": "SUCCESS",
                          "splitRevenue": false,
                          "remainingAccounts": [],
                          "totalAmount": "990000",
                          "totalAmountAsUSD": "990000",
                          "affiliateCode": "jwplgfvsvk",
                          "affiliateAmount": "0",
                          "affiliatePublicKey": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "tokenQuote": {
                            "from": "USDC",
                            "fromAmountDecimal": "1",
                            "to": "USDC",
                            "toAmountMinimal": "1000000"
                          },
                          "shopifyPaymentDetails": null,
                          "submitGeolocation": "GB",
                          "currency": {
                            "id": "6340313846e4f91b8abc519b",
                            "name": "USD Coin",
                            "decimals": 6,
                            "order": 1,
                            "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                            "coinMarketCapId": 3408,
                            "symbol": "USDC",
                            "symbolPrefix": "$",
                            "type": "DIGITAL",
                            "iconUrl": "USDC.svg",
                            "features": [
                              "PAYMENT_PRICING",
                              "PAYMENT_RECIPIENT",
                              "SWAP"
                            ]
                          }
                        },
                        "paymentRequestCreatorId": "667c1f9352919e407156128a",
                        "paymentRequestName": "Testing affiliates off",
                        "paymentRequestCurrencySymbol": "USDC",
                        "paymentRequestBlockchain": "SOL",
                        "refunds": []
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Transactions"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/transactions/shopify/paymentid/{id}": {
      "get": {
        "operationId": "TransactionsController_getTransactionByShopifyPaymentId",
        "summary": "Get a Transaction by Shopify Payment ID",
        "description": "Retrieve the details of a transaction using its Shopify payment ID.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The Shopify payment ID used to look up the transaction.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key can be generated on the Helio Dashboard's settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "summary": "Shopify transaction details",
                    "value": {
                      "id": "664f2616061dddf20b640691",
                      "paylinkId": "664f25cdde5492e5c4640c08",
                      "fee": "1999",
                      "quantity": 1,
                      "createdAt": "2024-05-23T11:18:46.478Z",
                      "paymentType": "PAYLINK",
                      "paylink": {
                        "id": "664f25cdde5492e5c4640c08",
                        "platform": "HELIO",
                        "template": "SHOPIFY",
                        "disabled": false,
                        "inactive": false,
                        "notifySenderByEmail": false,
                        "notifyReceiverByEmail": false,
                        "addDiscordRole": false,
                        "addTelegramGroup": false,
                        "addStripeApiKey": false,
                        "helioPlayProperties": {
                          "media": {
                            "hosted": false,
                            "type": "VIDEO"
                          }
                        },
                        "features": {
                          "canChangeQuantity": false,
                          "canChangePrice": false,
                          "requireQuantityLimits": false,
                          "requireCountry": false,
                          "requireEmail": false,
                          "requireDeliveryAddress": false,
                          "requireDiscordUsername": false,
                          "requireDiscordLogin": false,
                          "requireFullName": false,
                          "requirePhoneNumber": false,
                          "requireTwitterUsername": false,
                          "requireTelegramUsername": false,
                          "requireProductDetails": false,
                          "requireAdditionalProductDetails": false,
                          "requireMaxTransactions": false,
                          "requireNftGate": false,
                          "requireDiscordAuth": false,
                          "requireAccessCode": false,
                          "requireXFollow": false,
                          "requireRaffle": false,
                          "splitRevenue": false,
                          "splitEqually": false,
                          "canSwapTokens": false,
                          "canPayWithCard": true,
                          "isHelioPlay": false,
                          "isTransparentWallet": false,
                          "nftDropEnabled": false,
                          "showDiscountCode": true,
                          "isEscrowed": false,
                          "requireAllowlist": false,
                          "requireTradingViewUsername": false,
                          "allowAffiliate": false,
                          "requireAirdrop": false,
                          "isEventEnabled": false,
                          "enableCountdown": false,
                          "requireCaptchaValidation": false,
                          "shouldRedirectOnSuccess": false,
                          "customThemeEnabled": false,
                          "isSubscription": false,
                          "hasRedirectQueryParams": false,
                          "hasStripeApiKey": false,
                          "showDetailsForCharge": false
                        },
                        "maxTransactions": 1,
                        "name": "Shopify Paylink",
                        "discordAuthDetails": [],
                        "dynamic": true,
                        "minQuantity": 1,
                        "maxQuantity": 1,
                        "affiliateDetails": null,
                        "price": "0",
                        "normalizedPrice": "0",
                        "redirectUrl": "",
                        "redirectQueryParams": [],
                        "customTheme": {
                          "primaryColor": "#FE5300",
                          "neutralColor": "#5A6578",
                          "themeMode": "LIGHT",
                          "textColorOnButton": "BLACK",
                          "backgroundColor": "#F9F9F9"
                        },
                        "content": {
                          "text": null
                        },
                        "creator": {
                          "id": "664f24c9061dddf20b63fdf2",
                          "userType": "MERCHANT",
                          "isDisabled": false,
                          "kycVerified": false,
                          "platformDetails": null
                        },
                        "company": {
                          "id": "664f24c9061dddf20b63fdf4",
                          "escrowFunds": false,
                          "twitterConfirmed": false,
                          "kycVerified": false,
                          "kybVerified": true,
                          "onrampDirectlyToMerchant": true
                        },
                        "currency": {
                          "id": "63430c8348c610068bcdc482",
                          "name": "USD Coin",
                          "decimals": 6,
                          "order": 100,
                          "mintAddress": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
                          "coinMarketCapId": 3408,
                          "symbol": "USDC",
                          "symbolPrefix": "$",
                          "type": "DIGITAL",
                          "iconUrl": "USDC.svg",
                          "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/USDC.svg",
                          "features": [
                            "PAYMENT_PRICING",
                            "PAYMENT_RECIPIENT",
                            "SWAP",
                            "DEPOSIT_MERCHANT_RECIPIENT",
                            "DEPOSIT_CUSTOMER_CHECKOUT"
                          ],
                          "orderingType": "NUMERIC",
                          "isNative": false,
                          "blockchain": {
                            "id": "63430c8348c610068bcdc43c",
                            "name": "SOL",
                            "symbol": "SOL",
                            "engine": {
                              "id": "63b574b9d07b6f6f21c13eb2",
                              "type": "SOL"
                            }
                          }
                        },
                        "wallet": {
                          "id": "664f25cdde5492e5c4640bde",
                          "name": "Shopify Wallet",
                          "publicKey": "Agaqj6Mo6aPX5aEUeCFQYTVrxH71Nv5wh5JoMDkjVayw",
                          "btcProperties": null
                        },
                        "recipients": [
                          {
                            "currency": {
                              "id": "63430c8348c610068bcdc482",
                              "name": "USD Coin",
                              "decimals": 6,
                              "order": 100,
                              "mintAddress": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
                              "coinMarketCapId": 3408,
                              "symbol": "USDC",
                              "symbolPrefix": "$",
                              "type": "DIGITAL",
                              "iconUrl": "USDC.svg",
                              "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/USDC.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "SWAP",
                                "DEPOSIT_MERCHANT_RECIPIENT",
                                "DEPOSIT_CUSTOMER_CHECKOUT"
                              ],
                              "orderingType": "NUMERIC",
                              "isNative": false,
                              "blockchain": {
                                "id": "63430c8348c610068bcdc43c",
                                "name": "SOL",
                                "symbol": "SOL",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb2",
                                  "type": "SOL"
                                }
                              }
                            },
                            "wallet": {
                              "id": "664f25cdde5492e5c4640bde",
                              "publicKey": "Agaqj6Mo6aPX5aEUeCFQYTVrxH71Nv5wh5JoMDkjVayw",
                              "name": "Shopify Wallet",
                              "blockchainEngine": {
                                "id": "63b574b9d07b6f6f21c13eb2",
                                "type": "SOL"
                              }
                            }
                          },
                          {
                            "currency": {
                              "id": "63fdfb232c62da4b72b2d5b6",
                              "name": "USD Coin",
                              "decimals": 6,
                              "order": 150,
                              "mintAddress": "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238",
                              "coinMarketCapId": 3408,
                              "symbol": "USDC",
                              "symbolPrefix": "$",
                              "type": "DIGITAL",
                              "iconUrl": "USDC.svg",
                              "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/USDC.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "SWAP",
                                "DEPOSIT_MERCHANT_RECIPIENT",
                                "DEPOSIT_CUSTOMER_CHECKOUT"
                              ],
                              "orderingType": "NUMERIC",
                              "isNative": false,
                              "blockchain": {
                                "id": "63430c8348c610068bcdc443",
                                "name": "ETH",
                                "symbol": "ETH",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb0",
                                  "type": "EVM"
                                }
                              }
                            },
                            "wallet": {
                              "id": "6716633e6b22b5a5f9f8c34f",
                              "name": "",
                              "publicKey": "0xb6F8291C2Bf64bb12A757fd3C36AA3D60D0d1566",
                              "btcProperties": null,
                              "type": "EXTENSION",
                              "blockchainEngine": {
                                "id": "63b574b9d07b6f6f21c13eb0",
                                "type": "EVM"
                              }
                            }
                          },
                          {
                            "currency": {
                              "id": "63b6d8bc4ab42dc9df1d2042",
                              "name": "USD Coin",
                              "decimals": 6,
                              "order": 200,
                              "mintAddress": "0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582",
                              "coinMarketCapId": 3408,
                              "symbol": "USDC",
                              "symbolPrefix": "$",
                              "type": "DIGITAL",
                              "iconUrl": "USDC.svg",
                              "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/USDC.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "DEPOSIT_MERCHANT_RECIPIENT",
                                "DEPOSIT_CUSTOMER_CHECKOUT",
                                "SWAP"
                              ],
                              "orderingType": "NUMERIC",
                              "isNative": false,
                              "blockchain": {
                                "id": "63b574b9d07b6f6f21c13ed3",
                                "name": "POLYGON",
                                "symbol": "POLYGON",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb0",
                                  "type": "EVM"
                                }
                              }
                            },
                            "wallet": {
                              "id": "6716633e6b22b5a5f9f8c34f",
                              "name": "",
                              "publicKey": "0xb6F8291C2Bf64bb12A757fd3C36AA3D60D0d1566",
                              "btcProperties": null,
                              "type": "EXTENSION",
                              "blockchainEngine": {
                                "id": "63b574b9d07b6f6f21c13eb0",
                                "type": "EVM"
                              }
                            }
                          },
                          {
                            "currency": {
                              "id": "672a189115f34893ea4cad97",
                              "name": "USD Coin",
                              "decimals": 6,
                              "order": 250,
                              "mintAddress": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
                              "coinMarketCapId": 3408,
                              "symbol": "USDC",
                              "symbolPrefix": "$",
                              "type": "DIGITAL",
                              "iconUrl": "USDC.svg",
                              "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/USDC.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "DEPOSIT_MERCHANT_RECIPIENT",
                                "DEPOSIT_CUSTOMER_CHECKOUT",
                                "SWAP"
                              ],
                              "orderingType": "NUMERIC",
                              "isNative": false,
                              "blockchain": {
                                "id": "671a2d7168ef24934ca70622",
                                "name": "BASE",
                                "symbol": "BASE",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb0",
                                  "type": "EVM"
                                }
                              }
                            },
                            "wallet": {
                              "id": "6716633e6b22b5a5f9f8c34f",
                              "name": "",
                              "publicKey": "0xb6F8291C2Bf64bb12A757fd3C36AA3D60D0d1566",
                              "btcProperties": null,
                              "type": "EXTENSION",
                              "blockchainEngine": {
                                "id": "63b574b9d07b6f6f21c13eb0",
                                "type": "EVM"
                              }
                            }
                          },
                          {
                            "currency": {
                              "id": "63430c8348c610068bcdc474",
                              "name": "Solana",
                              "decimals": 9,
                              "order": 300,
                              "mintAddress": "11111111111111111111111111111111",
                              "coinMarketCapId": 5426,
                              "symbol": "SOL",
                              "symbolPrefix": "",
                              "type": "DIGITAL",
                              "iconUrl": "SOL.png",
                              "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/SOL.png",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "SWAP",
                                "DEPOSIT_MERCHANT_RECIPIENT",
                                "DEPOSIT_CUSTOMER_CHECKOUT",
                                "USD_RATE"
                              ],
                              "orderingType": "NUMERIC",
                              "isNative": true,
                              "blockchain": {
                                "id": "63430c8348c610068bcdc43c",
                                "name": "SOL",
                                "symbol": "SOL",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb2",
                                  "type": "SOL"
                                }
                              }
                            },
                            "wallet": {
                              "id": "664f25cdde5492e5c4640bde",
                              "publicKey": "Agaqj6Mo6aPX5aEUeCFQYTVrxH71Nv5wh5JoMDkjVayw",
                              "name": "Shopify Wallet",
                              "blockchainEngine": {
                                "id": "63b574b9d07b6f6f21c13eb2",
                                "type": "SOL"
                              }
                            }
                          },
                          {
                            "currency": {
                              "id": "63430c8348c610068bcdc496",
                              "name": "USD Tether",
                              "decimals": 6,
                              "order": 400,
                              "mintAddress": "EJwZgeZrdC8TXTQbQBoL6bfuAnFUUy1PVCMB4DYPzVaS",
                              "coinMarketCapId": 825,
                              "symbol": "USDT",
                              "symbolPrefix": "$",
                              "type": "DIGITAL",
                              "iconUrl": "USDT.png",
                              "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/USDT.png",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "SWAP",
                                "DEPOSIT_MERCHANT_RECIPIENT",
                                "DEPOSIT_CUSTOMER_CHECKOUT"
                              ],
                              "orderingType": "NUMERIC",
                              "isNative": false,
                              "blockchain": {
                                "id": "63430c8348c610068bcdc43c",
                                "name": "SOL",
                                "symbol": "SOL",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb2",
                                  "type": "SOL"
                                }
                              }
                            },
                            "wallet": {
                              "id": "664f25cdde5492e5c4640bde",
                              "publicKey": "Agaqj6Mo6aPX5aEUeCFQYTVrxH71Nv5wh5JoMDkjVayw",
                              "name": "Shopify Wallet",
                              "blockchainEngine": {
                                "id": "63b574b9d07b6f6f21c13eb2",
                                "type": "SOL"
                              }
                            }
                          },
                          {
                            "currency": {
                              "id": "6426bd3f9a969530039a1a86",
                              "name": "USDT (FAKE)",
                              "decimals": 6,
                              "order": 450,
                              "mintAddress": "0xbDeaD2A70Fe794D2f97b37EFDE497e68974a296d",
                              "coinMarketCapId": 825,
                              "symbol": "USDT",
                              "symbolPrefix": "",
                              "type": "DIGITAL",
                              "iconUrl": "USDT.svg",
                              "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/USDT.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "SWAP",
                                "DEPOSIT_MERCHANT_RECIPIENT",
                                "DEPOSIT_CUSTOMER_CHECKOUT"
                              ],
                              "orderingType": "NUMERIC",
                              "isNative": false,
                              "blockchain": {
                                "id": "63430c8348c610068bcdc443",
                                "name": "ETH",
                                "symbol": "ETH",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb0",
                                  "type": "EVM"
                                }
                              }
                            },
                            "wallet": {
                              "id": "6716633e6b22b5a5f9f8c34f",
                              "name": "",
                              "publicKey": "0xb6F8291C2Bf64bb12A757fd3C36AA3D60D0d1566",
                              "btcProperties": null,
                              "type": "EXTENSION",
                              "blockchainEngine": {
                                "id": "63b574b9d07b6f6f21c13eb0",
                                "type": "EVM"
                              }
                            }
                          },
                          {
                            "currency": {
                              "id": "6426bd599a969530039a1a87",
                              "name": "USDT (FAKE)",
                              "decimals": 6,
                              "order": 450,
                              "mintAddress": "usdtpolygon",
                              "coinMarketCapId": 825,
                              "symbol": "USDT",
                              "symbolPrefix": "",
                              "type": "DIGITAL",
                              "iconUrl": "USDT.svg",
                              "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/USDT.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "DEPOSIT_MERCHANT_RECIPIENT",
                                "DEPOSIT_CUSTOMER_CHECKOUT"
                              ],
                              "orderingType": "NUMERIC",
                              "isNative": false,
                              "blockchain": {
                                "id": "63b574b9d07b6f6f21c13ed3",
                                "name": "POLYGON",
                                "symbol": "POLYGON",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb0",
                                  "type": "EVM"
                                }
                              }
                            },
                            "wallet": {
                              "id": "6716633e6b22b5a5f9f8c34f",
                              "name": "",
                              "publicKey": "0xb6F8291C2Bf64bb12A757fd3C36AA3D60D0d1566",
                              "btcProperties": null,
                              "type": "EXTENSION",
                              "blockchainEngine": {
                                "id": "63b574b9d07b6f6f21c13eb0",
                                "type": "EVM"
                              }
                            }
                          },
                          {
                            "currency": {
                              "id": "63d7d3fe81c7f9e193bcdad6",
                              "name": "Ethereum",
                              "decimals": 18,
                              "order": 500,
                              "mintAddress": "0xD76b5c2A23ef78368d8E34288B5b65D616B746aE",
                              "coinMarketCapId": 1027,
                              "symbol": "ETH",
                              "symbolPrefix": "",
                              "type": "DIGITAL",
                              "iconUrl": "ETH.svg",
                              "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/ETH.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "SWAP",
                                "DEPOSIT_MERCHANT_RECIPIENT",
                                "DEPOSIT_CUSTOMER_CHECKOUT"
                              ],
                              "orderingType": "NUMERIC",
                              "isNative": true,
                              "blockchain": {
                                "id": "63430c8348c610068bcdc443",
                                "name": "ETH",
                                "symbol": "ETH",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb0",
                                  "type": "EVM"
                                }
                              }
                            },
                            "wallet": {
                              "id": "6716633e6b22b5a5f9f8c34f",
                              "name": "",
                              "publicKey": "0xb6F8291C2Bf64bb12A757fd3C36AA3D60D0d1566",
                              "btcProperties": null,
                              "type": "EXTENSION",
                              "blockchainEngine": {
                                "id": "63b574b9d07b6f6f21c13eb0",
                                "type": "EVM"
                              }
                            }
                          },
                          {
                            "currency": {
                              "id": "63d7d3b681c7f9e193bcdad5",
                              "name": "Bitcoin",
                              "decimals": 8,
                              "order": 550,
                              "mintAddress": "btc",
                              "coinMarketCapId": 1,
                              "symbol": "BTC",
                              "symbolPrefix": "",
                              "type": "DIGITAL",
                              "iconUrl": "BTC.svg",
                              "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/BTC.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "DEPOSIT_CUSTOMER_CHECKOUT"
                              ],
                              "orderingType": "NUMERIC",
                              "isNative": true,
                              "blockchain": {
                                "id": "63da349c7a40a721a6e0a221",
                                "name": "BITCOIN",
                                "symbol": "BITCOIN",
                                "engine": {
                                  "id": "63da34127a40a721a6e0a21d",
                                  "type": "BTC"
                                }
                              }
                            },
                            "wallet": {
                              "id": "671663a9093e3fcfb979d32e",
                              "name": "",
                              "publicKey": "2N4rCoyCMkUk6jwUmb6JU6xGPqojbo3CrnK",
                              "btcProperties": {
                                "paymentAddresses": [
                                  {
                                    "address": "2N4rCoyCMkUk6jwUmb6JU6xGPqojbo3CrnK",
                                    "version": "SEGWIT"
                                  }
                                ],
                                "ordinalsAddresses": [
                                  "tb1pejt93q6nknel0ha9an4v7p3vl9serrtl2nhxhrgzk9jmmdrxa0mqrjkdqn"
                                ]
                              },
                              "type": "EXTENSION",
                              "blockchainEngine": {
                                "id": "63da34127a40a721a6e0a21d",
                                "type": "BTC"
                              }
                            }
                          },
                          {
                            "currency": {
                              "id": "658053e5c772b08e72a565ea",
                              "name": "EURC",
                              "decimals": 6,
                              "order": 900,
                              "mintAddress": "HzwqbKZw8HxMN6bF2yFZNrht3c2iXXzpKcFu7uBEDKtr",
                              "coinMarketCapId": 20641,
                              "symbol": "EURC",
                              "symbolPrefix": "€",
                              "type": "DIGITAL",
                              "iconUrl": "EURC.png",
                              "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/EURC.png",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "SWAP"
                              ],
                              "orderingType": "NUMERIC",
                              "isNative": false,
                              "blockchain": {
                                "id": "63430c8348c610068bcdc43c",
                                "name": "SOL",
                                "symbol": "SOL",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb2",
                                  "type": "SOL"
                                }
                              }
                            },
                            "wallet": {
                              "id": "664f25cdde5492e5c4640bde",
                              "publicKey": "Agaqj6Mo6aPX5aEUeCFQYTVrxH71Nv5wh5JoMDkjVayw",
                              "name": "Shopify Wallet",
                              "blockchainEngine": {
                                "id": "63b574b9d07b6f6f21c13eb2",
                                "type": "SOL"
                              }
                            }
                          },
                          {
                            "currency": {
                              "id": "6729d9a415f34893ea4cad91",
                              "name": "Ethereum Base",
                              "decimals": 18,
                              "order": 250,
                              "mintAddress": "0x1b44F3514812d835EB1BDB0acB33d3fA3351Ee43",
                              "coinMarketCapId": 1027,
                              "symbol": "ETH",
                              "symbolPrefix": "",
                              "type": "DIGITAL",
                              "iconUrl": "BASE.svg",
                              "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/BASE.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "DEPOSIT_MERCHANT_RECIPIENT",
                                "DEPOSIT_CUSTOMER_CHECKOUT",
                                "SWAP"
                              ],
                              "orderingType": "ALPHABETICAL",
                              "isNative": true,
                              "blockchain": {
                                "id": "671a2d7168ef24934ca70622",
                                "name": "BASE",
                                "symbol": "BASE",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb0",
                                  "type": "EVM"
                                }
                              }
                            },
                            "wallet": {
                              "id": "6716633e6b22b5a5f9f8c34f",
                              "name": "",
                              "publicKey": "0xb6F8291C2Bf64bb12A757fd3C36AA3D60D0d1566",
                              "btcProperties": null,
                              "type": "EXTENSION",
                              "blockchainEngine": {
                                "id": "63b574b9d07b6f6f21c13eb0",
                                "type": "EVM"
                              }
                            }
                          },
                          {
                            "currency": {
                              "id": "63b6d9394ab42dc9df1d2043",
                              "name": "Polygon",
                              "decimals": 18,
                              "order": 150,
                              "mintAddress": "0x0000000000000000000000000000000000001010",
                              "coinMarketCapId": 3890,
                              "symbol": "MATIC",
                              "symbolPrefix": "",
                              "type": "DIGITAL",
                              "iconUrl": "MATIC.svg",
                              "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/MATIC.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT"
                              ],
                              "orderingType": "ALPHABETICAL",
                              "isNative": false,
                              "blockchain": {
                                "id": "63b574b9d07b6f6f21c13ed3",
                                "name": "POLYGON",
                                "symbol": "POLYGON",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb0",
                                  "type": "EVM"
                                }
                              }
                            },
                            "wallet": {
                              "id": "6716633e6b22b5a5f9f8c34f",
                              "name": "",
                              "publicKey": "0xb6F8291C2Bf64bb12A757fd3C36AA3D60D0d1566",
                              "btcProperties": null,
                              "type": "EXTENSION",
                              "blockchainEngine": {
                                "id": "63b574b9d07b6f6f21c13eb0",
                                "type": "EVM"
                              }
                            }
                          }
                        ],
                        "volume": 0,
                        "sales": "0",
                        "discountCodes": [
                          {
                            "id": "68a486abe6fe7323540d8f01",
                            "percent": 10,
                            "tokenType": "CODE"
                          }
                        ],
                        "discordRoleIds": [],
                        "telegramGroupIds": [],
                        "pricingCurrency": {
                          "id": "63430c8348c610068bcdc482",
                          "name": "USD Coin",
                          "decimals": 6,
                          "order": 100,
                          "mintAddress": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
                          "coinMarketCapId": 3408,
                          "symbol": "USDC",
                          "symbolPrefix": "$",
                          "type": "DIGITAL",
                          "iconUrl": "USDC.svg",
                          "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/USDC.svg",
                          "features": [
                            "PAYMENT_PRICING",
                            "PAYMENT_RECIPIENT",
                            "SWAP",
                            "DEPOSIT_MERCHANT_RECIPIENT",
                            "DEPOSIT_CUSTOMER_CHECKOUT"
                          ],
                          "orderingType": "NUMERIC",
                          "isNative": false,
                          "blockchain": {
                            "id": "63430c8348c610068bcdc43c",
                            "name": "SOL",
                            "symbol": "SOL",
                            "engine": {
                              "id": "63b574b9d07b6f6f21c13eb2",
                              "type": "SOL"
                            }
                          }
                        },
                        "product": null,
                        "additionalProducts": [],
                        "createdAt": "2024-05-23T11:17:33.931Z"
                      },
                      "meta": {
                        "id": "664f2616061dddf20b64068e",
                        "amount": "97994",
                        "senderPK": "9tarbZyg2s2g18sarJjn5vsWwS8gbewWXRcFszuiT1Wn",
                        "recipientPK": "Agaqj6Mo6aPX5aEUeCFQYTVrxH71Nv5wh5JoMDkjVayw",
                        "transactionType": "PAYLINK",
                        "customerDetails": {
                          "discordUser": null,
                          "telegramUser": null
                        },
                        "productDetails": null,
                        "additionalProductDetails": [],
                        "transactionSignature": "47P7DJmKHvTpVRKFyzLuyBDgZvFUvNvNGP6V7v4tXTcbkHDTNn9qzd4s3Qouqf9TbrMJxzWrKJ7Ytc57DA8rrztV",
                        "transactionStatus": "SUCCESS",
                        "splitRevenue": false,
                        "remainingAccounts": [],
                        "totalAmount": "97994",
                        "totalAmountAsUSD": "97994",
                        "affiliateAmount": "0",
                        "tokenQuote": null,
                        "shopifyPaymentDetails": {
                          "shopifyPaymentGid": "gid://shopify/PaymentSession/rj9wfWbgRslR2rJ2wypRhikGp",
                          "shopifyPaymentId": "rj9wfWbgRslR2rJ2wypRhikGp"
                        },
                        "currency": {
                          "id": "63430c8348c610068bcdc482",
                          "name": "USD Coin",
                          "decimals": 6,
                          "order": 100,
                          "mintAddress": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
                          "coinMarketCapId": 3408,
                          "symbol": "USDC",
                          "symbolPrefix": "$",
                          "type": "DIGITAL",
                          "iconUrl": "USDC.svg",
                          "iconUrlFull": "https://helio-assets.s3.eu-west-1.amazonaws.com/USDC.svg",
                          "features": [
                            "PAYMENT_PRICING",
                            "PAYMENT_RECIPIENT",
                            "SWAP",
                            "DEPOSIT_MERCHANT_RECIPIENT",
                            "DEPOSIT_CUSTOMER_CHECKOUT"
                          ],
                          "orderingType": "NUMERIC",
                          "isNative": false
                        }
                      },
                      "paymentRequestCreatorId": "664f24c9061dddf20b63fdf2",
                      "paymentRequestName": "Shopify Paylink",
                      "paymentRequestCurrencySymbol": "USDC",
                      "refunds": [
                        {
                          "id": "664f265dde5492e5c4640f4e",
                          "meta": null,
                          "paymentRequest": "undefined",
                          "paymentRequestTx": "undefined"
                        },
                        {
                          "id": "664f268a061dddf20b640904",
                          "meta": null,
                          "paymentRequest": "undefined",
                          "paymentRequestTx": "undefined"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Transactions"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/currency/all": {
      "get": {
        "operationId": "CurrencyController_getAllCurrencies",
        "summary": "Get All Currencies",
        "description": "Returns a complete list of all supported currencies on Helio, including fiat and crypto. Use this to retrieve currency IDs for Pay Links, withdrawals, and other integrations.",
        "parameters": [
          {
            "name": "type",
            "required": false,
            "in": "query",
            "description": "Specifies whether to filter by currency type. Valid options are FIAT or DIGITAL.",
            "schema": {}
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Currency"
                  }
                },
                "examples": {
                  "currencyList": {
                    "summary": "List of supported currencies"
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Currencies"
        ]
      }
    },
    "/v1/currency/deposit": {
      "get": {
        "operationId": "CurrencyController_getDepositCurrencies",
        "summary": "Get Deposit Currencies",
        "description": "Returns a complete list of all supported deposit currencies on MoonPay Commerce, including fiat and crypto. Use this to retrieve currency IDs for deposit creation.",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Currency"
                  }
                },
                "examples": {
                  "currencyList": {
                    "summary": "List of supported currencies"
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Currencies"
        ]
      }
    },
    "/v1/currency/withdrawal": {
      "get": {
        "operationId": "CurrencyController_getWithdrawalCurrencies",
        "summary": "Get Withdrawal Currencies",
        "description": "Returns currencies eligible for withdrawals on MoonPay Commerce — those with the `WITHDRAWAL_SOURCE` and/or `WITHDRAWAL_DESTINATION` feature. Use this to retrieve currency IDs when creating a withdrawal config or preparing a withdrawal.",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Currency"
                  }
                },
                "examples": {
                  "currencyList": {
                    "summary": "List of supported withdrawal currencies"
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Currencies"
        ]
      }
    },
    "/v1/wallet/all": {
      "get": {
        "operationId": "WalletController_getWallets",
        "summary": "Get Wallets",
        "description": "Returns all wallets linked to a merchant, including both connected and payout wallets, across supported blockchain networks.",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "API key can be generated on helio dashboard settings page",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved merchant wallets.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetWallet"
                  }
                },
                "examples": {
                  "walletList": {
                    "summary": "List of merchant wallets",
                    "value": [
                      {
                        "id": "65f1a2b3c4d5e6f7g8h9i0j1",
                        "publicKey": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
                        "name": "Main Wallet",
                        "blockchainEngineType": "SOL",
                        "walletCategory": "CONNECTED",
                        "type": "EXTENSION",
                        "origin": "PHANTOM",
                        "createdAt": "2024-01-15T10:30:00.000Z"
                      },
                      {
                        "id": "65f1a2b3c4d5e6f7g8h9i0j2",
                        "publicKey": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
                        "name": "BTC Payout",
                        "blockchainEngineType": "BTC",
                        "walletCategory": "PAYOUT",
                        "createdAt": "2024-01-20T14:45:00.000Z"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Wallet"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/paylink/create/api-key": {
      "post": {
        "operationId": "PaylinkController_createPaylinkWithApiKey",
        "summary": "Create a Pay Link",
        "description": "Create a new paylink using your API key with full control over pricing, currency, and payout configuration.",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "API key can be generated on helio dashboard settings page",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePaylinkWithApiDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ShallowEnrichedPaylink"
                },
                "examples": {
                  "success": {
                    "summary": "Successful pay link creation",
                    "value": {
                      "id": "6812817fcf4943d0f0e4d5a1",
                      "platform": "HELIO",
                      "template": "OTHER",
                      "disabled": false,
                      "inactive": false,
                      "notifySenderByEmail": false,
                      "notifyReceiverByEmail": false,
                      "addDiscordRole": false,
                      "addTelegramGroup": false,
                      "features": {
                        "canChangeQuantity": false,
                        "canChangePrice": false,
                        "requireQuantityLimits": false,
                        "requireCountry": false,
                        "requireEmail": false,
                        "requireDeliveryAddress": false,
                        "requireDiscordUsername": false,
                        "requireDiscordLogin": false,
                        "requireFullName": false,
                        "requirePhoneNumber": false,
                        "requireTwitterUsername": false,
                        "requireTelegramUsername": false,
                        "requireProductDetails": false,
                        "requireMaxTransactions": false,
                        "requireNftGate": false,
                        "requireDiscordAuth": false,
                        "requireAccessCode": false,
                        "requireXFollow": false,
                        "requireRaffle": false,
                        "canSwapTokens": false,
                        "canPayWithCard": true,
                        "nftDropEnabled": false,
                        "showDiscountCode": false,
                        "isEscrowed": false,
                        "requireAllowlist": false,
                        "allowAffiliate": false,
                        "isEventEnabled": false,
                        "enableCountdown": false,
                        "requireCaptchaValidation": false,
                        "shouldRedirectOnSuccess": true,
                        "customThemeEnabled": false,
                        "isSubscription": false,
                        "showDetailsForCharge": false,
                        "hasRedirectQueryParams": true
                      },
                      "name": "Query Params Pay Link Test",
                      "discordAuthDetails": [],
                      "dynamic": false,
                      "affiliateDetails": null,
                      "price": "10000",
                      "normalizedPrice": "10000",
                      "redirectUrl": "https://www.google.com/",
                      "redirectTimeout": 3,
                      "redirectQueryParams": [
                        {
                          "queryParamType": "WALLET_ADDRESS"
                        }
                      ],
                      "content": {},
                      "creator": {
                        "id": "667c1f9352919e407156128a",
                        "userType": "MERCHANT",
                        "email": "jesse.baffour@helio.co",
                        "name": "",
                        "isDisabled": false,
                        "kycVerified": false,
                        "platformDetails": {
                          "platform": "HELIO"
                        }
                      },
                      "company": {
                        "id": "667c1f9352919e407156128c",
                        "name": "Helio",
                        "email": "jesse@hel.io",
                        "websiteUrl": "",
                        "discordUsername": "",
                        "address": "",
                        "phoneNumber": "",
                        "escrowFunds": false,
                        "twitterConfirmed": false,
                        "kycVerified": false,
                        "kybVerified": false
                      },
                      "currency": {
                        "id": "6340313846e4f91b8abc519b",
                        "name": "USD Coin",
                        "decimals": 6,
                        "order": 1,
                        "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                        "coinMarketCapId": 3408,
                        "symbol": "USDC",
                        "symbolPrefix": "$",
                        "type": "DIGITAL",
                        "iconUrl": "USDC.svg",
                        "features": [
                          "PAYMENT_PRICING",
                          "PAYMENT_RECIPIENT",
                          "SWAP"
                        ],
                        "blockchain": {
                          "id": "6340313846e4f91b8abc515c",
                          "name": "SOL",
                          "symbol": "SOL",
                          "engine": {
                            "id": "63b6b1200cfb4b3f6131f2b4",
                            "type": "SOL"
                          }
                        }
                      },
                      "wallet": {
                        "id": "667c1f9352919e4071561294",
                        "name": "",
                        "publicKey": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                        "btcProperties": null,
                        "type": "EXTENSION"
                      },
                      "recipients": [
                        {
                          "currency": {
                            "id": "6340313846e4f91b8abc519b",
                            "name": "USD Coin",
                            "decimals": 6,
                            "order": 1,
                            "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                            "coinMarketCapId": 3408,
                            "symbol": "USDC",
                            "symbolPrefix": "$",
                            "type": "DIGITAL",
                            "iconUrl": "USDC.svg",
                            "features": [
                              "PAYMENT_PRICING",
                              "PAYMENT_RECIPIENT",
                              "SWAP"
                            ],
                            "blockchain": {
                              "id": "6340313846e4f91b8abc515c",
                              "name": "SOL",
                              "symbol": "SOL",
                              "engine": {
                                "id": "63b6b1200cfb4b3f6131f2b4",
                                "type": "SOL"
                              }
                            }
                          },
                          "wallet": {
                            "id": "667c1f9352919e4071561294",
                            "name": "",
                            "publicKey": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                            "btcProperties": null,
                            "type": "EXTENSION",
                            "blockchainEngine": {
                              "id": "63b6b1200cfb4b3f6131f2b4",
                              "type": "SOL"
                            }
                          }
                        }
                      ],
                      "volume": 0,
                      "sales": "0",
                      "product": null,
                      "additionalImages": [],
                      "additionalImageUrls": [],
                      "discountCodes": [],
                      "discordRoleIds": [],
                      "telegramGroupIds": [],
                      "pricingCurrency": {
                        "id": "6340313846e4f91b8abc519b",
                        "name": "USD Coin",
                        "decimals": 6,
                        "order": 1,
                        "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                        "coinMarketCapId": 3408,
                        "symbol": "USDC",
                        "symbolPrefix": "$",
                        "type": "DIGITAL",
                        "iconUrl": "USDC.svg",
                        "features": [
                          "PAYMENT_PRICING",
                          "PAYMENT_RECIPIENT",
                          "SWAP"
                        ],
                        "blockchain": {
                          "id": "6340313846e4f91b8abc515c",
                          "name": "SOL",
                          "symbol": "SOL",
                          "engine": {
                            "id": "63b6b1200cfb4b3f6131f2b4",
                            "type": "SOL"
                          }
                        }
                      },
                      "createdAt": "2025-04-30T20:01:03.910Z"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Paylink"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/paylink/{id}/transactions": {
      "get": {
        "operationId": "PaylinkController_getPaylinkTransactions",
        "summary": "Get a Pay Links Transactions by ID",
        "description": "Retrieve all transactions associated with a specific paylink ID.",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "senderPK",
            "required": false,
            "in": "query",
            "description": "The public key of the sender initiating the transaction.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "to",
            "required": false,
            "in": "query",
            "description": "The destination wallet address or recipient identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from",
            "required": false,
            "in": "query",
            "description": "The source wallet address or sender identifier.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "The ID of the pay link whose transactions you want to retrieve",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful transaction retrieval",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "summary": "Example transaction response",
                    "value": [
                      {
                        "id": "67ee7d16fb4b2c573ed15a74",
                        "paylinkId": "67ed6a997f38797b45e65d95",
                        "fee": "10",
                        "quantity": 1,
                        "createdAt": "2025-04-03T12:20:38.408Z",
                        "paymentType": "PAYLINK",
                        "paylink": {
                          "id": "67ed6a997f38797b45e65d95",
                          "platform": "HELIO",
                          "description": "",
                          "template": "OTHER",
                          "disabled": false,
                          "inactive": false,
                          "notifySenderByEmail": false,
                          "notifyReceiverByEmail": false,
                          "addDiscordRole": false,
                          "addTelegramGroup": true,
                          "features": {
                            "canChangeQuantity": false,
                            "canChangePrice": false,
                            "requireQuantityLimits": false,
                            "requireCountry": false,
                            "requireEmail": true,
                            "requireDeliveryAddress": false,
                            "requireDiscordUsername": false,
                            "requireDiscordLogin": false,
                            "requireFullName": false,
                            "requirePhoneNumber": false,
                            "requireTwitterUsername": false,
                            "requireTelegramUsername": true,
                            "requireProductDetails": false,
                            "requireMaxTransactions": false,
                            "requireNftGate": false,
                            "requireDiscordAuth": false,
                            "requireAccessCode": false,
                            "requireXFollow": false,
                            "requireRaffle": false,
                            "splitRevenue": false,
                            "splitEqually": true,
                            "canSwapTokens": true,
                            "canPayWithCard": true,
                            "nftDropEnabled": false,
                            "showDiscountCode": false,
                            "isEscrowed": false,
                            "requireAllowlist": false,
                            "allowAffiliate": false,
                            "isEventEnabled": false,
                            "enableCountdown": false,
                            "requireCaptchaValidation": false,
                            "shouldRedirectOnSuccess": false,
                            "customThemeEnabled": false,
                            "isSubscription": false,
                            "hasRedirectQueryParams": false
                          },
                          "maxTransactions": 1,
                          "name": "tg testing sol",
                          "nftCollectionAddress": "",
                          "discordAuthDetails": [],
                          "dynamic": false,
                          "affiliateDetails": null,
                          "price": "1000",
                          "normalizedPrice": "1000",
                          "redirectUrl": "",
                          "redirectQueryParams": [],
                          "customTheme": {
                            "primaryColor": "#F76C1B",
                            "neutralColor": "#5A6578",
                            "themeMode": "LIGHT",
                            "textColorOnButton": "BLACK",
                            "backgroundColor": "#F9F9F9"
                          },
                          "content": {},
                          "creator": {
                            "id": "667c1f9352919e407156128a",
                            "userType": "MERCHANT",
                            "email": "jesse.baffour@helio.co",
                            "name": "",
                            "isDisabled": false,
                            "kycVerified": false,
                            "platformDetails": {
                              "platform": "HELIO"
                            }
                          },
                          "company": {
                            "id": "667c1f9352919e407156128c",
                            "name": "Helio",
                            "email": "jesse@hel.io",
                            "websiteUrl": "",
                            "discordUsername": "",
                            "address": "",
                            "phoneNumber": "",
                            "escrowFunds": false,
                            "twitterConfirmed": false,
                            "kycVerified": false,
                            "kybVerified": false
                          },
                          "currency": {
                            "id": "6340313846e4f91b8abc519b",
                            "blockchain": null
                          },
                          "wallet": {
                            "id": "667c1f9352919e4071561294",
                            "name": "",
                            "btcProperties": null
                          },
                          "recipients": [
                            {
                              "currency": {
                                "id": "6340313846e4f91b8abc519b",
                                "blockchain": null
                              },
                              "wallet": {
                                "id": "667c1f9352919e4071561294",
                                "name": "",
                                "btcProperties": null,
                                "blockchainEngine": null
                              }
                            }
                          ],
                          "volume": 0,
                          "sales": "0",
                          "product": null,
                          "discountCodes": [],
                          "discordRoleIds": [],
                          "telegramGroupIds": [
                            "-1002545794381"
                          ],
                          "pricingCurrency": {
                            "id": "6340313846e4f91b8abc519b",
                            "name": "USD Coin",
                            "decimals": 6,
                            "order": 1,
                            "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                            "coinMarketCapId": 3408,
                            "symbol": "USDC",
                            "symbolPrefix": "$",
                            "type": "DIGITAL",
                            "iconUrl": "USDC.svg",
                            "features": [
                              "PAYMENT_PRICING",
                              "PAYMENT_RECIPIENT",
                              "SWAP"
                            ],
                            "blockchain": {
                              "id": "6340313846e4f91b8abc515c",
                              "engine": null
                            }
                          },
                          "createdAt": "2025-04-02T16:49:29.704Z"
                        },
                        "meta": {
                          "id": "67ee7d16fb4b2c573ed15a72",
                          "amount": "990",
                          "senderPK": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "recipientPK": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "transactionType": "PAYLINK",
                          "customerDetails": {
                            "email": "jesse@hel.io",
                            "discordUser": null,
                            "telegramUsername": "j_b111",
                            "telegramUser": {
                              "username": "j_b111"
                            }
                          },
                          "productDetails": null,
                          "additionalProductDetails": [],
                          "transactionSignature": "3iKQ2cgmHH9EYJRHPB2h2qW85RdizwDy8K2KsJMWr2JgFeHoXfzNk94abftZ4Tr69zuhtHrfiWa4CkgBfYBkJztT",
                          "transactionStatus": "SUCCESS",
                          "splitRevenue": false,
                          "remainingAccounts": [],
                          "totalAmount": "990",
                          "totalAmountAsUSD": "990",
                          "affiliateAmount": "0",
                          "tokenQuote": {
                            "from": "USDC",
                            "fromAmountDecimal": "0.001",
                            "to": "USDC",
                            "toAmountMinimal": "1000"
                          },
                          "shopifyPaymentDetails": null,
                          "submitGeolocation": "GB",
                          "currency": {
                            "id": "6340313846e4f91b8abc519b",
                            "name": "USD Coin",
                            "decimals": 6,
                            "order": 1,
                            "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                            "coinMarketCapId": 3408,
                            "symbol": "USDC",
                            "symbolPrefix": "$",
                            "type": "DIGITAL",
                            "iconUrl": "USDC.svg",
                            "features": [
                              "PAYMENT_PRICING",
                              "PAYMENT_RECIPIENT",
                              "SWAP"
                            ]
                          }
                        },
                        "paymentRequestCreatorId": "667c1f9352919e407156128a",
                        "paymentRequestName": "tg testing sol",
                        "paymentRequestCurrencySymbol": "USDC",
                        "paymentRequestBlockchain": "SOL",
                        "refunds": []
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Paylink"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/paylink/{id}/api-key": {
      "patch": {
        "operationId": "PaylinkController_updatePaylinkViaApi",
        "summary": "Update a Pay Link",
        "description": "Update the details of a paylink.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The unique ID of the pay link you want to update.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key can be generated from the Helio Dashboard settings.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePaylinkWithApiDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Paylink successfully updated.",
            "content": {
              "application/json": {
                "examples": {
                  "success": {
                    "summary": "Full updated paylink response",
                    "value": {
                      "id": "paylink_id",
                      "platform": "HELIO",
                      "description": "",
                      "template": "OTHER",
                      "disabled": false,
                      "inactive": false,
                      "notifySenderByEmail": false,
                      "notifyReceiverByEmail": false,
                      "addDiscordRole": false,
                      "addTelegramGroup": false,
                      "features": {
                        "canChangeQuantity": false,
                        "canChangePrice": false,
                        "requireQuantityLimits": false,
                        "requireCountry": false,
                        "requireEmail": false,
                        "requireDeliveryAddress": false,
                        "requireDiscordUsername": false,
                        "requireDiscordLogin": false,
                        "requireFullName": false,
                        "requirePhoneNumber": false,
                        "requireTwitterUsername": false,
                        "requireTelegramUsername": false,
                        "requireProductDetails": false,
                        "requireMaxTransactions": false,
                        "requireNftGate": false,
                        "requireDiscordAuth": false,
                        "requireAccessCode": false,
                        "requireXFollow": false,
                        "requireRaffle": false,
                        "splitRevenue": false,
                        "splitEqually": true,
                        "canSwapTokens": true,
                        "canPayWithCard": true,
                        "nftDropEnabled": false,
                        "showDiscountCode": true,
                        "isEscrowed": false,
                        "requireAllowlist": false,
                        "allowAffiliate": false,
                        "isEventEnabled": false,
                        "enableCountdown": false,
                        "requireCaptchaValidation": false,
                        "shouldRedirectOnSuccess": false,
                        "customThemeEnabled": false,
                        "isSubscription": false,
                        "showDetailsForCharge": false,
                        "hasRedirectQueryParams": false
                      },
                      "maxTransactions": 1,
                      "name": "Test Paylink",
                      "nftCollectionAddress": "",
                      "discordAuthDetails": [],
                      "dynamic": false,
                      "affiliateDetails": null,
                      "price": "1000",
                      "normalizedPrice": "1000",
                      "redirectUrl": "",
                      "redirectQueryParams": [],
                      "customTheme": {
                        "primaryColor": "#F76C1B",
                        "neutralColor": "#5A6578",
                        "themeMode": "LIGHT",
                        "textColorOnButton": "BLACK",
                        "backgroundColor": "#F9F9F9"
                      },
                      "createdAt": "2025-01-01T00:00:00.000Z",
                      "updatedAt": "2025-01-01T00:00:00.000Z",
                      "creator": {
                        "id": "creator_id_123",
                        "userType": "MERCHANT",
                        "email": "user@example.com",
                        "name": "Example User",
                        "isDisabled": false,
                        "kycVerified": false,
                        "platformDetails": {
                          "platform": "HELIO"
                        },
                        "roles": [],
                        "wallets": [
                          {
                            "id": "wallet_id_123",
                            "name": "Primary Wallet",
                            "btcProperties": null,
                            "blockchainEngine": null
                          }
                        ],
                        "payoutWallets": []
                      },
                      "company": {
                        "id": "company_id_123",
                        "name": "Example Company",
                        "email": "contact@example.com",
                        "websiteUrl": "",
                        "discordUsername": "",
                        "address": "",
                        "phoneNumber": "",
                        "escrowFunds": false,
                        "twitterConfirmed": false,
                        "kycVerified": false,
                        "kybVerified": false,
                        "logoUrl": "attachments/example_logo.png"
                      },
                      "currency": {
                        "id": "currency_id_123",
                        "name": "USD Coin",
                        "decimals": 6,
                        "order": 100,
                        "mintAddress": "USDC_mint_address",
                        "coinMarketCapId": 3408,
                        "symbol": "USDC",
                        "symbolPrefix": "$",
                        "type": "DIGITAL",
                        "iconUrl": "USDC.svg",
                        "features": [
                          "PAYMENT_PRICING",
                          "PAYMENT_RECIPIENT",
                          "SWAP"
                        ],
                        "orderingType": "NUMERIC",
                        "blockchain": {
                          "id": "blockchain_id_123",
                          "name": "SOL",
                          "symbol": "SOL",
                          "engine": {
                            "id": "engine_id_123",
                            "type": "SOL"
                          }
                        }
                      },
                      "wallet": {
                        "id": "wallet_id_123",
                        "name": "Primary Wallet",
                        "publicKey": "ExamplePublicKey1234567890",
                        "btcProperties": null,
                        "type": "EXTENSION",
                        "blockchainEngine": {
                          "id": "engine_id_123",
                          "type": "SOL"
                        }
                      },
                      "recipients": [
                        {
                          "currency": {
                            "id": "currency_id_123",
                            "name": "USD Coin",
                            "decimals": 6,
                            "order": 100,
                            "mintAddress": "USDC_mint_address",
                            "coinMarketCapId": 3408,
                            "symbol": "USDC",
                            "symbolPrefix": "$",
                            "type": "DIGITAL",
                            "iconUrl": "USDC.svg",
                            "features": [
                              "PAYMENT_PRICING",
                              "PAYMENT_RECIPIENT",
                              "SWAP"
                            ],
                            "orderingType": "NUMERIC",
                            "blockchain": {
                              "id": "blockchain_id_123",
                              "name": "SOL",
                              "symbol": "SOL",
                              "engine": {
                                "id": "engine_id_123",
                                "type": "SOL"
                              }
                            }
                          },
                          "wallet": {
                            "id": "wallet_id_123",
                            "name": "Recipient Wallet",
                            "publicKey": "RecipientPublicKey1234567890",
                            "btcProperties": null,
                            "type": "EXTENSION",
                            "blockchainEngine": {
                              "id": "engine_id_123",
                              "type": "SOL"
                            }
                          }
                        }
                      ],
                      "product": null,
                      "discountCodes": [],
                      "pricingCurrency": {
                        "id": "currency_id_123",
                        "name": "USD Coin",
                        "decimals": 6,
                        "order": 100,
                        "mintAddress": "USDC_mint_address",
                        "coinMarketCapId": 3408,
                        "symbol": "USDC",
                        "symbolPrefix": "$",
                        "type": "DIGITAL",
                        "iconUrl": "USDC.svg",
                        "features": [
                          "PAYMENT_PRICING",
                          "PAYMENT_RECIPIENT",
                          "SWAP"
                        ],
                        "orderingType": "NUMERIC",
                        "blockchain": {
                          "id": "blockchain_id_123",
                          "name": "SOL",
                          "symbol": "SOL",
                          "engine": {
                            "id": "engine_id_123",
                            "type": "SOL"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key is invalid or unauthorized.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "API key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Paylink"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/paylink/{id}/disable": {
      "patch": {
        "operationId": "PaylinkController_disablePaylinkViaApi",
        "summary": "Disable a Pay Link",
        "description": "Disable an active paylink, preventing any further payments from being made through it.",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "The unique ID of the pay link you want to disable or enable.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "disabled",
            "required": true,
            "in": "query",
            "description": "Toggle this to true to disable the pay link, or false to re-enable it.",
            "schema": {
              "type": "boolean",
              "enum": [
                true,
                false
              ],
              "description": "Set to true to disable the pay link or false to enable it."
            }
          },
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Indicates whether the pay link has been successfully disabled or re-enabled.",
            "content": {
              "application/json": {
                "examples": {
                  "disabled": {
                    "summary": "Pay link successfully disabled",
                    "value": {
                      "disabled": true
                    }
                  },
                  "enabled": {
                    "summary": "Pay link successfully re-enabled",
                    "value": {
                      "disabled": false
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Paylink"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/allowlist/add": {
      "patch": {
        "operationId": "AllowlistController_value",
        "summary": "Add to a Wallet Allowlist",
        "description": "Add a wallet address to your allowlist when restricting access to a paylink.",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddAllowlistWalletsDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Allowlist updated successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddAllowlistResponse"
                },
                "examples": {
                  "allowlistUpdated": {
                    "summary": "Updated allowlist response",
                    "value": {
                      "wallets": [
                        {
                          "publicKey": "7VK5KfzBr6rSY3vTznyGeSYpHbJZ5EkJscZb2LLkrG7U",
                          "maxAllowedQuantity": 3
                        },
                        {
                          "publicKey": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "maxAllowedQuantity": 1
                        }
                      ],
                      "prId": "68129254ba5dc7557c943217",
                      "prType": "PAYLINK",
                      "id": "681292547d54b32ebd24c9b0"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Allowlist"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/auth/external/sign-up": {
      "post": {
        "operationId": "AuthController_externalSignUp",
        "summary": "Creating a Merchant Account",
        "description": "Create a new Helio merchant account using an external authentication method.",
        "tags": [
          "JWT Authentications"
        ],
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Contact the Helio team directly to obtain API keys."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExternalSignUpRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns user and company details along with a redirect URL.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalSignInResponse"
                },
                "examples": {
                  "success": {
                    "summary": "External sign-up response",
                    "value": {
                      "user": {
                        "id": "681297e9b510d96df0eb6406",
                        "email": "user@test.com",
                        "userType": null,
                        "name": "Test",
                        "payoutWallets": [
                          {
                            "id": "681297e9b510d96df0eb6412",
                            "publicKey": "DsUFWNpve7hVQdhWDAfUTGq78SpZZ3tVLdnJiRa54QBU",
                            "name": "Test Wallet"
                          }
                        ],
                        "discordUsername": "test-discord-username"
                      },
                      "company": {
                        "id": "681297e9b510d96df0eb6408",
                        "name": "Company",
                        "email": "company@test.com",
                        "websiteUrl": "https://test.com",
                        "discordUsername": "test-discord-username",
                        "phoneNumber": "+1234567890",
                        "kycVerified": true,
                        "address": "1 Market St, San Francisco, CA",
                        "kybVerified": true
                      },
                      "redirectUrl": "https://app.hel.io/auth/external-login?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4MTI5N2U5YjUxMGQ5NmRmMGViNjQwNiIsImlhdCI6MTc0NjA0OTAwMSwiZXhwIjoxNzQ2MDQ5MTIxfQ.C62U9M6g9OE3_f_XbhpU9PDtBigp7Do4mYtDnfileD4"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/auth/external/sign-in": {
      "post": {
        "operationId": "AuthController_externalSignIn",
        "summary": "Signing In to a Merchant Account",
        "description": "Sign in to an existing Helio merchant account using an external authentication method.",
        "tags": [
          "JWT Authentications"
        ],
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Contact the Helio team directly to obtain API keys."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SessionUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Returns user and company details along with a redirect URL.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalSignInResponse"
                },
                "examples": {
                  "success": {
                    "summary": "External sign-in response",
                    "value": {
                      "user": {
                        "id": "681297e9b510d96df0eb6406",
                        "email": "user@test.com",
                        "userType": null,
                        "name": "Test",
                        "payoutWallets": [
                          {
                            "id": "681297e9b510d96df0eb6412",
                            "publicKey": "DsUFWNpve7hVQdhWDAfUTGq78SpZZ3tVLdnJiRa54QBU",
                            "name": "Test Wallet"
                          }
                        ],
                        "discordUsername": "test-discord-username"
                      },
                      "company": {
                        "id": "681297e9b510d96df0eb6408",
                        "name": "Company",
                        "email": "company@test.com",
                        "websiteUrl": "https://test.com",
                        "discordUsername": "test-discord-username",
                        "phoneNumber": "+1234567890",
                        "kycVerified": true,
                        "address": "1 Market St, San Francisco, CA",
                        "kybVerified": true
                      },
                      "redirectUrl": "https://app.hel.io/auth/external-login?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY4MTI5N2U5YjUxMGQ5NmRmMGViNjQwNiIsImlhdCI6MTc0NjA0OTAwMSwiZXhwIjoxNzQ2MDQ5MTIxfQ.C62U9M6g9OE3_f_XbhpU9PDtBigp7Do4mYtDnfileD4"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/subscriptions/{id}": {
      "get": {
        "operationId": "SubscriptionController_getSubscriptionById",
        "summary": "Get a Subscription by ID",
        "description": "Retrieve the details of a specific subscription by its ID.",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "The ID of the specific subscription. You can retrieve this ID using the /v1/subscriptions endpoint.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "API key can be generated on helio dashboard settings page",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved subscription with transactions.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionWithTransactions"
                },
                "examples": {
                  "subscriptionsList": {
                    "summary": "Retrieved subscription",
                    "value": {
                      "id": "67a0d2ea18c700e1cda9f1b8",
                      "status": "ACTIVE",
                      "email": "test@hel.io",
                      "renewalDate": "2025-03-03T00:00:00.000Z",
                      "createdAt": "2025-02-03T14:30:02.287Z",
                      "transactions": [
                        {
                          "id": "67a0d2e318c700e1cda9f09d",
                          "paylinkId": "67a0d1ed18c700e1cda9ebf6",
                          "fee": "2000",
                          "quantity": 1,
                          "createdAt": "2025-02-03T14:29:55.911Z",
                          "paymentType": "PAYLINK",
                          "meta": {
                            "id": "67a0d2e318c700e1cda9f09b",
                            "amount": "98000",
                            "senderPK": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                            "recipientPK": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                            "transactionType": "PAYLINK",
                            "customerDetails": {
                              "email": "jesse@hel.io",
                              "discordUser": null
                            },
                            "productDetails": null,
                            "additionalProductDetails": [],
                            "transactionSignature": "5UtTTc2rph145g6YRCZv5no6dfQBAVfp3Rw4KvQXpBPJ1BBu2F8JJBd7uUGoxVN7GAjjKaDPMb3VynXj4FrUbRv2",
                            "transactionStatus": "SUCCESS",
                            "splitRevenue": false,
                            "remainingAccounts": [],
                            "totalAmount": "98000",
                            "totalAmountAsUSD": "98000",
                            "affiliateAmount": "0",
                            "tokenQuote": {
                              "from": "USDC",
                              "fromAmountDecimal": "0.1",
                              "to": "USDC",
                              "toAmountMinimal": "100000"
                            },
                            "shopifyPaymentDetails": null,
                            "submitGeolocation": "GB"
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Subscription"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/subscriptions": {
      "get": {
        "operationId": "SubscriptionController_getSubscriptions",
        "summary": "Get All Subscriptions",
        "description": "Fetch all subscriptions associated with your Helio account.",
        "parameters": [
          {
            "name": "email",
            "required": false,
            "in": "query",
            "description": "The email address used to set up the subscription.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "paylink",
            "required": false,
            "in": "query",
            "description": "The ID of the pay link associated with the subscription.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved subscription with transactions.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionWithTransactions"
                },
                "examples": {
                  "subscriptionsList": {
                    "summary": "Retrieved subscriptions",
                    "value": [
                      {
                        "id": "67a1e53e10905ce3927d6f1a",
                        "status": "EXPIRED",
                        "email": "test@hel.io",
                        "renewalDate": "2025-03-04T00:00:00.000Z",
                        "createdAt": "2025-02-04T10:00:30.259Z",
                        "transactions": [
                          {
                            "id": "67a1e53810905ce3927d6e46",
                            "paylinkId": "67a0d1ed18c700e1cda9ebf6",
                            "fee": "2000",
                            "quantity": 1,
                            "createdAt": "2025-02-04T10:00:24.839Z",
                            "paymentType": "PAYLINK",
                            "meta": {
                              "id": "67a1e53810905ce3927d6e44",
                              "amount": "98000",
                              "senderPK": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                              "recipientPK": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                              "transactionType": "PAYLINK",
                              "customerDetails": {
                                "email": "jkbaffourr@gmail.com",
                                "discordUser": null
                              },
                              "productDetails": null,
                              "additionalProductDetails": [],
                              "transactionSignature": "5QCkdQSeRd3sHs9etreVn1qR7RGcGrsQoHm6vw2ddSXYjSafrkSpPg3uCzv7D2eKg4toBPPyzyAxDUZDBPyGXBoD",
                              "transactionStatus": "SUCCESS",
                              "splitRevenue": false,
                              "remainingAccounts": [],
                              "totalAmount": "98000",
                              "affiliateAmount": "0",
                              "tokenQuote": {
                                "from": "USDC",
                                "fromAmountDecimal": "0.1",
                                "to": "USDC",
                                "toAmountMinimal": "100000"
                              },
                              "shopifyPaymentDetails": null,
                              "submitGeolocation": "GB"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Subscription"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/charge/api-key": {
      "post": {
        "operationId": "ChargeController_createChargeWithApiKey",
        "summary": "Create a Charge",
        "description": "Creates a one-time pay link (charge) that can be used to collect a single payment from a customer.",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateChargeByApiKeyDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Charge successfully created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargePageUrl"
                },
                "examples": {
                  "success": {
                    "summary": "Successful charge creation",
                    "value": {
                      "id": "68123806f923f09544c5c6a5",
                      "pageUrl": "https://app.hel.io/charge/2ac13665-9cfe-4466-b294-05069d57b0a2"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Charge"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/charge/api-key/{token}": {
      "get": {
        "operationId": "ChargeController_findOneByApiKey",
        "summary": "Get Charge Status",
        "description": "Retrieve a charge you created, authenticated with your API key and secret. Returns the same response as [Get a Charge by ID](/reference/charge/retrieve), so existing parsing does not change. Use this endpoint to poll charge status: it has its own rate limit instead of the shared public per-IP limit.\n\nIf the charge has been paid, transaction details appear under the `paylinkTx` field. If no transaction has occurred yet, the field is returned as `\"paylinkTx\": null`.\n\nRequires an API key with the `PAYLINK_READ` permission (or an admin key). Only charges created under your account are returned; any other token returns `401`.",
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "description": "The charge token (e.g. the segment at the end of `https://app.hel.io/charge/{token}`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key, which can be generated from the Helio Dashboard settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Charge successfully retrieved.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnrichedCharge"
                },
                "examples": {
                  "success": {
                    "summary": "Full charge response",
                    "value": {
                      "id": "681389bfba5dc7557c9608ec",
                      "currencySymbol": "USDC",
                      "requestAmount": "1000000",
                      "usdcAmount": "1000000",
                      "token": "28936112-bcf1-4240-a851-85fb087c282a",
                      "prepareRequestBody": {
                        "currency": "USDC",
                        "amount": "1000000",
                        "quantity": 1
                      },
                      "expiresAt": "2025-09-03T09:52:41.000Z",
                      "paylink": {
                        "id": "6813481776c142eb631c14fa",
                        "platform": "HELIO",
                        "template": "LEGACY",
                        "disabled": false,
                        "inactive": false,
                        "notifySenderByEmail": false,
                        "notifyReceiverByEmail": false,
                        "addDiscordRole": false,
                        "addTelegramGroup": false,
                        "features": {
                          "canChangeQuantity": false,
                          "canChangePrice": false,
                          "requireQuantityLimits": false,
                          "requireCountry": false,
                          "requireEmail": false,
                          "requireDeliveryAddress": false,
                          "requireDiscordUsername": false,
                          "requireDiscordLogin": false,
                          "requireFullName": false,
                          "requirePhoneNumber": false,
                          "requireTwitterUsername": false,
                          "requireTelegramUsername": false,
                          "requireProductDetails": false,
                          "requireMaxTransactions": false,
                          "requireNftGate": false,
                          "requireDiscordAuth": false,
                          "requireAccessCode": false,
                          "requireXFollow": false,
                          "requireRaffle": false,
                          "splitRevenue": false,
                          "splitEqually": false,
                          "canSwapTokens": false,
                          "canPayWithCard": true,
                          "nftDropEnabled": false,
                          "showDiscountCode": false,
                          "isEscrowed": false,
                          "requireAllowlist": false,
                          "allowAffiliate": false,
                          "isEventEnabled": false,
                          "enableCountdown": false,
                          "requireCaptchaValidation": false,
                          "shouldRedirectOnSuccess": false,
                          "customThemeEnabled": false,
                          "isSubscription": false,
                          "hasRedirectQueryParams": false
                        },
                        "name": "Your paylink name here",
                        "discordAuthDetails": [],
                        "dynamic": false,
                        "affiliateDetails": null,
                        "price": "1000000",
                        "normalizedPrice": "1000000",
                        "redirectQueryParams": [],
                        "createdAt": "2025-05-01T10:08:23.829Z",
                        "updatedAt": "2025-05-01T10:13:53.682Z",
                        "creator": {
                          "id": "667c1f9352919e407156128a",
                          "userType": "MERCHANT",
                          "isDisabled": false,
                          "kycVerified": false,
                          "platformDetails": {
                            "platform": "HELIO"
                          },
                          "roles": [],
                          "wallets": [],
                          "payoutWallets": []
                        },
                        "company": {
                          "id": "667c1f9352919e407156128c",
                          "name": "Helio",
                          "websiteUrl": "",
                          "discordUsername": "",
                          "escrowFunds": false,
                          "twitterConfirmed": false,
                          "kycVerified": false,
                          "kybVerified": false,
                          "logoUrl": "https://helioimages113109-prod.s3.eu-west-1.amazonaws.com/attachments/l6uYjlJX5WGhnJZE2MBbYDEP0UFFonPObmVL1LJo.png?AWSAccessKeyId=AKIAZIDE2VZR6C743GDI&Expires=1746111914&Signature=g23tB1gz15LKEskaJ0rjLmS7j8s%3D"
                        },
                        "currency": {
                          "id": "6340313846e4f91b8abc519b",
                          "name": "USD Coin",
                          "decimals": 6,
                          "order": 1,
                          "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                          "coinMarketCapId": 3408,
                          "symbol": "USDC",
                          "symbolPrefix": "$",
                          "type": "DIGITAL",
                          "iconUrl": "USDC.svg",
                          "features": [
                            "PAYMENT_PRICING",
                            "PAYMENT_RECIPIENT",
                            "SWAP"
                          ],
                          "blockchain": {
                            "id": "6340313846e4f91b8abc515c",
                            "name": "SOL",
                            "symbol": "SOL",
                            "engine": {
                              "id": "63b6b1200cfb4b3f6131f2b4",
                              "type": "SOL"
                            }
                          }
                        },
                        "wallet": {
                          "id": "667c1f9352919e4071561294",
                          "name": "",
                          "publicKey": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "btcProperties": null,
                          "type": "EXTENSION",
                          "blockchainEngine": {
                            "id": "63b6b1200cfb4b3f6131f2b4",
                            "type": "SOL"
                          }
                        },
                        "recipients": [
                          {
                            "currency": {
                              "id": "6340313846e4f91b8abc519b",
                              "name": "USD Coin",
                              "decimals": 6,
                              "order": 1,
                              "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                              "coinMarketCapId": 3408,
                              "symbol": "USDC",
                              "symbolPrefix": "$",
                              "type": "DIGITAL",
                              "iconUrl": "USDC.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "SWAP"
                              ],
                              "blockchain": {
                                "id": "6340313846e4f91b8abc515c",
                                "name": "SOL",
                                "symbol": "SOL",
                                "engine": {
                                  "id": "63b6b1200cfb4b3f6131f2b4",
                                  "type": "SOL"
                                }
                              }
                            },
                            "wallet": {
                              "id": "667c1f9352919e4071561294",
                              "name": "",
                              "publicKey": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                              "btcProperties": null,
                              "type": "EXTENSION",
                              "blockchainEngine": {
                                "id": "63b6b1200cfb4b3f6131f2b4",
                                "type": "SOL"
                              }
                            }
                          }
                        ],
                        "product": null,
                        "additionalImageUrls": [],
                        "discountCodes": [],
                        "pricingCurrency": {
                          "id": "6340313846e4f91b8abc519b",
                          "name": "USD Coin",
                          "decimals": 6,
                          "order": 1,
                          "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                          "coinMarketCapId": 3408,
                          "symbol": "USDC",
                          "symbolPrefix": "$",
                          "type": "DIGITAL",
                          "iconUrl": "USDC.svg",
                          "features": [
                            "PAYMENT_PRICING",
                            "PAYMENT_RECIPIENT",
                            "SWAP"
                          ],
                          "blockchain": {
                            "id": "6340313846e4f91b8abc515c",
                            "name": "SOL",
                            "symbol": "SOL",
                            "engine": {
                              "id": "63b6b1200cfb4b3f6131f2b4",
                              "type": "SOL"
                            }
                          }
                        }
                      },
                      "paylinkTx": {
                        "id": "681389c0ba5dc7557c960901",
                        "paylinkId": "6813481776c142eb631c14fa",
                        "quantity": 1,
                        "createdAt": "2025-09-03T09:22:56.000Z",
                        "fee": "0",
                        "paymentType": "PAYLINK",
                        "claimDetails": {
                          "tradingView": null,
                          "discord": null
                        },
                        "meta": {
                          "id": "681389c0ba5dc7557c960902",
                          "amount": "1000000",
                          "totalAmount": "1000000",
                          "transactionSignature": "3xF7k2pVmRjKdQyN8mWcTa5bZE9vHpL4nR6sGtU1wXoA7cY2fD8eJ4gH5iK9lM0nO1pQ3rS6tU",
                          "recipientPK": "BZx1GkP3tVmRjKdQyN8mWcTa5bZE9vHpL4nR6sGtU1wX",
                          "senderPK": "7Xy2hN9kL3mP5qR8sT1vW4xZ6bC0dF3gJ7iK2lM4nO",
                          "splitRevenue": false,
                          "remainingAccounts": [],
                          "transactionStatus": "SUCCESS",
                          "transactionType": "PAYLINK",
                          "currency": {
                            "id": "6340313846e4f91b8abc5183",
                            "name": "USD Coin",
                            "symbol": "USDC",
                            "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                            "coinMarketCapId": 3408,
                            "decimals": 6,
                            "order": 1,
                            "type": "DIGITAL",
                            "blockchain": {
                              "id": "6340313846e4f91b8abc515c",
                              "name": "SOL",
                              "symbol": "SOL",
                              "engine": {
                                "id": "63b6b1200cfb4b3f6131f2b4",
                                "type": "SOL"
                              }
                            }
                          }
                        }
                      },
                      "pricingCurrencyRequestAmount": "1000000",
                      "isSubscriptionRenewal": false,
                      "redirectUrl": "https://example.com/success",
                      "shopifyPaymentDetails": null
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Invalid API key or secret, or the charge does not belong to your account.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  },
                  "notAllowed": {
                    "summary": "Charge not owned by your account",
                    "value": {
                      "message": "Not allowed to read charge",
                      "code": 401
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "The API key does not have the `PAYLINK_READ` permission.",
            "content": {
              "application/json": {
                "examples": {
                  "forbidden": {
                    "summary": "Missing permission",
                    "value": {
                      "message": "API key is not authorized for this resource",
                      "code": 403
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limit exceeded. Back off and retry after a few seconds.",
            "content": {
              "application/json": {
                "examples": {
                  "rateLimited": {
                    "summary": "Too many requests",
                    "value": {
                      "message": "ThrottlerException: Too Many Requests",
                      "code": 429,
                      "errorType": "RATE_LIMITED"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Charge"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/charge/api-key/{token}/expire": {
      "post": {
        "operationId": "ChargeController_expireByApiKey",
        "summary": "Expire a Charge",
        "description": "Merchants can programmatically expire an unpaid charge via the API. This is useful when you want to cancel a pending checkout session—for example, the order was cancelled, the customer abandoned the session, or you want to invalidate the payment link.\n\nThe charge must not have a successful or pending transaction. The `token` path parameter is the charge token—the same value as in the charge URL path and the `token` field on the charge object.",
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "description": "The charge token (e.g. the segment at the end of `https://app.hel.io/charge/{token}`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key, which can be generated from the Helio Dashboard settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "The charge was expired successfully. No response body."
          },
          "400": {
            "description": "The charge cannot be expired because it has a successful or pending transaction.",
            "content": {
              "application/json": {
                "examples": {
                  "badRequest": {
                    "summary": "Charge has active transaction",
                    "value": {
                      "message": "Cannot expire a charge that has a successful or pending transaction",
                      "statusCode": 400
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Invalid API key, or the API key is not allowed to expire this charge.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  },
                  "notAllowed": {
                    "summary": "Not allowed to expire this charge",
                    "value": {
                      "message": "Not allowed to expire charge",
                      "statusCode": 401
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No charge exists for the given token.",
            "content": {
              "application/json": {
                "examples": {
                  "notFound": {
                    "summary": "Charge not found",
                    "value": {
                      "message": "Charge not found for token \"00000000-0000-0000-0000-000000000000\"",
                      "statusCode": 404
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Charge"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/charge/{chargeId}": {
      "get": {
        "operationId": "ChargeController_findOne",
        "summary": "Get a Charge by ID",
        "description": "Retrieve a one-time charge using its unique identifier, `chargeId` (e.g., 28936112-bcf1-4240-a851-85fb087c282a). This ID can be found at the end of the URL when the charge is created.\nIf the charge has been paid, transaction details will appear under the `paylinkTx` field in the response. If no transaction has occurred yet, the field will be returned as `\"paylinkTx\": null`.\n\nThis endpoint is public and needs no API key. It is rate limited to **150 requests per minute per source IP**, shared across all public API traffic from that IP. To poll the status of charges you created, use [Get Charge Status](/reference/charge/retrieve-by-api-key) instead.",
        "parameters": [
          {
            "name": "chargeId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the charge to retrieve.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Charge successfully retrieved.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnrichedCharge"
                },
                "examples": {
                  "success": {
                    "summary": "Full charge response",
                    "value": {
                      "id": "681389bfba5dc7557c9608ec",
                      "currencySymbol": "USDC",
                      "requestAmount": "1000000",
                      "usdcAmount": "1000000",
                      "token": "28936112-bcf1-4240-a851-85fb087c282a",
                      "prepareRequestBody": {
                        "currency": "USDC",
                        "amount": "1000000",
                        "quantity": 1
                      },
                      "expiresAt": "2025-09-03T09:52:41.000Z",
                      "paylink": {
                        "id": "6813481776c142eb631c14fa",
                        "platform": "HELIO",
                        "template": "LEGACY",
                        "disabled": false,
                        "inactive": false,
                        "notifySenderByEmail": false,
                        "notifyReceiverByEmail": false,
                        "addDiscordRole": false,
                        "addTelegramGroup": false,
                        "features": {
                          "canChangeQuantity": false,
                          "canChangePrice": false,
                          "requireQuantityLimits": false,
                          "requireCountry": false,
                          "requireEmail": false,
                          "requireDeliveryAddress": false,
                          "requireDiscordUsername": false,
                          "requireDiscordLogin": false,
                          "requireFullName": false,
                          "requirePhoneNumber": false,
                          "requireTwitterUsername": false,
                          "requireTelegramUsername": false,
                          "requireProductDetails": false,
                          "requireMaxTransactions": false,
                          "requireNftGate": false,
                          "requireDiscordAuth": false,
                          "requireAccessCode": false,
                          "requireXFollow": false,
                          "requireRaffle": false,
                          "splitRevenue": false,
                          "splitEqually": false,
                          "canSwapTokens": false,
                          "canPayWithCard": true,
                          "nftDropEnabled": false,
                          "showDiscountCode": false,
                          "isEscrowed": false,
                          "requireAllowlist": false,
                          "allowAffiliate": false,
                          "isEventEnabled": false,
                          "enableCountdown": false,
                          "requireCaptchaValidation": false,
                          "shouldRedirectOnSuccess": false,
                          "customThemeEnabled": false,
                          "isSubscription": false,
                          "hasRedirectQueryParams": false
                        },
                        "name": "Your paylink name here",
                        "discordAuthDetails": [],
                        "dynamic": false,
                        "affiliateDetails": null,
                        "price": "1000000",
                        "normalizedPrice": "1000000",
                        "redirectQueryParams": [],
                        "createdAt": "2025-05-01T10:08:23.829Z",
                        "updatedAt": "2025-05-01T10:13:53.682Z",
                        "creator": {
                          "id": "667c1f9352919e407156128a",
                          "userType": "MERCHANT",
                          "isDisabled": false,
                          "kycVerified": false,
                          "platformDetails": {
                            "platform": "HELIO"
                          },
                          "roles": [],
                          "wallets": [],
                          "payoutWallets": []
                        },
                        "company": {
                          "id": "667c1f9352919e407156128c",
                          "name": "Helio",
                          "websiteUrl": "",
                          "discordUsername": "",
                          "escrowFunds": false,
                          "twitterConfirmed": false,
                          "kycVerified": false,
                          "kybVerified": false,
                          "logoUrl": "https://helioimages113109-prod.s3.eu-west-1.amazonaws.com/attachments/l6uYjlJX5WGhnJZE2MBbYDEP0UFFonPObmVL1LJo.png?AWSAccessKeyId=AKIAZIDE2VZR6C743GDI&Expires=1746111914&Signature=g23tB1gz15LKEskaJ0rjLmS7j8s%3D"
                        },
                        "currency": {
                          "id": "6340313846e4f91b8abc519b",
                          "name": "USD Coin",
                          "decimals": 6,
                          "order": 1,
                          "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                          "coinMarketCapId": 3408,
                          "symbol": "USDC",
                          "symbolPrefix": "$",
                          "type": "DIGITAL",
                          "iconUrl": "USDC.svg",
                          "features": [
                            "PAYMENT_PRICING",
                            "PAYMENT_RECIPIENT",
                            "SWAP"
                          ],
                          "blockchain": {
                            "id": "6340313846e4f91b8abc515c",
                            "name": "SOL",
                            "symbol": "SOL",
                            "engine": {
                              "id": "63b6b1200cfb4b3f6131f2b4",
                              "type": "SOL"
                            }
                          }
                        },
                        "wallet": {
                          "id": "667c1f9352919e4071561294",
                          "name": "",
                          "publicKey": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "btcProperties": null,
                          "type": "EXTENSION",
                          "blockchainEngine": {
                            "id": "63b6b1200cfb4b3f6131f2b4",
                            "type": "SOL"
                          }
                        },
                        "recipients": [
                          {
                            "currency": {
                              "id": "6340313846e4f91b8abc519b",
                              "name": "USD Coin",
                              "decimals": 6,
                              "order": 1,
                              "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                              "coinMarketCapId": 3408,
                              "symbol": "USDC",
                              "symbolPrefix": "$",
                              "type": "DIGITAL",
                              "iconUrl": "USDC.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "SWAP"
                              ],
                              "blockchain": {
                                "id": "6340313846e4f91b8abc515c",
                                "name": "SOL",
                                "symbol": "SOL",
                                "engine": {
                                  "id": "63b6b1200cfb4b3f6131f2b4",
                                  "type": "SOL"
                                }
                              }
                            },
                            "wallet": {
                              "id": "667c1f9352919e4071561294",
                              "name": "",
                              "publicKey": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                              "btcProperties": null,
                              "type": "EXTENSION",
                              "blockchainEngine": {
                                "id": "63b6b1200cfb4b3f6131f2b4",
                                "type": "SOL"
                              }
                            }
                          }
                        ],
                        "product": null,
                        "additionalImageUrls": [],
                        "discountCodes": [],
                        "pricingCurrency": {
                          "id": "6340313846e4f91b8abc519b",
                          "name": "USD Coin",
                          "decimals": 6,
                          "order": 1,
                          "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                          "coinMarketCapId": 3408,
                          "symbol": "USDC",
                          "symbolPrefix": "$",
                          "type": "DIGITAL",
                          "iconUrl": "USDC.svg",
                          "features": [
                            "PAYMENT_PRICING",
                            "PAYMENT_RECIPIENT",
                            "SWAP"
                          ],
                          "blockchain": {
                            "id": "6340313846e4f91b8abc515c",
                            "name": "SOL",
                            "symbol": "SOL",
                            "engine": {
                              "id": "63b6b1200cfb4b3f6131f2b4",
                              "type": "SOL"
                            }
                          }
                        }
                      },
                      "paylinkTx": {
                        "id": "681389c0ba5dc7557c960901",
                        "paylinkId": "6813481776c142eb631c14fa",
                        "quantity": 1,
                        "createdAt": "2025-09-03T09:22:56.000Z",
                        "fee": "0",
                        "paymentType": "PAYLINK",
                        "claimDetails": {
                          "tradingView": null,
                          "discord": null
                        },
                        "meta": {
                          "id": "681389c0ba5dc7557c960902",
                          "amount": "1000000",
                          "totalAmount": "1000000",
                          "transactionSignature": "3xF7k2pVmRjKdQyN8mWcTa5bZE9vHpL4nR6sGtU1wXoA7cY2fD8eJ4gH5iK9lM0nO1pQ3rS6tU",
                          "recipientPK": "BZx1GkP3tVmRjKdQyN8mWcTa5bZE9vHpL4nR6sGtU1wX",
                          "senderPK": "7Xy2hN9kL3mP5qR8sT1vW4xZ6bC0dF3gJ7iK2lM4nO",
                          "splitRevenue": false,
                          "remainingAccounts": [],
                          "transactionStatus": "SUCCESS",
                          "transactionType": "PAYLINK",
                          "currency": {
                            "id": "6340313846e4f91b8abc5183",
                            "name": "USD Coin",
                            "symbol": "USDC",
                            "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                            "coinMarketCapId": 3408,
                            "decimals": 6,
                            "order": 1,
                            "type": "DIGITAL",
                            "blockchain": {
                              "id": "6340313846e4f91b8abc515c",
                              "name": "SOL",
                              "symbol": "SOL",
                              "engine": {
                                "id": "63b6b1200cfb4b3f6131f2b4",
                                "type": "SOL"
                              }
                            }
                          }
                        }
                      },
                      "pricingCurrencyRequestAmount": "1000000",
                      "isSubscriptionRenewal": false,
                      "redirectUrl": "https://example.com/success",
                      "shopifyPaymentDetails": null
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "No charge exists for the given ID."
          },
          "429": {
            "description": "Rate limit exceeded. Back off and retry after a few seconds.",
            "content": {
              "application/json": {
                "examples": {
                  "rateLimited": {
                    "summary": "Too many requests",
                    "value": {
                      "message": "ThrottlerException: Too Many Requests",
                      "code": 429,
                      "errorType": "RATE_LIMITED"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Charge"
        ],
        "security": []
      }
    },
    "/v1/webhook/paylink/api-key": {
      "post": {
        "operationId": "PaylinkTransactionHookController_createWebHook",
        "summary": "Create a Webhook",
        "description": "Create a global or pay link webhook using this endpoint. To create a global webhook, do not specify a paylinkId.",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWebHookDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Webhook created successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaylinkTransactionHookEntity"
                },
                "examples": {
                  "webhookCreationResponse": {
                    "summary": "Webhook creation response",
                    "value": {
                      "id": "1234567890abcdef12345678",
                      "name": "Example Webhook",
                      "targetUrl": "https://example.com/webhook",
                      "inactive": false,
                      "createdAt": "2025-06-25T00:00:00.000Z",
                      "paylink": "abcdef1234567890abcdef12",
                      "isGlobal": true,
                      "sharedToken": "dummySharedToken1234567890+/exampletoken=="
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/webhook/paylink/transaction": {
      "post": {
        "operationId": "PaylinkTransactionHookController_createTransactionHook",
        "summary": "Create a Pay Link Webhook",
        "description": "Create a webhook to listen for transaction events on a specific pay link.",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePaylinkTransactionHookDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Webhook created successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaylinkTransactionHookEntity"
                },
                "examples": {
                  "webhookCreationResponse": {
                    "summary": "Webhook creation response",
                    "value": {
                      "id": "6812aec64b14347beb071599",
                      "creator": "undefined",
                      "paylink": "67e548619967b38ac797d6ce",
                      "company": "667c1f9352919e407156128c",
                      "targetUrl": "https://webhook.site/68644b4f-f63c-4815-9b25-51487efbf13a",
                      "events": [
                        "CREATED"
                      ],
                      "sharedToken": "vF5C1KZKiGE44mJ2NOYPPeGewkNfWE3JWSaa1EYAsh1tltpPE9BUtg+0GG8YMzLw3GTLIwsOWMajaHUO7bfLQ/hP9lg4q9Zo6Lv4zDqN8eUH5bBil2O6KFv6bdW+dXFv"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      },
      "get": {
        "operationId": "PaylinkTransactionHookController_getTransactionHooks",
        "summary": "Get Webhooks for a Pay Link",
        "description": "Retrieve all webhooks configured for a Pay Link.",
        "parameters": [
          {
            "name": "paylinkId",
            "required": true,
            "in": "query",
            "description": "The ID of the pay link for which you want to retrieve associated webhooks.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved webhook(s).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaylinkTransactionHookEntity"
                  }
                },
                "examples": {
                  "retrievedWebhookDetails": {
                    "summary": "Retrieved webhook details",
                    "value": [
                      {
                        "id": "6812a2fb76c142eb631af95c",
                        "creator": "undefined",
                        "paylink": "67e548619967b38ac797d6ce",
                        "company": "667c1f9352919e407156128c",
                        "targetUrl": "https://webhook.site/68644b4f-f63c-4815-9b25-51487efbf13a",
                        "events": [
                          "CREATED"
                        ],
                        "sharedToken": "ZFMUzr0wYUSv3rJjYPTSqMVIChFDDRZW9RE3Ls89fZthKJshHTLrjZu6TWsFmg07ERytvFjz2+r0cKfWYkb4LENckjDdfRRIYRxL2NHUDDZPt/WtMnxnxaj+b1VknGZk"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/webhook/paylink/transaction/{webhookId}": {
      "get": {
        "operationId": "PaylinkTransactionHookController_getTransactionHookById",
        "summary": "Get a Pay Link Webhook by ID",
        "description": "Fetch the details of a specific pay link webhook by its ID.",
        "parameters": [
          {
            "name": "webhookId",
            "required": true,
            "in": "path",
            "description": "The unique identifier of the webhook you want to retrieve.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved webhook(s).",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaylinkTransactionHookEntity"
                  }
                },
                "examples": {
                  "retrievedWebhookDetails": {
                    "summary": "Retrieved webhook details",
                    "value": [
                      {
                        "id": "6812a2fb76c142eb631af95c",
                        "creator": "undefined",
                        "paylink": "67e548619967b38ac797d6ce",
                        "company": "667c1f9352919e407156128c",
                        "targetUrl": "https://webhook.site/68644b4f-f63c-4815-9b25-51487efbf13a",
                        "events": [
                          "CREATED"
                        ],
                        "sharedToken": "ZFMUzr0wYUSv3rJjYPTSqMVIChFDDRZW9RE3Ls89fZthKJshHTLrjZu6TWsFmg07ERytvFjz2+r0cKfWYkb4LENckjDdfRRIYRxL2NHUDDZPt/WtMnxnxaj+b1VknGZk"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      },
      "delete": {
        "operationId": "PaylinkTransactionHookController_deleteByid",
        "summary": "Delete a Pay Link Webhook",
        "description": "Delete a Pay Link webhook by its ID to stop receiving transaction events.",
        "parameters": [
          {
            "name": "webhookId",
            "required": true,
            "in": "path",
            "description": "The unique identifier of the webhook you want to delete.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Webhook deleted successfully.",
            "content": {
              "application/json": {
                "examples": {
                  "deleted": {
                    "summary": "Response on successful deletion",
                    "value": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/webhook/paylink/subscription": {
      "post": {
        "operationId": "PaylinkSubscriptionHookController_createSubscriptionHook",
        "summary": "Create a Subscription Webhook",
        "description": "Create a webhook to listen for transaction events on a subscription pay link.",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePaylinkSubscriptionHookDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Webhook creation response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaylinkSubscriptionHookEntity"
                  }
                },
                "examples": {
                  "webhookCreationResponse": {
                    "summary": "Webhook creation response",
                    "value": [
                      {
                        "id": "679cb0a5eafd565eeab89605",
                        "paylink": "679bb9db7f3c16eb86bb1c67",
                        "company": "6683f4efc330474ede1f25aa",
                        "targetUrl": "https://target-url.com/post-endpoint",
                        "events": [
                          "STARTED",
                          "RENEWED",
                          "ENDED"
                        ],
                        "sharedToken": "ZtiSEjZsTNoczv8kvDgtSx5+YO017NOlM/mrqEMj2nnHXi+UfmCQvuqvZlI0eH3JJWrW1D3UDWM+GgK9sVfR0NNPIMwWNV+jcFehjDIMlVq05Ahf2/5tUT/W7qqiHWZy"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      },
      "get": {
        "operationId": "PaylinkSubscriptionHookController_getSubscriptionHooks",
        "summary": "Get Webhooks for a Subscription",
        "description": "Retrieve all webhooks configured on a subscription Pay Link.",
        "parameters": [
          {
            "name": "paylinkId",
            "required": true,
            "in": "query",
            "description": "The ID of the pay link used to retrieve associated subscription webhooks.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Retrieved webhook details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaylinkSubscriptionHookEntity"
                },
                "examples": {
                  "webhookCreationResponse": {
                    "summary": "Retrieved webhook details",
                    "value": {
                      "id": "679cb0a5eafd565eeab89605",
                      "paylink": "679bb9db7f3c16eb86bb1c67",
                      "company": "6683f4efc330474ede1f25aa",
                      "targetUrl": "https://target-url.com/post-endpoint",
                      "events": [
                        "STARTED",
                        "RENEWED",
                        "ENDED"
                      ],
                      "sharedToken": "ZtiSEjZsTNoczv8kvDgtSx5+YO017NOlM/mrqEMj2nnHXi+UfmCQvuqvZlI0eH3JJWrW1D3UDWM+GgK9sVfR0NNPIMwWNV+jcFehjDIMlVq05Ahf2/5tUT/W7qqiHWZy"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/webhook/paylink/subscription/{webhookId}": {
      "get": {
        "operationId": "PaylinkSubscriptionHookController_getSubscriptionHookById",
        "summary": "Get a Subscription Webhook by ID",
        "description": "Fetch the details of a specific subscription webhook by its ID.",
        "parameters": [
          {
            "name": "webhookId",
            "required": true,
            "in": "path",
            "description": "The unique ID of the subscription webhook you want to retrieve.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved webhook details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaylinkSubscriptionHookEntity"
                },
                "examples": {
                  "retrieved": {
                    "summary": "Retrieved webhook details"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      },
      "delete": {
        "operationId": "PaylinkSubscriptionHookController_deleteByid",
        "summary": "Delete a Subscription Webhook",
        "description": "Delete a subscription webhook by its ID to stop receiving subscription-related events.",
        "parameters": [
          {
            "name": "webhookId",
            "required": true,
            "in": "path",
            "description": "The unique ID of the subscription webhook you want to retrieve.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Webhook deleted successfully.",
            "content": {
              "application/json": {
                "examples": {
                  "deleted": {
                    "summary": "Response on successful deletion",
                    "value": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/webhook/deposit/api-key": {
      "post": {
        "operationId": "DepositHookController_createDepositHook",
        "summary": "Create a Deposit Webhook",
        "description": "Create a webhook for a deposit.",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDepositHookDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Webhook creation response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaylinkSubscriptionHookEntity"
                  }
                },
                "examples": {
                  "webhookCreationResponse": {
                    "summary": "Webhook creation response",
                    "value": [
                      {
                        "id": "68f65b3f8eda28e9761b84d9",
                        "name": "deposithooktest",
                        "targetUrl": "https://webhook-test-url/f5f34313-c07a-4473-a46f-3a9feb8aea1a",
                        "inactive": false,
                        "createdAt": "2025-10-20T15:54:39.374Z",
                        "deposit": "68f65b2b03d7f2b2a12ca41e",
                        "isGlobal": false,
                        "sharedToken": "ZtiSEjZsTNoczv8kvDgtSx5+YO017NOlM/mrqEMj2nnHXi+UfmCQvuqvZlI0eH3JJWrW1D3UDWM+GgK9sVfR0NNPIMwWNV+jcFehjDIMlVq05Ahf2/5tUT/W7qqiHWZy"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/export/payments": {
      "get": {
        "operationId": "ExportController_getExportedPayments",
        "summary": "Export All Transactions From Your Account",
        "description": "Get all transactions for your account, filtered by Pay Link ID, sender public key, or date range.",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Your API key can be generated on the Helio Dashboard’s settings page."
          },
          {
            "name": "nrDays",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Return results from the past n days, where the most recent day is 1."
          },
          {
            "name": "publicKey",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by sender public key."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with exported payments.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExportedPayment"
                  }
                },
                "examples": {
                  "exportedPaymentsList": {
                    "summary": "Successful response with exported payments",
                    "value": [
                      {
                        "id": "68129f9cc81cc9397e012b3a",
                        "txSignature": "2xRE1Yhfq8SPxom2U2EyFxVB27uPKVFUYWUoaZCz58VDm4VMcNf8Ko2wn4FQeLibCrW2DAwVZEyXgNx9iAM4BEAr",
                        "solScanLink": "https://solscan.io/tx/2xRE1Yhfq8SPxom2U2EyFxVB27uPKVFUYWUoaZCz58VDm4VMcNf8Ko2wn4FQeLibCrW2DAwVZEyXgNx9iAM4BEAr?cluster=mainnet",
                        "time": "2025-04-30T22:09:32.978Z",
                        "amount": "99",
                        "decimalAmount": "0.000099",
                        "totalAmountAsUSD": "99",
                        "convertedAmount": 9.9e-05,
                        "currency": "USDC",
                        "blockchain": "SOL",
                        "from": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                        "intervalUnit": null,
                        "transactionStatus": "SUCCESS",
                        "fee": 1,
                        "grossAmount": "4000000",
                        "quantity": 1,
                        "paymentRequestId": "681237aa704dab3e022bb9ed",
                        "paymentRequestName": "Paylink",
                        "paymentRequestUrl": "https://app.hel.io/pay/681237aa704dab3e022bb9ed",
                        "paymentRequestUrlWithSlug": null,
                        "cancelAt": null,
                        "startAt": null,
                        "endAt": null,
                        "transactionType": "PAYLINK",
                        "affiliateFee": "0"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Exports"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/export/withdrawals": {
      "get": {
        "operationId": "ExportsController_getWithdrawalReportWithApiKey",
        "summary": "Export Withdrawal Transactions",
        "description": "Exports all matching withdrawal transactions for your account (no pagination cap). Requires an API key with the `WITHDRAWS_READ` permission. Use `startDate` and `endDate` to filter by date range.",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Your API key, which can be generated from the Helio Dashboard settings page."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "Page number (1-based)."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "default": 20,
              "maximum": 100
            },
            "description": "Page size. Defaults to 20, maximum 100."
          },
          {
            "name": "lastItemId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Cursor for pagination. Returns items with `_id` less than this value."
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Search by withdrawal detail ID, destination wallet (prefix), source token, or destination token."
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "createdAt"
            },
            "description": "Sort field. Defaults to `createdAt`."
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "desc"
            },
            "description": "Sort order. Defaults to `desc`."
          },
          {
            "name": "startDate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "ISO 8601 start of `createdAt` range (inclusive)."
          },
          {
            "name": "endDate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "ISO 8601 end of `createdAt` range (inclusive)."
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/WithdrawalState"
              }
            },
            "description": "Filter by one or more withdrawal states.",
            "style": "form",
            "explode": true
          },
          {
            "name": "sourceChain",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by source chain symbol (e.g. `SOL`, `ETH`)."
          },
          {
            "name": "destinationChain",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by destination chain symbol."
          },
          {
            "name": "withdrawalConfigId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by withdrawal config ID."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with exported withdrawals.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExportedWithdrawal"
                  }
                },
                "examples": {
                  "exportedWithdrawalsList": {
                    "summary": "Successful export response",
                    "value": [
                      {
                        "id": "68129f9cc81cc9397e012b3a",
                        "state": "COMPLETED",
                        "time": "2025-04-30T22:09:32.978Z",
                        "sourceChain": "SOL",
                        "sourceToken": "USDC",
                        "sourceAmount": "1000000",
                        "destinationChain": "ETH",
                        "destinationToken": "USDC",
                        "destinationAmount": "990000",
                        "destinationWalletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0",
                        "sourceTxHash": "5xRE1Yhfq8SPxom2U2EyFxVB27uPKVFUYWUoaZCz58VD",
                        "sourceTxExplorerLink": "https://solscan.io/tx/5xRE1Yhfq8SPxom2U2EyFxVB27uPKVFUYWUoaZCz58VD",
                        "destinationTxHash": "0xabc123...",
                        "destinationTxExplorerLink": "https://etherscan.io/tx/0xabc123...",
                        "platformFee": "1000",
                        "affiliateFee": "0",
                        "decentBridgeFee": "5000",
                        "networkGasSource": "5000",
                        "networkGasDestination": "21000",
                        "transactionType": "WITHDRAWAL"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Exports"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/transaction/headless/prepare": {
      "post": {
        "operationId": "HeadlessController_prepareTransaction",
        "summary": "Prepare a Headless Payment",
        "description": "Prepares a Solana headless transaction. Returns a payload that the payer can sign and submit.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PrepareHeadlessTransaction"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The transaction was prepared successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PrepareHeadlessTransaction"
                  }
                },
                "examples": {
                  "exportedPaymentsList": {
                    "summary": "Example of a successful prepare transaction response",
                    "value": {
                      "transactionToken": "string",
                      "transactionMessage": "string",
                      "serializedTransaction": "string",
                      "addressLookupTableAccounts": [
                        "string"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Headless Transactions"
        ]
      }
    },
    "/v1/transaction/headless/submit": {
      "post": {
        "operationId": "HeadlessController_submitTransaction",
        "summary": "Submit a Headless Payment",
        "description": "Submits a Solana headless transaction.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitHeadlessTransaction"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The transaction was submitted successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SubmitHeadlessTransaction"
                  }
                },
                "examples": {
                  "exportedPaymentsList": {
                    "summary": "Example of a successful submit transaction response",
                    "value": {
                      "transactionSignature": "string",
                      "status": "string",
                      "content": "array"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Headless Transactions"
        ]
      }
    },
    "/v1/deposits/create/api-key": {
      "post": {
        "operationId": "DepositController_createDeposit",
        "summary": "Create a Deposit",
        "description": "Creates a new deposit. A deposit can be configured with optional payment methods (card payments, wallet connect, manual transfer) and notification settings. The request must include exactly one currencyId in the currencyIds array. ",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key, which can be generated from the Helio Dashboard settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDeposit"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Deposit created successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DepositResponse"
                },
                "examples": {
                  "createdDepositResponse": {
                    "summary": "Example create deposit response",
                    "value": {
                      "id": "string",
                      "name": "string",
                      "description": "string",
                      "paylinkId": "string",
                      "platform": "HELIO",
                      "notifyReceiverByEmail": true,
                      "disabled": false,
                      "disabledBlockchainSymbols": [
                        "SOL",
                        "ETH"
                      ],
                      "connectWalletOptions": {
                        "isActive": true,
                        "title": "string",
                        "badge": "string",
                        "order": 1
                      },
                      "transferManuallyOptions": {
                        "isActive": true,
                        "title": "string",
                        "badge": "string",
                        "order": 2
                      },
                      "payWithCardOptions": {
                        "isActive": true,
                        "title": "string",
                        "badge": "string",
                        "order": 3,
                        "hasWhiteListDomain": false
                      },
                      "connectExchangeOptions": {
                        "isActive": true,
                        "title": "string",
                        "badge": "string",
                        "order": 4
                      },
                      "minSweepAmountUsd": 3,
                      "createdAt": "2026-02-06T16:31:18.839Z",
                      "updatedAt": "2026-02-06T16:31:18.839Z"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request. If `minSweepAmountUsd` is below the lowest minimum among the deposit's enabled blockchains, the message states the minimum.",
            "content": {
              "application/json": {
                "examples": {
                  "belowMinimum": {
                    "summary": "minSweepAmountUsd below the lowest blockchain minimum",
                    "value": {
                      "message": "Minimum deposit amount must be at least $0.30",
                      "code": 400
                    }
                  },
                  "notPositive": {
                    "summary": "minSweepAmountUsd is zero or negative",
                    "value": {
                      "message": "Validation failed: minSweepAmountUsd must be a positive number",
                      "code": 400,
                      "errors": {
                        "minSweepAmountUsd": [
                          "minSweepAmountUsd must be a positive number"
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/deposit-customers/api-key": {
      "post": {
        "operationId": "DepositController_createCustomer",
        "summary": "Create a Customer for a Deposit",
        "description": "Creates a new customer linked to a specific deposit using the depositId",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDepositCustomer"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The deposit customer was created successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateDepositCustomer"
                  }
                },
                "examples": {
                  "exportedPaymentsList": {
                    "summary": "Example of a successful create deposit customer responsee",
                    "value": {
                      "id": "68f8c78f600865f76e7cc866",
                      "deposit": "68f25d8ebe91855f9fad444b",
                      "token": "ba065c1b-9134-4a68-9bfc-104e5c1c7631",
                      "customerId": "customerId",
                      "recipientPublicKeys": [
                        "7YancRyN3yp9s6G7YNwx9H93UqswoKFqF9GuNJPufyvW"
                      ],
                      "defaultOnrampAmount": 30,
                      "disabled": false,
                      "depositWallets": [
                        {
                          "id": "6985e16c78f93907a64eb29d",
                          "publicKey": "0x13d89374C9C2F8EdB747EE2f1D1675b05dB061eD",
                          "blockchainEngine": {
                            "id": "63b6b1200cfb4b3f6131f2b2",
                            "type": "EVM"
                          },
                          "createdAt": "2026-02-06T12:41:16.191Z",
                          "updatedAt": "2026-02-10T13:03:09.672Z"
                        },
                        {
                          "id": "6987a95cd68cfcabec137e41",
                          "publicKey": "bc1qm8xf2he4eze2g940hpnjwsamk2889mnn20mqz6",
                          "blockchainEngine": {
                            "id": "63da34127a40a721a6e0a21d",
                            "type": "BTC"
                          },
                          "createdAt": "2026-02-07T21:06:36.965Z",
                          "updatedAt": "2026-02-10T13:03:09.635Z"
                        },
                        {
                          "id": "6987afc15f2ed144a41ac8a3",
                          "publicKey": "HJiZM17UozKV6JwrysPkZ2TMxLvpeamqJKCxKEzRqXD6",
                          "blockchainEngine": {
                            "id": "63b6b1200cfb4b3f6131f2b4",
                            "type": "SOL"
                          },
                          "createdAt": "2026-02-07T21:33:53.427Z",
                          "updatedAt": "2026-02-10T13:03:09.599Z"
                        },
                        {
                          "id": "6987ead22a792df6401ab268",
                          "publicKey": "TAHgWAwvoY66pmpevaNzAEq1gh7feTKqVT",
                          "blockchainEngine": {
                            "id": "69807675403cca2d3e5582e1",
                            "type": "TRON"
                          },
                          "createdAt": "2026-02-08T01:45:54.761Z",
                          "updatedAt": "2026-02-10T13:03:09.709Z"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/deposit-customers/{depositCustomerToken}/api-key": {
      "patch": {
        "operationId": "DepositController_updateCustomer",
        "summary": "Update Deposit Customer",
        "description": "Updates a customer associated with a specific deposit using the depositCustomerToken.",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "depositCustomerToken",
            "required": true,
            "in": "path",
            "description": "The token associated with the deposit customer to retrieve.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDepositCustomer"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The deposit customer was updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UpdateDepositCustomer"
                  }
                },
                "examples": {
                  "exportedPaymentsList": {
                    "summary": "Example of a successful updated deposit response",
                    "value": {
                      "id": "68f8c78f600865f76e7cc866",
                      "deposit": "68f25d8ebe91855f9fad444b",
                      "token": "ba065c1b-9134-4a68-9bfc-104e5c1c7631",
                      "customerId": "customerId",
                      "recipientPublicKeys": [
                        "7YancRyN3yp9s6G7YNwx9H93UqswoKFqF9GuNJPufyvW"
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      },
      "get": {
        "operationId": "DepositController_getCustomer",
        "summary": "Get a Deposit Customer (by Token)",
        "description": "Retrieves a customer linked to a specific deposit using the depositCustomerToken.",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard’s settings page.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "depositCustomerToken",
            "required": true,
            "in": "path",
            "description": "The token associated with the deposit customer to retrieve.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The deposit customer was retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DepositCustomerResponse"
                },
                "examples": {
                  "exportedPaymentsList": {
                    "summary": "Example of a successful get deposit customer by token response",
                    "value": {
                      "id": "691df9bc2c2ba3462f7bbb90",
                      "deposit": {
                        "id": "691df9b7dc08fb6c7bb0c4d9",
                        "description": "",
                        "name": "depositacitivitytest",
                        "platform": "HELIO",
                        "isCardPaymentEnabled": true,
                        "notifyReceiverByEmail": false,
                        "createdAt": "2025-11-19T17:09:11.609Z",
                        "updatedAt": "2025-11-19T17:09:11.609Z",
                        "currencies": [
                          {
                            "id": "6340313846e4f91b8abc519b",
                            "name": "USD Coin",
                            "decimals": 6,
                            "order": 150,
                            "mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
                            "coinMarketCapId": 3408,
                            "symbol": "USDC",
                            "symbolPrefix": "$",
                            "type": "DIGITAL",
                            "iconUrl": "USDC.svg",
                            "features": [
                              "PAYMENT_PRICING",
                              "PAYMENT_RECIPIENT",
                              "SWAP",
                              "DEPOSIT_MERCHANT_RECIPIENT",
                              "DEPOSIT_CUSTOMER_CHECKOUT"
                            ],
                            "orderingType": "NUMERIC",
                            "blockchain": {
                              "id": "6340313846e4f91b8abc515c",
                              "name": "SOL",
                              "symbol": "SOL",
                              "engine": {
                                "id": "63b6b1200cfb4b3f6131f2b4",
                                "type": "SOL"
                              }
                            }
                          }
                        ],
                        "company": {
                          "id": "667c1f9352919e407156128c",
                          "name": "Helio",
                          "email": "jesse@hel.io",
                          "websiteUrl": "",
                          "discordUsername": "",
                          "address": "",
                          "phoneNumber": "",
                          "escrowFunds": false,
                          "twitterConfirmed": false,
                          "kycVerified": false,
                          "kybVerified": false,
                          "customTheme": {
                            "primaryColor": "#6400CC",
                            "neutralColor": "#5A6578",
                            "themeMode": "DARK",
                            "textColorOnButton": "BLACK",
                            "backgroundColor": "#f9f9f9"
                          }
                        },
                        "creator": {
                          "id": "667c1f9352919e407156128a",
                          "userType": "MERCHANT",
                          "email": "jesse.baffour@helio.co",
                          "name": "",
                          "isDisabled": false,
                          "kycVerified": false,
                          "platformDetails": {
                            "platform": "HELIO"
                          }
                        }
                      },
                      "token": "e7944a16-8910-4385-ba32-daf74c9b9e7b",
                      "customerId": "test324",
                      "recipientPublicKeys": [
                        "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW"
                      ],
                      "depositWallets": [
                        {
                          "id": "691df9bc2c2ba3462f7bbb97",
                          "publicKey": "Av4bS82bJKKtnuEz6DvVRiTWVgM1gMtenEYvks42w8Kn",
                          "blockchainEngine": {
                            "id": "63b6b1200cfb4b3f6131f2b4",
                            "type": "SOL"
                          }
                        },
                        {
                          "id": "691df9bd2c2ba3462f7bbb9a",
                          "publicKey": "bc1qjxjjcwfz0fa7v38l66q5nu6nxymh0dkapgwvqe",
                          "blockchainEngine": {
                            "id": "63da34127a40a721a6e0a21d",
                            "type": "BTC"
                          }
                        },
                        {
                          "id": "691df9bd2c2ba3462f7bbb9d",
                          "publicKey": "0xB875E9Dc1C7Ab18a0b919cde4670751DD91D3F1D",
                          "blockchainEngine": {
                            "id": "63b6b1200cfb4b3f6131f2b2",
                            "type": "EVM"
                          }
                        }
                      ],
                      "disabled": false,
                      "swapRoutes": [
                        {
                          "id": "6750a1b2c3d4e5f6a7b8c9d0",
                          "fromCurrency": {
                            "id": "6340313846e4f91b8abc51a3",
                            "symbol": "SOL",
                            "name": "Solana",
                            "mintAddress": "So11111111111111111111111111111111111111112",
                            "coinMarketCapId": 5426,
                            "decimals": 9,
                            "symbolPrefix": "",
                            "type": "DIGITAL",
                            "blockchain": {
                              "id": "6340313846e4f91b8abc515c",
                              "name": "SOL",
                              "displayName": "Solana"
                            }
                          },
                          "toCurrencyId": "6340313846e4f91b8abc519b",
                          "available": true,
                          "minAmountUsd": 1.5
                        },
                        {
                          "id": "6750a1b2c3d4e5f6a7b8c9d1",
                          "fromCurrency": {
                            "id": "6340313846e4f91b8abc51b2",
                            "symbol": "ETH",
                            "name": "Ethereum",
                            "mintAddress": "0x0000000000000000000000000000000000000000",
                            "coinMarketCapId": 1027,
                            "decimals": 18,
                            "symbolPrefix": "",
                            "type": "DIGITAL",
                            "blockchain": {
                              "id": "6340313846e4f91b8abc515d",
                              "name": "ETH",
                              "displayName": "Ethereum"
                            }
                          },
                          "toCurrencyId": "6340313846e4f91b8abc519b",
                          "available": false,
                          "minAmountUsd": 5
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/transactions/deposit/{depositId}/transactions": {
      "get": {
        "operationId": "DepositController_getAllTransactions",
        "summary": "Get All Deposit Transactions",
        "description": "Fetch a complete list of transactions linked to a specific deposit, including payment details, status, amounts, and related metadata. Get transactions from the last 7 days by default or use `from` or `to` filter.",
        "parameters": [
          {
            "name": "depositId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the deposit to retrieve.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key, which can be generated from the dashboard developers page.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "senderPK",
            "in": "query",
            "required": false,
            "description": "Filter results by sender public key.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "to",
            "in": "query",
            "required": false,
            "description": "The end of the time range for filtering transactions, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.sssZ).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from",
            "in": "query",
            "required": false,
            "description": "The start of the time range for filtering transactions, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.sssZ).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "All deposit transactions were successfully retrieved",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateDepositCustomer"
                  }
                },
                "examples": {
                  "exportedPaymentsList": {
                    "summary": "Example of a successful “Get Deposit Transaction” response for all transactions",
                    "value": [
                      {
                        "id": "68ff500f439553116f7e675b",
                        "fee": "220000",
                        "createdAt": "2025-10-27T10:57:19.133Z",
                        "paymentType": "DEPOSIT",
                        "deposit": {
                          "id": "68fa4fc921fd483566b4676a",
                          "description": "",
                          "name": "testing deposit",
                          "platform": "HELIO",
                          "createdAt": "2025-10-23T15:54:49.983Z",
                          "updatedAt": "2025-10-23T15:54:49.983Z",
                          "currencies": [
                            {
                              "id": "63430c8348c610068bcdc482",
                              "name": "USD Coin",
                              "decimals": 6,
                              "order": 100,
                              "mintAddress": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
                              "coinMarketCapId": 3408,
                              "symbol": "USDC",
                              "symbolPrefix": "$",
                              "type": "DIGITAL",
                              "iconUrl": "USDC.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "SWAP",
                                "DEPOSIT_MERCHANT_RECIPIENT",
                                "DEPOSIT_CUSTOMER_CHECKOUT"
                              ],
                              "orderingType": "NUMERIC",
                              "blockchain": {
                                "id": "63430c8348c610068bcdc43c",
                                "name": "SOL",
                                "symbol": "SOL",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb2",
                                  "type": "SOL"
                                }
                              }
                            }
                          ],
                          "company": {
                            "id": "667c3e5bc3d87bccd2035dbe",
                            "name": "",
                            "email": "",
                            "websiteUrl": "",
                            "address": "",
                            "phoneNumber": "",
                            "escrowFunds": false,
                            "twitterConfirmed": false,
                            "kycVerified": false,
                            "kybVerified": true,
                            "customTheme": {
                              "primaryColor": "#6400CC",
                              "neutralColor": "#5A6578",
                              "themeMode": "LIGHT",
                              "textColorOnButton": "BLACK",
                              "backgroundColor": "#f9f9f9"
                            }
                          },
                          "creator": {
                            "id": "667c3e5bc3d87bccd2035dbc",
                            "userType": "MERCHANT",
                            "email": "jesse@hel.io",
                            "isDisabled": false,
                            "kycVerified": false,
                            "platformDetails": {
                              "platform": "HELIO"
                            }
                          }
                        },
                        "depositCustomer": {
                          "id": "68fa4fcf44b5923055b0878b",
                          "deposit": "68fa4fc921fd483566b4676a",
                          "token": "e59bdbcb-9360-4663-8012-38f68b841e0c",
                          "customerId": "12",
                          "recipientPublicKeys": [
                            "7BancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW"
                          ]
                        },
                        "meta": {
                          "id": "68ff500f439553116f7e6759",
                          "amount": "10780000",
                          "senderPK": "692psCs3zQAsMLE48ZGfUA7fYbJgqWY47BLkmN4T4scB",
                          "recipientPK": "7BancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "transactionType": "DEPOSIT",
                          "customerDetails": {},
                          "productDetails": null,
                          "additionalProductDetails": [],
                          "transactionSignature": "3QPCuJyZu7ay3CXhg1pRraqRwXEdudWhwDAoRQ6vxTXadA9qAHrhHmiZNf2yKM1kD2NVYHWHrUnNieJFDeqfA4ek",
                          "transactionStatus": "SUCCESS",
                          "splitRevenue": false,
                          "remainingAccounts": [],
                          "totalAmount": "10780000",
                          "totalAmountAsUSD": "10780000",
                          "tokenQuote": null,
                          "shopifyPaymentDetails": null,
                          "currency": {
                            "id": "63430c8348c610068bcdc482",
                            "name": "USD Coin",
                            "decimals": 6,
                            "order": 100,
                            "mintAddress": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
                            "coinMarketCapId": 3408,
                            "symbol": "USDC",
                            "symbolPrefix": "$",
                            "type": "DIGITAL",
                            "iconUrl": "USDC.svg",
                            "features": [
                              "PAYMENT_PRICING",
                              "PAYMENT_RECIPIENT",
                              "SWAP",
                              "DEPOSIT_MERCHANT_RECIPIENT",
                              "DEPOSIT_CUSTOMER_CHECKOUT"
                            ],
                            "orderingType": "NUMERIC",
                            "blockchain": {
                              "id": "63430c8348c610068bcdc43c",
                              "name": "SOL",
                              "symbol": "SOL",
                              "engine": {
                                "id": "63b574b9d07b6f6f21c13eb2",
                                "type": "SOL"
                              }
                            }
                          }
                        },
                        "paymentRequestCreatorId": "667c3e5bc3d87bccd2035dbc",
                        "paymentRequestName": "Deposit",
                        "paymentRequestCurrencySymbol": "USDC",
                        "paymentRequestBlockchain": "SOL",
                        "incomingTransactions": [
                          {
                            "hash": "2azE2LdA7JATeKEvt1aUiWJmFbKSZ9ZgJntXjdjniBrtDhrECj8ZB5BUai5pdbWR2gioMT5Go1cAQbKiB3gBsgrc",
                            "from": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                            "to": "6C6gzbxQ1rc5vEbnycWGmTNmLcDhavsNi6C5nAMWEfYn",
                            "value": "48102183",
                            "blockNumber": 437805392,
                            "timestamp": 1769440895,
                            "status": "success",
                            "gasUsed": "5000",
                            "gasPrice": "20000000000",
                            "nonce": 12
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/transactions/deposit/customer/{depositCustomerToken}/transactions": {
      "get": {
        "operationId": "DepositController_getCustomerTransactions",
        "summary": "Get Deposit Transactions by Customer Token",
        "description": "Get all transactions for a deposit by customer token",
        "parameters": [
          {
            "name": "depositCustomerToken",
            "in": "path",
            "required": true,
            "description": "The unique token associated with the deposit customer used to retrieve all related transactions.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key, which can be generated from the Helio Dashboard settings page.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "senderPK",
            "in": "query",
            "required": false,
            "description": "Filter results by sender public key.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "to",
            "in": "query",
            "required": false,
            "description": "The end of the time range for filtering transactions, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.sssZ).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "from",
            "in": "query",
            "required": false,
            "description": "The start of the time range for filtering transactions, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.sssZ).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The deposit transactions for a specific customer were successfully retrieved",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreateDepositCustomer"
                  }
                },
                "examples": {
                  "exportedPaymentsList": {
                    "summary": "Example of a successful “Get Deposit Transaction” response for a particular customer",
                    "value": [
                      {
                        "id": "6900a6c3165d5f39c92828d1",
                        "fee": "120000",
                        "createdAt": "2025-10-28T11:19:31.812Z",
                        "paymentType": "DEPOSIT",
                        "deposit": {
                          "id": "6900a5e3eaacfdbd980fd9fe",
                          "description": "",
                          "name": "deposittest",
                          "platform": "HELIO",
                          "createdAt": "2025-10-28T11:15:47.789Z",
                          "updatedAt": "2025-10-28T11:15:47.789Z",
                          "currencies": [
                            {
                              "id": "63430c8348c610068bcdc482",
                              "name": "USD Coin",
                              "decimals": 6,
                              "order": 100,
                              "mintAddress": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
                              "coinMarketCapId": 3408,
                              "symbol": "USDC",
                              "symbolPrefix": "$",
                              "type": "DIGITAL",
                              "iconUrl": "USDC.svg",
                              "features": [
                                "PAYMENT_PRICING",
                                "PAYMENT_RECIPIENT",
                                "SWAP",
                                "DEPOSIT_MERCHANT_RECIPIENT",
                                "DEPOSIT_CUSTOMER_CHECKOUT"
                              ],
                              "orderingType": "NUMERIC",
                              "blockchain": {
                                "id": "63430c8348c610068bcdc43c",
                                "name": "SOL",
                                "symbol": "SOL",
                                "engine": {
                                  "id": "63b574b9d07b6f6f21c13eb2",
                                  "type": "SOL"
                                }
                              }
                            }
                          ],
                          "company": {
                            "id": "667c3e5bc3d87bccd2035dbe",
                            "name": "",
                            "email": "",
                            "websiteUrl": "",
                            "address": "",
                            "phoneNumber": "",
                            "escrowFunds": false,
                            "twitterConfirmed": false,
                            "kycVerified": false,
                            "kybVerified": true,
                            "customTheme": {
                              "primaryColor": "#6400CC",
                              "neutralColor": "#5A6578",
                              "themeMode": "LIGHT",
                              "textColorOnButton": "BLACK",
                              "backgroundColor": "#f9f9f9"
                            }
                          },
                          "creator": {
                            "id": "667c3e5bc3d87bccd2035dbc",
                            "userType": "MERCHANT",
                            "email": "jesse@hel.io",
                            "isDisabled": false,
                            "kycVerified": false,
                            "platformDetails": {
                              "platform": "HELIO"
                            }
                          }
                        },
                        "depositCustomer": {
                          "id": "6900a5ea1a21b23ddb1b1e65",
                          "deposit": "6900a5e3eaacfdbd980fd9fe",
                          "token": "22c3ff68-5f1b-48c7-b5c6-e0e7b0b91ab4",
                          "customerId": "test342",
                          "recipientPublicKeys": [
                            "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW"
                          ]
                        },
                        "meta": {
                          "id": "6900a6c3165d5f39c92828cf",
                          "amount": "5880000",
                          "senderPK": "44NrPTjxg5anqkNLnnvKvBhPcrhyTAGecXjyR2LzpEap",
                          "recipientPK": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "transactionType": "DEPOSIT",
                          "customerDetails": {},
                          "productDetails": null,
                          "additionalProductDetails": [],
                          "transactionSignature": "2v4NPfeLFGokWYRBqjwwS7SLHrq1HnuKuriy3p5UDspABYoasJd2SqrZvMipsZP5U8dwEDeaL3NWigdjVrnKj43Y",
                          "transactionStatus": "SUCCESS",
                          "splitRevenue": false,
                          "remainingAccounts": [],
                          "totalAmount": "5880000",
                          "totalAmountAsUSD": "5880000",
                          "tokenQuote": null,
                          "shopifyPaymentDetails": null,
                          "currency": {
                            "id": "63430c8348c610068bcdc482",
                            "name": "USD Coin",
                            "decimals": 6,
                            "order": 100,
                            "mintAddress": "4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU",
                            "coinMarketCapId": 3408,
                            "symbol": "USDC",
                            "symbolPrefix": "$",
                            "type": "DIGITAL",
                            "iconUrl": "USDC.svg",
                            "features": [
                              "PAYMENT_PRICING",
                              "PAYMENT_RECIPIENT",
                              "SWAP",
                              "DEPOSIT_MERCHANT_RECIPIENT",
                              "DEPOSIT_CUSTOMER_CHECKOUT"
                            ],
                            "orderingType": "NUMERIC",
                            "blockchain": {
                              "id": "63430c8348c610068bcdc43c",
                              "name": "SOL",
                              "symbol": "SOL",
                              "engine": {
                                "id": "63b574b9d07b6f6f21c13eb2",
                                "type": "SOL"
                              }
                            }
                          }
                        },
                        "paymentRequestCreatorId": "667c3e5bc3d87bccd2035dbc",
                        "paymentRequestName": "deposittest",
                        "paymentRequestCurrencySymbol": "USDC",
                        "paymentRequestBlockchain": "SOL",
                        "incomingTransactions": [
                          {
                            "hash": "2azE2LdA7JATeKEvt1aUiWJmFbKSZ9ZgJntXjdjniBrtDhrECj8ZB5BUai5pdbWR2gioMT5Go1cAQbKiB3gBsgrc",
                            "from": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                            "to": "6C6gzbxQ1rc5vEbnycWGmTNmLcDhavsNi6C5nAMWEfYn",
                            "value": "48102183",
                            "blockNumber": 437805392,
                            "timestamp": 1769440895,
                            "status": "success",
                            "gasUsed": "5000",
                            "gasPrice": "20000000000",
                            "nonce": 12
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/deposit-wallet/token/{tokenId}/activity": {
      "post": {
        "operationId": "DepositController_recordActivity",
        "summary": "Record Deposit Wallet Activity (By Token)",
        "description": "Call this endpoint when a customer identified by their **customer deposit token** selects the currency they want to deposit. Pass that currency's id in `currencyId`. Activity is recorded for the customer's deposit wallets, which temporarily increases balance polling so incoming payments in the selected currency are detected and settled quickly.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "currencyId"
                ],
                "properties": {
                  "currencyId": {
                    "type": "string",
                    "description": "The `id` of the currency the customer has selected to deposit, as returned by [Get Deposit Currencies](/reference/currency/list-deposit). Send this on every call.",
                    "example": "6340313846e4f91b8abc519b"
                  }
                }
              },
              "example": {
                "currencyId": "6340313846e4f91b8abc519b"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Deposit wallet activity was successfully recorded. No response body is returned."
          },
          "400": {
            "description": "The request body is invalid (for example, `currencyId` is not a valid currency id)."
          }
        },
        "parameters": [
          {
            "name": "tokenId",
            "in": "path",
            "required": true,
            "description": "A unique customer token that identifies the customer’s deposit.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "tags": [
          "Deposits"
        ],
        "security": []
      }
    },
    "/v1/deposit-wallet/activity": {
      "post": {
        "operationId": "DepositController_recordActivityByWallets",
        "summary": "Record Deposit Wallet Activity (By Public Keys)",
        "description": "Call this endpoint when you display one or more **specific deposit wallet addresses** (public keys) in your UI and the customer has selected the currency they want to deposit. Pass each wallet's public key in the `wallets` array and the selected currency's id in `currencyId`. Activity is updated per wallet. If a public key does not match a known deposit wallet, that entry is skipped (logged server-side) and processing continues for the remaining keys. This temporarily increases balance polling so incoming payments in the selected currency are detected and settled quickly.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "wallets",
                  "currencyId"
                ],
                "properties": {
                  "wallets": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                      "type": "string"
                    },
                    "description": "Deposit wallet public keys (addresses) to mark as active."
                  },
                  "currencyId": {
                    "type": "string",
                    "description": "The `id` of the currency the customer has selected to deposit, as returned by [Get Deposit Currencies](/reference/currency/list-deposit). Send this on every call.",
                    "example": "6340313846e4f91b8abc519b"
                  }
                }
              },
              "example": {
                "wallets": [
                  "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW"
                ],
                "currencyId": "6340313846e4f91b8abc519b"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The request was accepted and activity updates were applied for each resolvable wallet. No response body is returned."
          },
          "400": {
            "description": "The request body is invalid (for example, `wallets` is missing or empty, or `currencyId` is not a valid currency id)."
          },
          "401": {
            "description": "Invalid or missing API credentials."
          }
        },
        "tags": [
          "Deposits"
        ],
        "security": []
      }
    },
    "/v1/deposits/{depositId}/customer/{customerId}/api-key": {
      "get": {
        "operationId": "DepositController_getCustomerById",
        "summary": "Get a Deposit Customer (by customerId)",
        "description": "Retrieves the customer associated with a specific deposit using the provided `depositId` and `customerId`.",
        "parameters": [
          {
            "name": "depositId",
            "in": "path",
            "required": true,
            "description": "The unique ID of the deposit.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customerId",
            "in": "path",
            "required": true,
            "description": "The unique ID of the customer associated with the deposit.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key, which can be generated from the Helio Dashboard settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The deposit customer was retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/UpdateDepositCustomer"
                  }
                },
                "examples": {
                  "exportedPaymentsList": {
                    "summary": "Example of a successful get deposit customer by customerId response",
                    "value": {
                      "id": "695becf08afd9fceb3767369",
                      "deposit": "695beb0732b11192df71015b",
                      "token": "984a783c-d246-4199-9cc3-bdffab9e6ada",
                      "customerId": "test12",
                      "customerEmail": "jesse@helio.io",
                      "recipientPublicKeys": [
                        "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW"
                      ],
                      "disabled": false
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/deposits/{depositId}/api-key": {
      "patch": {
        "operationId": "DepositController_updateDeposit",
        "summary": "Update a Deposit",
        "description": "Updates an existing deposit by its ID. All fields in the request body are optional — only the provided fields will be updated. This can be used to change the deposit name, description, payment method options, disabled state, blockchain symbols, and more.",
        "parameters": [
          {
            "name": "depositId",
            "in": "path",
            "required": true,
            "description": "The unique ID of the deposit to update.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key, which can be generated from the Helio Dashboard settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDeposit"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Deposit updated successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DepositResponse"
                },
                "examples": {
                  "updatedDepositResponse": {
                    "summary": "Example update deposit response",
                    "value": {
                      "id": "string",
                      "name": "string",
                      "description": "string",
                      "paylinkId": "string",
                      "platform": "HELIO",
                      "notifyReceiverByEmail": true,
                      "disabled": false,
                      "disabledBlockchainSymbols": [
                        "SOL",
                        "ETH"
                      ],
                      "connectWalletOptions": {
                        "isActive": true,
                        "title": "string",
                        "badge": "string",
                        "order": 1
                      },
                      "transferManuallyOptions": {
                        "isActive": true,
                        "title": "string",
                        "badge": "string",
                        "order": 2
                      },
                      "payWithCardOptions": {
                        "isActive": true,
                        "title": "string",
                        "badge": "string",
                        "order": 3,
                        "hasWhiteListDomain": false
                      },
                      "connectExchangeOptions": {
                        "isActive": true,
                        "title": "string",
                        "badge": "string",
                        "order": 4
                      },
                      "minSweepAmountUsd": 3,
                      "createdAt": "2026-02-06T16:31:18.839Z",
                      "updatedAt": "2026-02-06T16:31:18.839Z"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request. If `minSweepAmountUsd` is below the lowest minimum among the deposit's enabled blockchains (using `disabledBlockchainSymbols` from the request, or the deposit's current value), the message states the minimum.",
            "content": {
              "application/json": {
                "examples": {
                  "belowMinimum": {
                    "summary": "minSweepAmountUsd below the lowest blockchain minimum",
                    "value": {
                      "message": "Minimum deposit amount must be at least $0.30",
                      "code": 400
                    }
                  },
                  "notPositive": {
                    "summary": "minSweepAmountUsd is zero or negative",
                    "value": {
                      "message": "Validation failed: minSweepAmountUsd must be a positive number",
                      "code": 400,
                      "errors": {
                        "minSweepAmountUsd": [
                          "minSweepAmountUsd must be a positive number"
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/deposits/{depositId}/swap-quote": {
      "post": {
        "operationId": "DepositController_getSwapQuote",
        "summary": "Get Deposit Swap Quote",
        "description": "Returns a quote for funding a deposit: how much the merchant receives in the deposit's settlement currency for a given input amount, and the fees involved. The settlement currency is derived from the deposit, which must have exactly one accepted currency.\n\n**Crypto funding** — omit `provider`. The server picks who prices the quote from the merchant's deposit wallet provider and the currency pair: `GLIDE`, `DECENT` (a swap is needed) or `HELIO` (same currency, direct sweep). Same-currency and cross-chain pairs are both supported.\n\n**Fiat funding** — set `provider` to `MOONPAY`, `IRON` or `ONRAMPER` with that provider's required fields.\n\nCrypto-path quotes are estimates for display; they are not locked or redeemed at settlement. No API key is required; this endpoint is rate-limited.",
        "parameters": [
          {
            "name": "depositId",
            "in": "path",
            "required": true,
            "description": "The unique ID of the deposit.",
            "schema": {
              "type": "string"
            },
            "example": "6a0b1bb21ce2a93f5c1a4dbe"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDepositSwapQuote"
              },
              "examples": {
                "crypto": {
                  "summary": "Crypto funding (provider chosen server-side)",
                  "value": {
                    "fromCurrencyId": "63430c8348c610068bcdc482",
                    "amountIn": "1000000000000000",
                    "senderAddress": "0x1111111111111111111111111111111111111111",
                    "slippageBps": 100
                  }
                },
                "coinbase": {
                  "summary": "Crypto funding from Coinbase (prices the surcharge)",
                  "value": {
                    "fromCurrencyId": "63430c8348c610068bcdc483",
                    "amountIn": "25000000",
                    "senderAddress": "0x1111111111111111111111111111111111111111",
                    "paymentMethod": "COINBASE"
                  }
                },
                "moonpay": {
                  "summary": "Fiat funding via MoonPay card",
                  "value": {
                    "provider": "MOONPAY",
                    "fromCurrencyId": "637ca18de2997b3a87a566a8",
                    "amountIn": "25000000",
                    "senderAddress": "5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1",
                    "depositCustomerId": "6a0b1c0f1ce2a93f5c1a4e01",
                    "paymentMethodType": "card",
                    "quoteCurrencyCode": "usdc_sol",
                    "accessToken": "<customer MoonPay Platform access token>"
                  }
                },
                "onramper": {
                  "summary": "Fiat funding via Onramper",
                  "value": {
                    "provider": "ONRAMPER",
                    "fromCurrencyId": "637ca18de2997b3a87a566a8",
                    "amountIn": "25000000",
                    "senderAddress": "5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1",
                    "depositCustomerId": "6a0b1c0f1ce2a93f5c1a4e01",
                    "quoteCurrencyCode": "usdc_solana",
                    "country": "US"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Swap quote retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DepositSwapQuoteResponse"
                },
                "examples": {
                  "decent": {
                    "summary": "DECENT (swap)",
                    "value": {
                      "provider": "DECENT",
                      "fromCurrency": {
                        "id": "63430c8348c610068bcdc482",
                        "symbol": "ETH",
                        "name": "Ethereum",
                        "decimals": 18,
                        "mintAddress": "0x0000000000000000000000000000000000000000",
                        "coinMarketCapId": 1027,
                        "symbolPrefix": "",
                        "type": "DIGITAL",
                        "blockchain": {
                          "id": "bc-base",
                          "name": "Base",
                          "symbol": "BASE",
                          "engine": {
                            "id": "engine-evm",
                            "name": "EVM"
                          }
                        }
                      },
                      "toCurrency": {
                        "id": "63430c8348c610068bcdc483",
                        "symbol": "USDC",
                        "name": "USD Coin",
                        "decimals": 6,
                        "mintAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                        "coinMarketCapId": 3408,
                        "symbolPrefix": "",
                        "type": "DIGITAL",
                        "blockchain": {
                          "id": "bc-base",
                          "name": "Base",
                          "symbol": "BASE",
                          "engine": {
                            "id": "engine-evm",
                            "name": "EVM"
                          }
                        }
                      },
                      "amountIn": "1000000000000000",
                      "amountInUsd": "3.21",
                      "amountOutGross": "3205000",
                      "amountOutNet": "3172950",
                      "amountOutUsd": "3.17",
                      "platformFeeBps": 100,
                      "platformFeeAmount": "32050",
                      "affiliateFeeBps": 0,
                      "affiliateFeeAmount": "0",
                      "slippageBps": 100,
                      "exchangeRate": 3205.0,
                      "estimatedPriceImpact": 0.001,
                      "expiresAt": "2026-05-14T13:58:13.608Z"
                    }
                  },
                  "glide": {
                    "summary": "GLIDE (fees reported in USD)",
                    "value": {
                      "provider": "GLIDE",
                      "fromCurrency": {
                        "id": "63430c8348c610068bcdc482",
                        "symbol": "ETH",
                        "name": "Ethereum",
                        "decimals": 18,
                        "mintAddress": "0x0000000000000000000000000000000000000000",
                        "coinMarketCapId": 1027,
                        "symbolPrefix": "",
                        "type": "DIGITAL",
                        "blockchain": {
                          "id": "bc-base",
                          "name": "Base",
                          "symbol": "BASE",
                          "engine": {
                            "id": "engine-evm",
                            "name": "EVM"
                          }
                        }
                      },
                      "toCurrency": {
                        "id": "63430c8348c610068bcdc483",
                        "symbol": "USDC",
                        "name": "USD Coin",
                        "decimals": 6,
                        "mintAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                        "coinMarketCapId": 3408,
                        "symbolPrefix": "",
                        "type": "DIGITAL",
                        "blockchain": {
                          "id": "bc-base",
                          "name": "Base",
                          "symbol": "BASE",
                          "engine": {
                            "id": "engine-evm",
                            "name": "EVM"
                          }
                        }
                      },
                      "amountIn": "1000000000000000",
                      "amountInUsd": "3.21",
                      "amountOutNet": "3150000",
                      "amountOutUsd": "3.15",
                      "platformFeeBps": 100,
                      "affiliateFeeBps": 0,
                      "processingFeeUsd": "0.03",
                      "networkFeeUsd": "0.03",
                      "totalFeeUsd": "0.06",
                      "etaSeconds": 30,
                      "expiresAt": "2026-05-14T13:58:13.608Z"
                    }
                  },
                  "helio": {
                    "summary": "HELIO (same currency, Coinbase surcharge)",
                    "value": {
                      "provider": "HELIO",
                      "fromCurrency": {
                        "id": "63430c8348c610068bcdc483",
                        "symbol": "USDC",
                        "name": "USD Coin",
                        "decimals": 6,
                        "mintAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                        "coinMarketCapId": 3408,
                        "symbolPrefix": "",
                        "type": "DIGITAL",
                        "blockchain": {
                          "id": "bc-base",
                          "name": "Base",
                          "symbol": "BASE",
                          "engine": {
                            "id": "engine-evm",
                            "name": "EVM"
                          }
                        }
                      },
                      "toCurrency": {
                        "id": "63430c8348c610068bcdc483",
                        "symbol": "USDC",
                        "name": "USD Coin",
                        "decimals": 6,
                        "mintAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                        "coinMarketCapId": 3408,
                        "symbolPrefix": "",
                        "type": "DIGITAL",
                        "blockchain": {
                          "id": "bc-base",
                          "name": "Base",
                          "symbol": "BASE",
                          "engine": {
                            "id": "engine-evm",
                            "name": "EVM"
                          }
                        }
                      },
                      "amountIn": "25000000",
                      "amountInUsd": "25.00",
                      "amountOutGross": "25000000",
                      "amountOutNet": "24675000",
                      "amountOutUsd": "24.67",
                      "platformFeeBps": 100,
                      "platformFeeAmount": "250000",
                      "affiliateFeeBps": 0,
                      "affiliateFeeAmount": "0",
                      "paymentMethodFeeBps": 30,
                      "paymentMethodFeeAmount": "75000",
                      "paymentMethodFeeUsd": "0.08",
                      "exchangeRate": 1,
                      "expiresAt": "2026-05-14T13:58:13.608Z"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request or business rule violation: deposit disabled, deposit has no or multiple accepted currencies, unknown `fromCurrencyId`, a server-side provider was requested, a fiat provider's required field is missing, or the fiat provider is not enabled for the merchant.",
            "content": {
              "application/json": {
                "examples": {
                  "depositDisabled": {
                    "summary": "Deposit is disabled",
                    "value": {
                      "statusCode": 400,
                      "message": "Deposit is disabled.",
                      "error": "Bad Request"
                    }
                  },
                  "multiCurrency": {
                    "summary": "Deposit accepts more than one currency",
                    "value": {
                      "statusCode": 400,
                      "message": "Deposit has multiple accepted currencies; swap quote endpoint only supports single-currency deposits.",
                      "error": "Bad Request"
                    }
                  },
                  "providerNotSelectable": {
                    "summary": "Crypto provider requested",
                    "value": {
                      "statusCode": 400,
                      "message": "provider GLIDE is resolved server-side and cannot be requested. Omit it for crypto funding.",
                      "error": "Bad Request"
                    }
                  },
                  "fiatFieldMissing": {
                    "summary": "Fiat field missing",
                    "value": {
                      "statusCode": 400,
                      "message": "depositCustomerId is required for card and bank transfer quotes.",
                      "error": "Bad Request"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "`depositCustomerId` does not belong to this deposit, or the customer is not eligible for the fiat provider.",
            "content": {
              "application/json": {
                "examples": {
                  "customerMismatch": {
                    "summary": "Customer not on this deposit",
                    "value": {
                      "statusCode": 403,
                      "message": "depositCustomerId does not belong to this deposit.",
                      "error": "Forbidden"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Deposit not found.",
            "content": {
              "application/json": {
                "examples": {
                  "notFound": {
                    "summary": "Deposit not found",
                    "value": {
                      "statusCode": 404,
                      "message": "Deposit not found",
                      "error": "Not Found"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "The provider responded but no usable quote exists for this pair or deposit (e.g. no route found, no settlement amount, no settlement recipient address).",
            "content": {
              "application/json": {
                "examples": {
                  "noRecipient": {
                    "summary": "No settlement address",
                    "value": {
                      "statusCode": 422,
                      "message": "Deposit has no settlement recipient address to quote against.",
                      "error": "Unprocessable Entity"
                    }
                  }
                }
              }
            }
          },
          "502": {
            "description": "The pricing provider could not be reached or errored. Safe to retry.",
            "content": {
              "application/json": {
                "examples": {
                  "providerDown": {
                    "summary": "Provider failure",
                    "value": {
                      "statusCode": 502,
                      "message": "Unable to fetch swap quote at this time.",
                      "error": "Bad Gateway"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ],
        "security": []
      }
    },
    "/v1/deposits/search": {
      "get": {
        "operationId": "DepositController_getDeposits",
        "summary": "Get Deposits",
        "description": "Retrieve all deposits for the authenticated account. Supports optional filtering by deposit name using the `name` query parameter. Returns an array of matching deposits.",
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "required": false,
            "description": "Optional deposit name to filter results by. Multiple deposits may be returned as names are not unique.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key, which can be generated from the Helio Dashboard settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of deposits retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetDepositsResponse"
                  }
                },
                "examples": {
                  "depositsList": {
                    "summary": "Example of a successful get deposits response",
                    "value": [
                      {
                        "id": "697b6f574e8d5be87822f9de",
                        "name": "testing plasma",
                        "platform": "HELIO",
                        "notifyReceiverByEmail": false,
                        "disabled": false,
                        "connectWalletOptions": {
                          "isActive": true,
                          "title": "Connect Wallet",
                          "badge": ""
                        },
                        "transferManuallyOptions": {
                          "isActive": true,
                          "title": "Transfer Manually",
                          "badge": "Recommended"
                        },
                        "payWithCardOptions": {
                          "isActive": true,
                          "title": "Pay with Cash",
                          "badge": "",
                          "hasWhiteListDomain": false
                        },
                        "createdAt": "2026-01-29T14:31:51.752Z",
                        "updatedAt": "2026-01-29T14:31:51.752Z"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/transactions/deposit/signature/{signature}": {
      "get": {
        "operationId": "DepositController_getDepositTransactionBySignature",
        "summary": "Get a Deposit Transaction by Signature",
        "description": "Fetches a deposit transaction using its blockchain transaction signature. Returns the transaction details including deposit, deposit customer, and metadata.",
        "parameters": [
          {
            "name": "signature",
            "in": "path",
            "required": true,
            "description": "Blockchain transaction signature for the deposit transaction.",
            "schema": {
              "type": "string"
            },
            "example": "5i9MXdsos8jNnnxM1Pu7NiSCMDms3Rfe2chTgwoE9T9E1WZ7u2TyuNJZpmGXWreq2BcuLZrsfNmWy9MmCeX5goy2"
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key generated from the Helio Dashboard settings page.",
            "schema": {
              "type": "string"
            },
            "example": "dkKo3qFD~YmPg.W-ai01s3wdIG6AmvHOxqQTiSZoLqUthTgv7B.WTkTvuJkC9DzL"
          }
        ],
        "responses": {
          "200": {
            "description": "Deposit transaction retrieved successfully.",
            "content": {
              "application/json": {
                "examples": {
                  "depositTransactionResponse": {
                    "summary": "Example deposit transaction response",
                    "value": {
                      "id": "695e62da3df6cfc39348dce8",
                      "fee": "2000000",
                      "createdAt": "2026-01-07T13:42:51.000Z",
                      "paymentType": "DEPOSIT",
                      "deposit": {
                        "id": "695e62583df6cfc39348dbda",
                        "description": "",
                        "name": "deposit transaction endpoint test",
                        "platform": "HELIO",
                        "isCardPaymentEnabled": true,
                        "notifyReceiverByEmail": false,
                        "disabled": false,
                        "createdAt": "2026-01-07T13:40:40.839Z",
                        "updatedAt": "2026-01-07T13:40:40.839Z",
                        "currencies": [
                          {
                            "id": "63430c8348c610068bcdc474",
                            "name": "Solana",
                            "decimals": 9,
                            "order": 300,
                            "mintAddress": "11111111111111111111111111111111",
                            "coinMarketCapId": 5426,
                            "symbol": "SOL",
                            "symbolPrefix": "",
                            "type": "DIGITAL",
                            "iconUrl": "SOL.png",
                            "features": [
                              "PAYMENT_PRICING",
                              "PAYMENT_RECIPIENT",
                              "SWAP",
                              "DEPOSIT_MERCHANT_RECIPIENT",
                              "DEPOSIT_CUSTOMER_CHECKOUT"
                            ],
                            "orderingType": "NUMERIC",
                            "isNative": true,
                            "blockchain": {
                              "id": "63430c8348c610068bcdc43c",
                              "name": "SOL",
                              "symbol": "SOL",
                              "engine": {
                                "id": "63b574b9d07b6f6f21c13eb2",
                                "type": "SOL"
                              }
                            }
                          }
                        ],
                        "company": {
                          "id": "68bef8e8bf9266762395d7a9",
                          "name": "MoonPay Commerce",
                          "email": "hi@moonpay.com",
                          "websiteUrl": "https://www.moonpay.com",
                          "address": "",
                          "phoneNumber": "074559848843",
                          "escrowFunds": false,
                          "twitterConfirmed": false,
                          "kycVerified": false,
                          "kybVerified": true,
                          "customTheme": null
                        },
                        "creator": {
                          "id": "68bef8e8bf9266762395d7a7",
                          "userType": "MERCHANT",
                          "isDisabled": false,
                          "kycVerified": false,
                          "platformDetails": {
                            "platform": "HELIO"
                          }
                        }
                      },
                      "depositCustomer": {
                        "id": "695e625cf58128762696d022",
                        "deposit": "695e62583df6cfc39348dbda",
                        "token": "bf9a9c61-38de-4d99-bcf9-110a64807461",
                        "customerId": "test",
                        "recipientPublicKeys": [
                          "HYbLa1eUoH5Bvq1bBsH5XgctVfc2G5BeCBzRaCC3ptH8"
                        ],
                        "disabled": false
                      },
                      "meta": {
                        "id": "695e62da3df6cfc39348dce6",
                        "amount": "98000000",
                        "senderPK": "7Gw3kT48xqp4PmXqnV3CMXrVquwgJjJY4moJaeoWP9Ww",
                        "recipientPK": "HYbLa1eUoH5Bvq1bBsH5XgctVfc2G5BeCBzRaCC3ptH8",
                        "transactionType": "DEPOSIT",
                        "customerDetails": {},
                        "productDetails": null,
                        "additionalProductDetails": [],
                        "transactionSignature": "5i9MXdsos8jNnnxM1Pu7NiSCMDms3Rfe2chTgwoE9T9E1WZ7u2TyuNJZpmGXWreq2BcuLZrsfNmWy9MmCeX5goy2",
                        "transactionStatus": "SUCCESS",
                        "splitRevenue": false,
                        "remainingAccounts": [],
                        "totalAmount": "98000000",
                        "totalAmountAsUSD": "13538970",
                        "tokenQuote": null,
                        "shopifyPaymentDetails": null,
                        "currency": {
                          "id": "63430c8348c610068bcdc474",
                          "name": "Solana",
                          "decimals": 9,
                          "order": 300,
                          "mintAddress": "11111111111111111111111111111111",
                          "coinMarketCapId": 5426,
                          "symbol": "SOL",
                          "symbolPrefix": "",
                          "type": "DIGITAL",
                          "iconUrl": "SOL.png",
                          "features": [
                            "PAYMENT_PRICING",
                            "PAYMENT_RECIPIENT",
                            "SWAP",
                            "DEPOSIT_MERCHANT_RECIPIENT",
                            "DEPOSIT_CUSTOMER_CHECKOUT"
                          ],
                          "orderingType": "NUMERIC",
                          "isNative": true,
                          "blockchain": {
                            "id": "63430c8348c610068bcdc43c",
                            "name": "SOL",
                            "symbol": "SOL",
                            "engine": {
                              "id": "63b574b9d07b6f6f21c13eb2",
                              "type": "SOL"
                            }
                          }
                        }
                      },
                      "paymentRequestCreatorId": "68bef8e8bf9266762395d7a7",
                      "paymentRequestName": "deposit transaction endpoint test",
                      "paymentRequestCurrencySymbol": "SOL",
                      "paymentRequestBlockchain": "SOL",
                      "incomingTransactions": [
                        {
                          "hash": "2azE2LdA7JATeKEvt1aUiWJmFbKSZ9ZgJntXjdjniBrtDhrECj8ZB5BUai5pdbWR2gioMT5Go1cAQbKiB3gBsgrc",
                          "from": "7YancRyNQyp9s6G7YNwx9H93UqswoKWqF9GuNJPufyvW",
                          "to": "6C6gzbxQ1rc5vEbnycWGmTNmLcDhavsNi6C5nAMWEfYn",
                          "value": "48102183",
                          "blockNumber": 437805392,
                          "timestamp": 1769440895,
                          "status": "success",
                          "gasUsed": "5000",
                          "gasPrice": "20000000000",
                          "nonce": 12
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/withdrawal-configs/api-key": {
      "post": {
        "operationId": "WithdrawalConfigsController_createWithdrawWithApi",
        "summary": "Create a Withdrawal Config",
        "description": "Creates a new withdrawal configuration. Requires an API key with the `WITHDRAWS_CREATE` permission. Set `kind` to `raw` for standard cross-chain withdrawals or `hyperliquid` for Hyperliquid (HyperCore) withdrawals, and pass the source currency id(s) in `currencyIds`. Returns a `withdrawalConfigId` used for the public runtime flow.",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key, which can be generated from the Helio Dashboard settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWithdrawalConfigDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Withdrawal config created successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WithdrawalConfigEntity"
                }
              }
            }
          },
          "400": {
            "description": "Validation error (e.g. currency does not support withdrawals)."
          },
          "401": {
            "description": "Provided API key has no access to the resource."
          }
        },
        "tags": [
          "Withdrawals"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/withdrawal-configs/{withdrawalConfigId}/api-key": {
      "patch": {
        "operationId": "WithdrawalConfigsController_updateWithdrawByIdWithApi",
        "summary": "Update a Withdrawal Config",
        "description": "Updates an existing withdrawal configuration. Requires an API key with the `WITHDRAWS_UPDATE` permission.",
        "parameters": [
          {
            "name": "withdrawalConfigId",
            "in": "path",
            "required": true,
            "description": "The withdrawal config ID.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "description": "Your API key, which can be generated from the Helio Dashboard settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWithdrawalConfigDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Withdrawal config updated successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WithdrawalConfigEntity"
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource."
          },
          "404": {
            "description": "Withdrawal config not found."
          }
        },
        "tags": [
          "Withdrawals"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/withdrawal-configs/{withdrawalConfigId}/public": {
      "get": {
        "operationId": "WithdrawalConfigsController_getWithdrawByIdPublic",
        "summary": "Get Public Withdrawal Config",
        "description": "Returns the public withdrawal configuration for a given `withdrawalConfigId`, including the merchant's source currencies. No authentication required (rate-limited).",
        "parameters": [
          {
            "name": "withdrawalConfigId",
            "in": "path",
            "required": true,
            "description": "The withdrawal config ID.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Public withdrawal config retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicWithdrawalConfigEntity"
                }
              }
            }
          },
          "404": {
            "description": "Withdrawal config not found."
          }
        },
        "tags": [
          "Withdrawals"
        ],
        "security": []
      }
    },
    "/v1/withdrawal-transactions/api-key": {
      "get": {
        "operationId": "WithdrawalTransactionsController_getAllWithApiKey",
        "summary": "List Withdrawal Transactions",
        "description": "Returns withdrawal transactions for the authenticated merchant account. Requires an API key with the `WITHDRAWS_READ` permission. Supports pagination and filtering by state, chains, date range, and withdrawal config.",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Your API key, which can be generated from the Helio Dashboard settings page."
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            },
            "description": "Page number (1-based)."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "default": 20,
              "maximum": 100
            },
            "description": "Page size. Defaults to 20, maximum 100."
          },
          {
            "name": "lastItemId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Cursor for pagination. Returns items with `_id` less than this value."
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Search by withdrawal detail ID, destination wallet (prefix), source token, or destination token."
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "createdAt"
            },
            "description": "Sort field. Defaults to `createdAt`."
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "desc"
            },
            "description": "Sort order. Defaults to `desc`."
          },
          {
            "name": "startDate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "ISO 8601 start of `createdAt` range (inclusive)."
          },
          {
            "name": "endDate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "ISO 8601 end of `createdAt` range (inclusive)."
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/WithdrawalState"
              }
            },
            "description": "Filter by one or more withdrawal states.",
            "style": "form",
            "explode": true
          },
          {
            "name": "sourceChain",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by source chain symbol (e.g. `SOL`, `ETH`)."
          },
          {
            "name": "destinationChain",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by destination chain symbol."
          },
          {
            "name": "withdrawalConfigId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by withdrawal config ID."
          }
        ],
        "responses": {
          "200": {
            "description": "Withdrawal transactions retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WithdrawalDetailEnriched"
                  }
                },
                "examples": {
                  "list": {
                    "summary": "Successful list response",
                    "value": [
                      {
                        "withdrawalDetailId": "68129f9cc81cc9397e012b3a",
                        "state": "COMPLETED",
                        "sourceChain": "SOL",
                        "sourceToken": "USDC",
                        "sourceAmount": "1000000",
                        "destinationChain": "ETH",
                        "destinationToken": "USDC",
                        "destinationAmount": "990000",
                        "destinationWalletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0",
                        "txHash": "0xabc123...",
                        "broadcastAck": "acknowledged",
                        "errorReason": null,
                        "customerId": "cust_123",
                        "createdAt": "2025-04-30T22:09:32.978Z",
                        "updatedAt": "2025-04-30T22:10:01.120Z"
                      }
                    ]
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Withdrawals"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/withdrawal-transactions/api-key/count": {
      "get": {
        "operationId": "WithdrawalTransactionsController_countWithApiKey",
        "summary": "Count Withdrawal Transactions",
        "description": "Returns the number of withdrawal transactions matching the same filters as the list endpoint. Requires an API key with the `WITHDRAWS_READ` permission. Response is a raw number (not wrapped in an object).",
        "parameters": [
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Your API key, which can be generated from the Helio Dashboard settings page."
          },
          {
            "name": "startDate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "ISO 8601 start of `createdAt` range (inclusive)."
          },
          {
            "name": "endDate",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "ISO 8601 end of `createdAt` range (inclusive)."
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/WithdrawalState"
              }
            },
            "description": "Filter by one or more withdrawal states.",
            "style": "form",
            "explode": true
          },
          {
            "name": "sourceChain",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by source chain symbol (e.g. `SOL`, `ETH`)."
          },
          {
            "name": "destinationChain",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by destination chain symbol."
          },
          {
            "name": "withdrawalConfigId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Filter by withdrawal config ID."
          }
        ],
        "responses": {
          "200": {
            "description": "Count retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "number",
                  "description": "Number of matching withdrawal transactions."
                },
                "examples": {
                  "count": {
                    "summary": "Successful count response",
                    "value": 42
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Withdrawals"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/withdrawal-transactions/{id}/api-key": {
      "get": {
        "operationId": "WithdrawalTransactionsController_getByIdWithApiKey",
        "summary": "Get a Withdrawal Transaction",
        "description": "Returns a single withdrawal transaction by ID for the authenticated merchant account. Requires an API key with the `WITHDRAWS_READ` permission.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Withdrawal detail ID."
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Your API key, which can be generated from the Helio Dashboard settings page."
          }
        ],
        "responses": {
          "200": {
            "description": "Withdrawal transaction retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WithdrawalDetailEnriched"
                },
                "examples": {
                  "detail": {
                    "summary": "Successful detail response",
                    "value": {
                      "withdrawalDetailId": "68129f9cc81cc9397e012b3a",
                      "state": "COMPLETED",
                      "sourceChain": "SOL",
                      "sourceToken": "USDC",
                      "sourceAmount": "1000000",
                      "destinationChain": "ETH",
                      "destinationToken": "USDC",
                      "destinationAmount": "990000",
                      "destinationWalletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0",
                      "txHash": "0xabc123...",
                      "broadcastAck": "acknowledged",
                      "errorReason": null,
                      "customerId": "cust_123",
                      "createdAt": "2025-04-30T22:09:32.978Z",
                      "updatedAt": "2025-04-30T22:10:01.120Z"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Withdrawal transaction not found."
          }
        },
        "tags": [
          "Withdrawals"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/withdrawal-transactions/signature/{hash}/api-key": {
      "get": {
        "operationId": "WithdrawalTransactionsController_getBySignatureWithApiKey",
        "summary": "Get a Withdrawal Transaction by Signature",
        "description": "Fetches a withdrawal transaction using any blockchain transaction hash associated with the withdrawal. Requires an API key with the `WITHDRAWS_READ` permission.",
        "parameters": [
          {
            "name": "hash",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Blockchain transaction hash or signature."
          },
          {
            "name": "apiKey",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Your API key, which can be generated from the Helio Dashboard settings page."
          }
        ],
        "responses": {
          "200": {
            "description": "Withdrawal transaction retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WithdrawalDetailEnriched"
                },
                "examples": {
                  "detail": {
                    "summary": "Successful detail response",
                    "value": {
                      "withdrawalDetailId": "68129f9cc81cc9397e012b3a",
                      "state": "COMPLETED",
                      "sourceChain": "SOL",
                      "sourceToken": "USDC",
                      "sourceAmount": "1000000",
                      "destinationChain": "ETH",
                      "destinationToken": "USDC",
                      "destinationAmount": "990000",
                      "destinationWalletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0",
                      "txHash": "0xabc123...",
                      "broadcastAck": "acknowledged",
                      "errorReason": null,
                      "customerId": "cust_123",
                      "createdAt": "2025-04-30T22:09:32.978Z",
                      "updatedAt": "2025-04-30T22:10:01.120Z"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource.",
            "content": {
              "application/json": {
                "examples": {
                  "unauthorized": {
                    "summary": "Invalid or missing API key",
                    "value": {
                      "message": "Api key or token is invalid",
                      "code": 401
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Withdrawal transaction not found."
          }
        },
        "tags": [
          "Withdrawals"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/withdraw/{withdrawalConfigId}/routes": {
      "get": {
        "operationId": "WithdrawalRoutesController_listRoutes",
        "summary": "List Withdrawal Routes",
        "description": "Returns available swap/bridge routes for a withdrawal config. The merchant's source assets are fixed by the config; the user picks a destination route. No authentication required (rate-limited).",
        "parameters": [
          {
            "name": "withdrawalConfigId",
            "in": "path",
            "required": true,
            "description": "The withdrawal config ID from setup.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hyperCoreLane",
            "in": "query",
            "required": false,
            "description": "HyperCore USDC only: pass the lane you will prepare with so the listed routes match it. Defaults to `native`.",
            "schema": {
              "$ref": "#/components/schemas/HyperCoreWithdrawalLane"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Routes retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WithdrawalCustomerSwapRoutesResponse"
                }
              }
            }
          },
          "404": {
            "description": "Withdrawal config not found."
          }
        },
        "tags": [
          "Withdrawals"
        ],
        "security": []
      }
    },
    "/v1/withdraw/{withdrawalConfigId}/balances": {
      "get": {
        "operationId": "WithdrawalBalancesController_listBalances",
        "summary": "Get Withdrawal Balances",
        "description": "Returns on-chain balances for a wallet address against the withdrawal config's source currencies. No authentication required (rate-limited, cached ~5s).",
        "parameters": [
          {
            "name": "withdrawalConfigId",
            "in": "path",
            "required": true,
            "description": "The withdrawal config ID.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "walletAddress",
            "in": "query",
            "required": true,
            "description": "Wallet address (holder pubkey) to read balances for.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hyperCoreLane",
            "in": "query",
            "required": false,
            "description": "HyperCore USDC only: pass the lane you will prepare with so `maxWithdrawableAmount` matches it. Defaults to `native`.",
            "schema": {
              "$ref": "#/components/schemas/HyperCoreWithdrawalLane"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Balances retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WithdrawalBalancesResponse"
                }
              }
            }
          },
          "404": {
            "description": "Withdrawal config not found."
          }
        },
        "tags": [
          "Withdrawals"
        ],
        "security": []
      }
    },
    "/v1/withdraw/{withdrawalConfigId}/prepare": {
      "post": {
        "operationId": "WithdrawalPrepareController_prepare",
        "summary": "Prepare a Withdrawal",
        "description": "Quotes a withdrawal and returns a lane-specific payload for the holder to sign. No authentication required (rate-limited). `sourceCurrencyId` is required.",
        "parameters": [
          {
            "name": "withdrawalConfigId",
            "in": "path",
            "required": true,
            "description": "The withdrawal config ID.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PreparedWithdrawalDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Withdrawal prepared successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreparedWithdrawalEntity"
                }
              }
            }
          },
          "400": {
            "description": "Validation error (invalid addresses, amount below minimum, no route available)."
          },
          "404": {
            "description": "Withdrawal config not found."
          }
        },
        "tags": [
          "Withdrawals"
        ],
        "security": []
      }
    },
    "/v1/withdraw/{withdrawalDetailId}/submit": {
      "post": {
        "operationId": "WithdrawalSubmitController_submit",
        "summary": "Submit a Withdrawal",
        "description": "Submits a co-signed transaction for broadcast. Path param is the `withdrawalDetailId` from prepare (not the config id). No authentication required (rate-limited). Submit is idempotent for records already past `QUOTED`.",
        "parameters": [
          {
            "name": "withdrawalDetailId",
            "in": "path",
            "required": true,
            "description": "The per-request withdrawal detail ID returned by prepare.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitWithdrawalDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Withdrawal submitted successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmitWithdrawalEntity"
                }
              }
            }
          },
          "401": {
            "description": "Invalid or expired quote token, or signed transaction verification failed."
          },
          "404": {
            "description": "Withdrawal detail not found."
          },
          "409": {
            "description": "Quote has been refreshed (for example after a re-quote) or a concurrent submit race occurred. Re-fetch the quote, re-sign, and resubmit."
          }
        },
        "tags": [
          "Withdrawals"
        ],
        "security": []
      }
    },
    "/v1/withdraw-details/{id}": {
      "get": {
        "operationId": "WithdrawalDetailController_getDetail",
        "summary": "Get Withdrawal Detail",
        "description": "Polls the status of a withdrawal by `withdrawalDetailId`. No authentication required (rate-limited).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The withdrawal detail ID.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Withdrawal detail retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WithdrawalDetailEntity"
                }
              }
            }
          },
          "404": {
            "description": "Withdrawal detail not found."
          }
        },
        "tags": [
          "Withdrawals"
        ],
        "security": []
      },
      "patch": {
        "operationId": "WithdrawalDetailController_requote",
        "summary": "Update (Re-quote) a Withdrawal Detail",
        "description": "Re-quotes an existing withdrawal in place when inputs change or the quote expires. Returns a fresh `token`, `prepared` payload, and `summary` while reusing the same `withdrawalDetailId`. Only details in `QUOTED` state are re-quotable. Optional `customerId` on the request body is ignored; it is set only on prepare.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "The withdrawal detail ID from prepare.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PreparedWithdrawalDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Withdrawal re-quoted successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreparedWithdrawalEntity"
                }
              }
            }
          },
          "409": {
            "description": "Withdrawal is not re-quotable in its current state (not `QUOTED`)."
          },
          "404": {
            "description": "Withdrawal detail not found."
          }
        },
        "tags": [
          "Withdrawals"
        ],
        "security": []
      }
    },
    "/v1/webhook/withdrawal/api-key": {
      "post": {
        "operationId": "WithdrawalHookController_createByApiKey",
        "summary": "Create a Withdrawal Webhook",
        "description": "Create a webhook to receive withdrawal lifecycle events (`SUBMITTED`, `CONFIRMED`, `FAILED`, `REFUNDED_BY_PROVIDER`). Requires an API key with the `WEBHOOK_CREATE` permission.",
        "parameters": [
          {
            "name": "apiKey",
            "required": true,
            "in": "query",
            "description": "Your API key can be generated on the Helio Dashboard's settings page.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWithdrawalHookByApiKeyDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Webhook created successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WithdrawalHookEntity"
                }
              }
            }
          },
          "401": {
            "description": "Provided API key has no access to the resource."
          }
        },
        "tags": [
          "Webhooks"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/v1/deposit-customers/{depositCustomerToken}/activity": {
      "get": {
        "operationId": "DepositCustomersController_getDepositCustomerActivity",
        "summary": "Get Deposit Customer Activity",
        "description": "Returns a paginated list of deposit transaction activity for a deposit customer, identified by their **deposit customer token**. Each item summarises a single deposit: amounts sent/received (in minimal units, as strings), the source and destination networks, the current status, and the delivery time once settled.\n\n**Authentication:** none (public). The deposit customer token in the path is the credential — keep it secret as you would an API key.",
        "parameters": [
          {
            "name": "depositCustomerToken",
            "in": "path",
            "required": true,
            "description": "The token associated with the deposit customer whose activity is being retrieved.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "transactionStatus",
            "in": "query",
            "required": false,
            "description": "Filter activity by transaction status.",
            "schema": {
              "type": "string",
              "enum": [
                "INITIATED",
                "PENDING",
                "BRIDGING",
                "SUCCESS",
                "FAILED",
                "CANCELED",
                "SETTLED",
                "REFUNDED"
              ]
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number to retrieve (1-based).",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Number of items per page.",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "lastItemId",
            "in": "query",
            "required": false,
            "description": "Cursor for keyset pagination: the id of the last item from the previous page.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Field to sort by.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "description": "Sort order, e.g. asc or desc.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "required": false,
            "description": "Free-text search filter.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "required": false,
            "description": "Start of the time range, in ISO 8601 format.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "required": false,
            "description": "End of the time range, in ISO 8601 format.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paginated deposit customer activity.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DepositCustomerActivityResponse"
                },
                "examples": {
                  "activity": {
                    "summary": "A page of deposit activity",
                    "value": {
                      "data": [
                        {
                          "id": "6900a6c3165d5f39c92828d1",
                          "transactionSignature": "5x8k2...9fA",
                          "amountSent": "10000000",
                          "amountReceived": "9880000",
                          "amountReceivedUsd": "9880000",
                          "currencySymbol": "USDC",
                          "currencyDecimals": 6,
                          "sourceNetwork": "SOL",
                          "destinationNetwork": "BASE",
                          "status": "SUCCESS",
                          "deliveryTimeMs": 42000,
                          "createdAt": "2026-06-25T07:51:12.000Z"
                        }
                      ],
                      "total": 1,
                      "page": 1,
                      "limit": 20
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The deposit customer token is unknown or related data could not be found.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "statusCode": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ]
      }
    },
    "/v1/deposit-customers/{depositCustomerToken}/wallets": {
      "post": {
        "operationId": "DepositCustomersController_assignWalletForEngine",
        "summary": "Assign Deposit Customer Wallet",
        "description": "Assigns or returns a deposit wallet for the specified **blockchain engine** on a deposit customer. If a wallet for that engine already exists, the existing wallet is returned instead of creating a duplicate.\n\nUse this when a customer selects a network in your UI and you need to provision (or retrieve) the corresponding deposit address.\n\n**Authentication:** none (public). The deposit customer token in the path is the credential — keep it secret as you would an API key.",
        "parameters": [
          {
            "name": "depositCustomerToken",
            "in": "path",
            "required": true,
            "description": "The token associated with the deposit customer.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignDepositCustomerWallet"
              },
              "example": {
                "blockchainEngineType": "SOL"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The assigned deposit wallet for the requested blockchain engine.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DepositWalletEnriched"
                },
                "examples": {
                  "assignedWallet": {
                    "summary": "Example assigned deposit wallet",
                    "value": {
                      "id": "6987afc15f2ed144a41ac8a3",
                      "publicKey": "So11111111111111111111111111111111111111112",
                      "blockchainEngine": {
                        "id": "63b6b1200cfb4b3f6131f2b4",
                        "type": "SOL"
                      },
                      "createdAt": "2026-02-07T21:33:53.427Z",
                      "updatedAt": "2026-02-10T13:03:09.599Z"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The requested blockchain engine is not supported for this company, or wallet assignment failed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "statusCode": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "The deposit customer is sanctioned, or the deposit creator is disabled.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "statusCode": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The deposit customer token is unknown, or the customer type does not support wallet assignment.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "statusCode": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Deposits"
        ],
        "security": []
      }
    }
  },
  "info": {
    "title": "Helio Open API",
    "description": "API schema and definitions for Helio API. <br/> \n      The API is using two types of Authentication, for dashboard endpoints we use <b>JSON Web Token (JWT)</b> that is generated by self custodial wallet signing a message from API.</br> \n      We also support authentication with <b>API Key and Secret</b> which can be generated on <a href='https://hel.io'>Helio dashboard</a>.",
    "version": "1.0.0",
    "contact": {}
  },
  "tags": [
    {
      "name": "Webhooks"
    },
    {
      "name": "Exports"
    },
    {
      "name": "Currencies",
      "description": "Supported currencies endpoint, includes fiat and digital assets </br><i>Authentication: </i><b>None</b>"
    }
  ],
  "servers": [
    {
      "description": "Helio API (Mainnet)",
      "url": "https://api.hel.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "platformApiKey": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "Bearer",
        "description": "Add token"
      },
      "idToken": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "Bearer",
        "description": "Log in with Web3Auth idToken"
      },
      "web3auth": {
        "type": "apiKey",
        "in": "header",
        "name": "web3auth"
      },
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Authentication using JWT token"
      },
      "bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Authentication using JWT token"
      },
      "cookie": {
        "type": "apiKey",
        "in": "cookie",
        "name": "SESSIONID"
      }
    },
    "schemas": {
      "GetDepositDto": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "The end of the time range for filtering transactions, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.sssZ)."
          },
          "to": {
            "type": "string",
            "description": "The end of the time range for filtering transactions, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.sssZ)."
          },
          "senderPK": {
            "type": "string",
            "description": "The public key of the sender initiating the transaction.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "GetDepositsResponse": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "id",
            "name",
            "platform",
            "notifyReceiverByEmail",
            "disabled",
            "connectWalletOptions",
            "transferManuallyOptions",
            "payWithCardOptions",
            "createdAt",
            "updatedAt"
          ],
          "properties": {
            "id": {
              "type": "string",
              "description": "Unique identifier of the deposit configuration."
            },
            "name": {
              "type": "string",
              "description": "Human-readable name of the deposit configuration."
            },
            "platform": {
              "type": "string",
              "description": "Platform associated with the deposit configuration."
            },
            "notifyReceiverByEmail": {
              "type": "boolean",
              "description": "Whether the receiver should be notified by email."
            },
            "disabled": {
              "type": "boolean",
              "description": "Indicates whether the deposit configuration is disabled."
            },
            "connectWalletOptions": {
              "type": "object",
              "required": [
                "isActive",
                "title",
                "badge"
              ],
              "properties": {
                "isActive": {
                  "type": "boolean"
                },
                "title": {
                  "type": "string"
                },
                "badge": {
                  "type": "string"
                }
              }
            },
            "transferManuallyOptions": {
              "type": "object",
              "required": [
                "isActive",
                "title",
                "badge"
              ],
              "properties": {
                "isActive": {
                  "type": "boolean"
                },
                "title": {
                  "type": "string"
                },
                "badge": {
                  "type": "string"
                }
              }
            },
            "payWithCardOptions": {
              "type": "object",
              "required": [
                "isActive",
                "title",
                "badge",
                "hasWhiteListDomain"
              ],
              "properties": {
                "isActive": {
                  "type": "boolean"
                },
                "title": {
                  "type": "string"
                },
                "badge": {
                  "type": "string"
                },
                "hasWhiteListDomain": {
                  "type": "boolean"
                }
              }
            },
            "createdAt": {
              "type": "string",
              "format": "date-time"
            },
            "updatedAt": {
              "type": "string",
              "format": "date-time"
            }
          }
        }
      },
      "CreateDepositCustomer": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string",
            "description": "Merchant-defined unique identifier used to reference the customer in the merchant’s system."
          },
          "depositId": {
            "type": "string",
            "description": "Identifier of the deposit."
          },
          "recipientPublicKeys": {
            "type": "array",
            "description": "List of recipient public keys.",
            "minItems": 1,
            "maxItems": 1,
            "items": {
              "type": "string"
            }
          },
          "defaultOnrampAmount": {
            "type": "integer",
            "description": "The default on-ramp amount to prefill for the customer."
          },
          "customerEmail": {
            "type": "string",
            "description": "Prefills the email field in the MoonPay on-ramp widget for the customer."
          },
          "additionalJSON": {
            "type": "string",
            "description": "Optional JSON string containing metadata."
          },
          "blockchainEngineTypes": {
            "type": "array",
            "description": "Optional list of blockchain engines to provision deposit wallets for. When omitted, wallets are created for all supported engines (SOL, BTC, EVM, TRON, HYPERCORE, DOGE). Use this to limit which deposit addresses are generated — for example, pass [\"EVM\", \"BTC\"] to skip SOL if you handle Solana deposits yourself.",
            "uniqueItems": true,
            "items": {
              "type": "string",
              "enum": [
                "SOL",
                "BTC",
                "EVM",
                "TRON",
                "HYPERCORE",
                "DOGE"
              ]
            }
          }
        },
        "required": [
          "customerId",
          "depositId",
          "recipientPublicKeys"
        ]
      },
      "UpdateDepositCustomer": {
        "type": "object",
        "properties": {
          "recipientPublicKeys": {
            "type": "array",
            "description": "List of recipient public keys.",
            "items": {
              "type": "string"
            }
          },
          "disabled": {
            "type": "boolean",
            "description": "Indicates whether the deposit customer is enabled or disabled. Set to true to disable, or false to enable."
          },
          "additionalJSON": {
            "type": "string",
            "description": "Optional JSON string containing metadata."
          }
        }
      },
      "DepositCustomerSwapRoute": {
        "type": "object",
        "required": [
          "id",
          "available",
          "minAmountUsd",
          "toCurrencyId"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Identifier of the swap route."
          },
          "fromCurrency": {
            "type": "object",
            "description": "Source currency for the swap route, including blockchain metadata.",
            "properties": {
              "id": {
                "type": "string"
              },
              "symbol": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "mintAddress": {
                "type": "string"
              },
              "coinMarketCapId": {
                "type": "number"
              },
              "decimals": {
                "type": "number"
              },
              "symbolPrefix": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "blockchain": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "displayName": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "toCurrencyId": {
            "type": "string",
            "description": "ID of the deposit payout currency."
          },
          "available": {
            "type": "boolean",
            "description": "Whether this swap route is currently usable. Filter out routes where `available` is `false` to only show currencies with an active swap path."
          },
          "minAmountUsd": {
            "type": "number",
            "description": "Minimum deposit amount in USD for this route."
          }
        }
      },
      "DepositCustomerResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of the deposit customer."
          },
          "deposit": {
            "type": "object",
            "description": "The enriched deposit object with currencies, company, and creator details."
          },
          "depositWallets": {
            "type": "array",
            "description": "Deposit wallet addresses provisioned for this customer across supported blockchains.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "publicKey": {
                  "type": "string",
                  "description": "The wallet address for this blockchain."
                },
                "blockchainEngine": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string",
                      "description": "Blockchain engine type (e.g. SOL, EVM, BTC)."
                    }
                  }
                }
              }
            }
          },
          "customerId": {
            "type": "string",
            "description": "The merchant-provided customer identifier."
          },
          "customerEmail": {
            "type": "string",
            "description": "Email address of the customer, if provided."
          },
          "token": {
            "type": "string",
            "description": "Unique token identifying this deposit customer session."
          },
          "type": {
            "type": "string",
            "description": "Type of deposit customer (e.g. DEPOSIT)."
          },
          "recipientPublicKeys": {
            "type": "array",
            "description": "List of recipient public keys.",
            "items": {
              "type": "string"
            }
          },
          "defaultOnrampAmount": {
            "type": "number",
            "nullable": true,
            "description": "Default on-ramp amount, if configured."
          },
          "requiredAmountMinimalUnit": {
            "type": "string",
            "nullable": true,
            "description": "Required deposit amount in minimal token units."
          },
          "requiredAmountDecimals": {
            "type": "number",
            "nullable": true,
            "description": "Number of decimals for the required amount."
          },
          "pricingCurrencyId": {
            "type": "string",
            "nullable": true,
            "description": "ID of the pricing currency, if set."
          },
          "remainingDueMinimalUnit": {
            "type": "string",
            "nullable": true,
            "description": "Remaining amount due in minimal token units."
          },
          "depositedCurrency": {
            "type": "object",
            "nullable": true,
            "description": "Currency the customer has deposited in, populated after a deposit is detected.",
            "properties": {
              "symbol": {
                "type": "string"
              },
              "decimals": {
                "type": "number"
              },
              "blockchain": {
                "type": "object",
                "properties": {
                  "symbol": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "disabled": {
            "type": "boolean",
            "description": "Whether this deposit customer is disabled."
          },
          "swapRoutes": {
            "type": "array",
            "description": "Available swap routes into the deposit's payout currency. Each entry includes `available` to indicate whether the route is usable and `minAmountUsd` for the minimum deposit amount in USD.",
            "items": {
              "$ref": "#/components/schemas/DepositCustomerSwapRoute"
            }
          }
        }
      },
      "UpdateDeposit": {
        "type": "object",
        "description": "Request body for updating a deposit. All fields are optional.",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the deposit.",
            "maxLength": 200
          },
          "disabled": {
            "type": "boolean",
            "description": "Whether the deposit is disabled."
          },
          "description": {
            "type": "string",
            "description": "Description of the deposit.",
            "maxLength": 200
          },
          "notifyReceiverByEmail": {
            "type": "boolean",
            "description": "Send email notifications."
          },
          "connectWalletOptions": {
            "$ref": "#/components/schemas/DepositPaymentOption"
          },
          "transferManuallyOptions": {
            "$ref": "#/components/schemas/DepositPaymentOption"
          },
          "payWithCardOptions": {
            "$ref": "#/components/schemas/DepositPaymentCardOption"
          },
          "connectExchangeOptions": {
            "$ref": "#/components/schemas/DepositPaymentOption"
          },
          "disabledBlockchainSymbols": {
            "$ref": "#/components/schemas/disabledBlockchainSymbols"
          },
          "minSweepAmountUsd": {
            "type": "number",
            "description": "Minimum deposit amount in USD before funds are swept to the recipient. Must be greater than 0 and at least the lowest minimum among the deposit's enabled blockchains, otherwise the request fails with a 400 that states that minimum. Blockchains whose own minimum is higher apply their own minimum."
          },
          "themeId": {
            "type": "string",
            "description": "Optional ID of a saved theme to apply to this deposit's hosted pages."
          }
        }
      },
      "CreateDeposit": {
        "type": "object",
        "description": "Request body for creating a deposit.",
        "required": [
          "name",
          "currencyIds"
        ],
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the deposit."
          },
          "description": {
            "type": "string",
            "description": "Optional description of the deposit."
          },
          "currencyIds": {
            "type": "array",
            "description": "Array containing exactly one currency ID. This value can be retrieved using the Currencies endpoint.",
            "minItems": 1,
            "maxItems": 1,
            "items": {
              "type": "string"
            },
            "example": [
              "63430c8348c610068bcdc482"
            ]
          },
          "notifyReceiverByEmail": {
            "type": "boolean",
            "description": "Send email notifications.",
            "default": false
          },
          "connectWalletOptions": {
            "$ref": "#/components/schemas/DepositPaymentOption"
          },
          "transferManuallyOptions": {
            "$ref": "#/components/schemas/DepositPaymentOption"
          },
          "payWithCardOptions": {
            "$ref": "#/components/schemas/DepositPaymentCardOption"
          },
          "connectExchangeOptions": {
            "$ref": "#/components/schemas/DepositPaymentOption"
          },
          "disabledBlockchainSymbols": {
            "$ref": "#/components/schemas/disabledBlockchainSymbols"
          },
          "minSweepAmountUsd": {
            "type": "number",
            "description": "Minimum deposit amount in USD before funds are swept to the recipient. Must be greater than 0 and at least the lowest minimum among the deposit's enabled blockchains, otherwise the request fails with a 400 that states that minimum. Blockchains whose own minimum is higher apply their own minimum."
          },
          "themeId": {
            "type": "string",
            "description": "Optional ID of a saved theme to apply to this deposit's hosted pages."
          }
        }
      },
      "CreateDepositSwapQuote": {
        "type": "object",
        "description": "Request body for fetching a deposit swap quote. For crypto funding send only the common fields and omit `provider`. For fiat funding set `provider` and the fields that provider requires.",
        "required": [
          "fromCurrencyId",
          "amountIn",
          "senderAddress"
        ],
        "properties": {
          "fromCurrencyId": {
            "type": "string",
            "description": "Currency ID the payer funds with. A digital currency for crypto funding (may be on a different chain from, or the same as, the deposit settlement currency), or a fiat currency for `MOONPAY` / `IRON` / `ONRAMPER`. Retrieve IDs via the Get Deposit Currencies endpoint.",
            "example": "63430c8348c610068bcdc482"
          },
          "amountIn": {
            "type": "string",
            "pattern": "^[1-9]\\d*$",
            "description": "Input amount in `fromCurrency` minimal units as a positive integer string, using the currency's `decimals` from GET /v1/currency/all. E.g. `\"1000000\"` = 1 USDC (6 decimals); fiat currencies also use minimal units, so 25 USD (6 decimals) is `\"25000000\"`.",
            "example": "1000000"
          },
          "senderAddress": {
            "type": "string",
            "description": "Payer wallet address. Used to plan the route on the `DECENT` path; ignored by the other providers but still required.",
            "example": "5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1"
          },
          "slippageBps": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10000,
            "default": 100,
            "description": "Slippage tolerance in basis points (1 bps = 0.01%). Forwarded to Decent; ignored elsewhere."
          },
          "paymentMethod": {
            "type": "string",
            "enum": [
              "CRYPTO",
              "ONRAMP",
              "COINBASE",
              "BINANCE"
            ],
            "description": "How the deposit wallet will be funded. When the settling sweep charges a payment-method surcharge (e.g. `COINBASE` on the `GLIDE` and `HELIO` paths) the quote includes it in `paymentMethodFee*` so it matches what settles. Omitted or `CRYPTO`: no surcharge."
          },
          "provider": {
            "type": "string",
            "enum": [
              "MOONPAY",
              "IRON",
              "ONRAMPER"
            ],
            "description": "Fiat provider to quote. Omit for crypto funding: requesting `GLIDE`, `DECENT` or `HELIO` returns 400. `MOONPAY` is the hosted card / wallet / bank checkout; `IRON` is a virtual bank account the payer wires to; `ONRAMPER` is an onramp aggregator (pricing preview only)."
          },
          "depositCustomerId": {
            "type": "string",
            "description": "Required for `MOONPAY`, `IRON` and `ONRAMPER`. The deposit customer the fiat purchase is delivered to; must belong to this deposit."
          },
          "quoteCurrencyCode": {
            "type": "string",
            "description": "Required for `MOONPAY` (MoonPay currency code, e.g. `usdc_sol`) and `ONRAMPER` (Onramper crypto id, e.g. `usdc_solana`). Passed through to the provider; must match the deposit settlement asset."
          },
          "paymentMethodType": {
            "type": "string",
            "enum": [
              "apple_pay",
              "card",
              "ach",
              "fps",
              "fps_open_banking",
              "google_pay",
              "sepa",
              "sepa_open_banking",
              "pix",
              "paypal",
              "venmo",
              "revolut_pay",
              "moonpay_balance",
              "interac"
            ],
            "description": "Required for `MOONPAY`. MoonPay prices per payment method."
          },
          "paymentMethodId": {
            "type": "string",
            "description": "`MOONPAY` only. Identifies a specific saved card."
          },
          "accessToken": {
            "type": "string",
            "description": "`MOONPAY` only. The customer's MoonPay Platform access token, held by the MoonPay web SDK after `getConnection()`. Required for an executable quote; without it (and without `sdkQuote`) the server returns a public preview price. The single-use token from the session endpoint is not accepted."
          },
          "sdkQuote": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoonPaySdkQuote"
              }
            ],
            "description": "`MOONPAY` only. Price from the quote the client already holds instead of fetching a new one."
          },
          "country": {
            "type": "string",
            "minLength": 2,
            "maxLength": 2,
            "description": "Required for `ONRAMPER`. Payer's ISO 3166-1 alpha-2 country code; ramp availability and fees vary by country.",
            "example": "US"
          },
          "onramperPaymentMethod": {
            "type": "string",
            "description": "`ONRAMPER` only. Narrows the quote to a specific Onramper payment method id. Omitted, the best available ramp/method is priced."
          }
        }
      },
      "DepositSwapQuoteResponse": {
        "type": "object",
        "description": "Quote for funding a deposit. Which optional fields are present depends on `provider` — see the provider table on the page.",
        "required": [
          "provider",
          "fromCurrency",
          "toCurrency",
          "amountIn",
          "amountOutNet",
          "platformFeeBps",
          "affiliateFeeBps",
          "expiresAt"
        ],
        "properties": {
          "provider": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DepositSwapProvider"
              }
            ],
            "description": "Who priced this quote."
          },
          "fromCurrency": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Currency"
              }
            ],
            "description": "Enriched input currency. Same shape as items returned by GET /v1/currency/all."
          },
          "toCurrency": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Currency"
              }
            ],
            "description": "Enriched deposit settlement currency, derived server-side from the deposit."
          },
          "amountIn": {
            "type": "string",
            "description": "Input amount in `fromCurrency` minimal units, echoed from the request."
          },
          "amountInUsd": {
            "type": "string",
            "description": "Best-effort USD value of `amountIn`. Omitted when no fresh rate is available.",
            "example": "14.02"
          },
          "amountOutGross": {
            "type": "string",
            "description": "Quoted output in `toCurrency` minimal units before Helio fees. Absent on `GLIDE`, which reports only the post-fee amount."
          },
          "amountOutNet": {
            "type": "string",
            "description": "Net amount the merchant receives after fees, in `toCurrency` minimal units. Always present."
          },
          "amountOutUsd": {
            "type": "string",
            "description": "Best-effort USD value of `amountOutNet`. Omitted when no fresh rate is available.",
            "example": "13.67"
          },
          "platformFeeBps": {
            "type": "integer",
            "description": "Helio platform fee in basis points, excluding the affiliate portion and any payment-method surcharge."
          },
          "platformFeeAmount": {
            "type": "string",
            "description": "Helio platform fee in `toCurrency` minimal units. Absent on `GLIDE` (see `processingFeeUsd`). On `HELIO` it can include a fixed Solana rent surcharge, so do not re-derive it from `platformFeeBps`."
          },
          "affiliateFeeBps": {
            "type": "integer",
            "description": "Affiliate fee in basis points, if any (otherwise 0)."
          },
          "affiliateFeeAmount": {
            "type": "string",
            "description": "Affiliate fee in `toCurrency` minimal units. Absent on `GLIDE`."
          },
          "processingFeeUsd": {
            "type": "string",
            "description": "Processing fee in USD (Helio platform + affiliate, plus the provider's own processing fee on fiat paths). `GLIDE`, `MOONPAY`, `IRON`, `ONRAMPER`."
          },
          "networkFeeUsd": {
            "type": "string",
            "description": "Estimated network / gas cost in USD. `\"0\"` when the route is gas-sponsored. `GLIDE`, `MOONPAY`, `IRON`, `ONRAMPER`."
          },
          "totalFeeUsd": {
            "type": "string",
            "description": "All-in fee in USD. `GLIDE`, `MOONPAY`, `IRON`, `ONRAMPER`."
          },
          "paymentMethodFeeBps": {
            "type": "integer",
            "description": "Payment-method surcharge in basis points (e.g. 30 for a Coinbase deposit). Only when the request set `paymentMethod` and the settling sweep charges it (`GLIDE`, `HELIO`). Not included in `platformFee*`."
          },
          "paymentMethodFeeAmount": {
            "type": "string",
            "description": "Payment-method surcharge in `toCurrency` minimal units. `HELIO` only."
          },
          "paymentMethodFeeUsd": {
            "type": "string",
            "description": "Payment-method surcharge in USD, when a rate is available."
          },
          "slippageBps": {
            "type": "integer",
            "description": "Slippage tolerance in basis points. `DECENT` (echoes the request) and `MOONPAY`."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Quoted rate (`amountOut / amountIn`, in whole units). `1` on `HELIO`. Informational; not used in settlement."
          },
          "estimatedPriceImpact": {
            "type": "number",
            "description": "Estimated price impact for the route (percentage). `DECENT` only. Informational."
          },
          "etaSeconds": {
            "type": "integer",
            "description": "Estimated seconds until the transfer settles. `GLIDE` only.",
            "example": 30
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp after which the quote should not be relied upon. 30 seconds from issue on every path except `MOONPAY`, where it is MoonPay's own expiry."
          },
          "exchangeRateType": {
            "type": "string",
            "enum": [
              "fixed",
              "floating"
            ],
            "description": "`MOONPAY` only. `fixed` locks the rate at quote time (card, Apple Pay, Google Pay); `floating` is an estimate confirmed at settlement (bank transfers) and must be presented to the customer as an estimate."
          },
          "signature": {
            "type": "string",
            "description": "`MOONPAY` only. Opaque token the MoonPay payment frame needs to initialise."
          },
          "paymentDisclosures": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MoonPayPaymentDisclosure"
            },
            "description": "`MOONPAY` only. Disclosures that must be rendered verbatim to the customer before they pay. Empty when none apply."
          },
          "challenge": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MoonPayQuoteChallenge"
              }
            ],
            "description": "`MOONPAY` only. Present when the customer must complete a hosted frame before the quote can proceed."
          }
        }
      },
      "DepositResponse": {
        "type": "object",
        "description": "Response body for a deposit.",
        "required": [
          "id",
          "name",
          "platform",
          "notifyReceiverByEmail",
          "disabled",
          "createdAt",
          "updatedAt"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of the deposit."
          },
          "name": {
            "type": "string",
            "description": "Name of the deposit."
          },
          "description": {
            "type": "string",
            "description": "Description of the deposit."
          },
          "paylinkId": {
            "type": "string",
            "description": "Associated paylink identifier."
          },
          "platform": {
            "type": "string",
            "description": "Platform associated with the deposit.",
            "enum": [
              "HELIO",
              "MAGIC_EDEN"
            ]
          },
          "notifyReceiverByEmail": {
            "type": "boolean",
            "description": "Whether the receiver is notified by email."
          },
          "disabled": {
            "type": "boolean",
            "description": "Whether the deposit is disabled."
          },
          "disabledBlockchainSymbols": {
            "$ref": "#/components/schemas/disabledBlockchainSymbols"
          },
          "connectWalletOptions": {
            "$ref": "#/components/schemas/DepositPaymentOption"
          },
          "transferManuallyOptions": {
            "$ref": "#/components/schemas/DepositPaymentOption"
          },
          "payWithCardOptions": {
            "$ref": "#/components/schemas/DepositPaymentCardOption"
          },
          "connectExchangeOptions": {
            "$ref": "#/components/schemas/DepositPaymentOption"
          },
          "minSweepAmountUsd": {
            "type": "number",
            "description": "Minimum deposit amount in USD set on the deposit. Each blockchain sweeps at the higher of this value and its own minimum."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp when the deposit was created."
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp when the deposit was last updated."
          }
        }
      },
      "DepositPaymentOption": {
        "type": "object",
        "description": "Configuration for a deposit payment option.",
        "properties": {
          "isActive": {
            "type": "boolean",
            "description": "Whether this option is shown/enabled."
          },
          "title": {
            "type": "string",
            "description": "Display title for this option."
          },
          "badge": {
            "type": "string",
            "description": "Optional badge label for this option."
          },
          "order": {
            "type": "number",
            "description": "Display order for this option."
          }
        }
      },
      "DepositPaymentCardOption": {
        "type": "object",
        "description": "Configuration for a deposit payment option.",
        "properties": {
          "isActive": {
            "type": "boolean",
            "description": "Whether this option is shown/enabled."
          },
          "title": {
            "type": "string",
            "description": "Display title for this option."
          },
          "badge": {
            "type": "string",
            "description": "Optional badge label for this option."
          },
          "order": {
            "type": "number",
            "description": "Display order for this option."
          },
          "hasWhiteListDomain": {
            "type": "boolean",
            "description": "Whether a whitelist domain is set."
          }
        }
      },
      "disabledBlockchainSymbols": {
        "type": "array",
        "description": "List of blockchain symbols for which deposits are disabled.",
        "items": {
          "type": "string",
          "enum": [
            "SOL",
            "ETH",
            "POLYGON",
            "BASE",
            "BITCOIN",
            "ARBITRUM",
            "BSC",
            "TRON",
            "ABSTRACT",
            "HYPERLIQUID",
            "HYPERCORE",
            "PLASMA"
          ]
        },
        "uniqueItems": true,
        "default": [],
        "example": [
          [
            "SOL",
            "BASE"
          ]
        ]
      },
      "PrepareHeadlessTransaction": {
        "type": "object",
        "properties": {
          "paymentRequestId": {
            "type": "string",
            "description": "The ID of the associated payment request."
          },
          "senderPublicKey": {
            "type": "string",
            "description": "The sender’s public key on the Solana blockchain."
          },
          "currencyId": {
            "type": "string",
            "description": "The identifier of the currency being used for the transaction."
          },
          "quantity": {
            "type": "number",
            "description": "The quantity of the selected currency."
          },
          "minimalUnitAmount": {
            "type": "number",
            "description": "The minimal unit amount (e.g., in lamports for Solana)."
          },
          "affiliateCode": {
            "type": "string",
            "description": "Optional affiliate or referral code linked to the transaction."
          },
          "btcPublicKey": {
            "type": "string",
            "description": "Optional Bitcoin public key if BTC-related properties are included."
          },
          "customerDetails": {
            "type": "object",
            "description": "Details of the customer making the transaction. If the pay link is configured to require these fields, they are no longer optional.",
            "properties": {
              "email": {
                "type": "string",
                "description": "The customer’s email address."
              },
              "discordUser": {
                "type": "object",
                "description": "Discord user details.",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Discord user ID."
                  },
                  "username": {
                    "type": "string",
                    "description": "Discord username."
                  }
                }
              },
              "twitterUsername": {
                "type": "string",
                "description": "Twitter username."
              },
              "telegramUser": {
                "type": "object",
                "description": "Telegram user details.",
                "properties": {
                  "id": {
                    "type": "number",
                    "description": "Telegram user ID."
                  },
                  "username": {
                    "type": "string",
                    "description": "Telegram username."
                  }
                }
              },
              "fullName": {
                "type": "string",
                "description": "The customer’s full name."
              },
              "country": {
                "type": "string",
                "description": "Country of the customer."
              },
              "state": {
                "type": "string",
                "description": "State of the customer."
              },
              "city": {
                "type": "string",
                "description": "City of the customer."
              },
              "street": {
                "type": "string",
                "description": "Street name."
              },
              "streetNumber": {
                "type": "string",
                "description": "Street number."
              },
              "areaCode": {
                "type": "string",
                "description": "Postal or area code."
              },
              "deliveryAddress": {
                "type": "string",
                "description": "Delivery address, if applicable."
              },
              "blinkAddress": {
                "type": "string",
                "description": "Optional Blink wallet address."
              },
              "phoneNumber": {
                "type": "string",
                "description": "The customer’s phone number."
              },
              "additionalJSON": {
                "type": "string",
                "description": "Optional additional metadata in JSON format."
              },
              "btcProperties": {
                "type": "object",
                "description": "Additional Bitcoin-related properties.",
                "properties": {
                  "ordinalsAddress": {
                    "type": "string",
                    "description": "The Ordinals wallet address for inscriptions."
                  }
                }
              }
            }
          },
          "productDetails": {
            "type": "object",
            "description": "Details of the product involved in the transaction.",
            "properties": {
              "name": {
                "type": "string",
                "description": "The name of the product."
              },
              "value": {
                "type": "string",
                "description": "The value or SKU of the product."
              },
              "active": {
                "type": "boolean",
                "description": "Whether the product is active."
              }
            }
          }
        },
        "required": [
          "paymentRequestId",
          "senderPublicKey"
        ]
      },
      "SubmitHeadlessTransaction": {
        "type": "object",
        "properties": {
          "signedTransaction": {
            "type": "string",
            "description": "The serialized transaction signed by the payer."
          },
          "transactionToken": {
            "type": "string",
            "description": "The token returned from the prepare step, used to identify the transaction."
          }
        },
        "required": [
          "signedTransaction",
          "transactionToken"
        ]
      },
      "SwapRouteStatusItem": {
        "type": "object",
        "required": [
          "id",
          "available"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Identifier of the swap route status record."
          },
          "fromCurrency": {
            "nullable": true,
            "description": "Source currency for the swap route, including blockchain metadata when present.",
            "allOf": [
              {
                "$ref": "#/components/schemas/Currency"
              }
            ]
          },
          "toCurrency": {
            "nullable": true,
            "description": "Destination (deposit payout) currency for the route, including blockchain metadata when present.",
            "allOf": [
              {
                "$ref": "#/components/schemas/Currency"
              }
            ]
          },
          "available": {
            "type": "boolean",
            "description": "When `false`, the route should not be offered for swaps; filter these items out if you only display currencies with an active swap path."
          }
        }
      },
      "SwapRouteStatusResponse": {
        "type": "object",
        "required": [
          "data"
        ],
        "properties": {
          "data": {
            "type": "array",
            "description": "Swap routes into the deposit’s configured payout currency.",
            "items": {
              "$ref": "#/components/schemas/SwapRouteStatusItem"
            }
          }
        }
      },
      "ExternalSignUpRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Merchant-generated unique identifier used as a stable external reference for the account."
          },
          "wallets": {
            "type": "array",
            "description": "List of user wallets to associate with the sign-up request.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "Name or label for the wallet."
                },
                "address": {
                  "type": "string",
                  "description": "Public address of the wallet."
                }
              },
              "required": [
                "name",
                "address"
              ]
            }
          },
          "user": {
            "type": "object",
            "description": "Details about the individual user signing up.",
            "properties": {
              "email": {
                "type": "string",
                "description": "Email address of the user."
              },
              "name": {
                "type": "string",
                "description": "Full name of the user."
              },
              "discordUsername": {
                "type": "string",
                "description": "Discord handle of the user."
              },
              "twitterUsername": {
                "type": "string",
                "description": "Twitter handle of the user."
              }
            }
          },
          "company": {
            "type": "object",
            "description": "Details about the company associated with the sign-up.",
            "properties": {
              "name": {
                "type": "string",
                "description": "Company name."
              },
              "email": {
                "type": "string",
                "description": "Company contact email address."
              },
              "websiteUrl": {
                "type": "string",
                "description": "URL of the company website."
              },
              "discordUsername": {
                "type": "string",
                "description": "Company's Discord handle."
              },
              "address": {
                "type": "string",
                "description": "Physical address of the company."
              },
              "phoneNumber": {
                "type": "string",
                "description": "Contact phone number for the company."
              },
              "kycVerified": {
                "type": "boolean",
                "description": "Indicates whether the company has passed KYC verification."
              }
            },
            "required": [
              "kycVerified"
            ]
          }
        },
        "required": [
          "id",
          "user",
          "company"
        ]
      },
      "SessionUpdateRequest": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The merchant-generated unique identifier used as a stable external reference for the account."
          }
        },
        "required": [
          "id"
        ]
      },
      "ExportedPayment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "txSignature": {
            "type": "string"
          },
          "solScanLink": {
            "type": "string"
          },
          "paymentRequestId": {
            "type": "string"
          },
          "paymentRequestUrl": {
            "type": "string"
          },
          "paymentRequestName": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "time": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "decimalAmount": {
            "type": "string"
          },
          "totalAmountAsUSD": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          },
          "blockchain": {
            "type": "string",
            "enum": [
              "SOL"
            ]
          },
          "from": {
            "type": "string"
          },
          "paymentRequestUrlWithSlug": {
            "type": "string"
          },
          "cancelAt": {
            "type": "number"
          },
          "endAt": {
            "type": "number"
          },
          "startAt": {
            "type": "number"
          },
          "intervalUnit": {
            "type": "string",
            "enum": [
              "SECOND"
            ]
          },
          "email": {
            "type": "string"
          },
          "discordUsername": {
            "type": "string"
          },
          "twitterUsername": {
            "type": "string"
          },
          "telegramUsername": {
            "type": "string"
          },
          "fullName": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "deliveryAddress": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "street": {
            "type": "string"
          },
          "streetNumber": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "areaCode": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "affiliateFee": {
            "type": "number"
          },
          "affiliateWallet": {
            "type": "string"
          },
          "fee": {
            "type": "number"
          },
          "transactionStatus": {
            "type": "string"
          },
          "btcProperties": {
            "type": "object",
            "properties": {
              "ordinalsAddress": {
                "type": "string"
              }
            }
          },
          "transactionType": {
            "type": "string",
            "enum": [
              "REFUNDED"
            ]
          },
          "additionalJSON": {
            "type": "string"
          },
          "discountCode": {
            "type": "string"
          }
        }
      },
      "ExportedWithdrawal": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Withdrawal detail ID."
          },
          "state": {
            "$ref": "#/components/schemas/WithdrawalState"
          },
          "time": {
            "type": "string",
            "description": "ISO 8601 created timestamp."
          },
          "sourceChain": {
            "type": "string"
          },
          "sourceToken": {
            "type": "string"
          },
          "sourceAmount": {
            "type": "string",
            "description": "Source amount in atomic units."
          },
          "destinationChain": {
            "type": "string"
          },
          "destinationToken": {
            "type": "string"
          },
          "destinationAmount": {
            "type": "string",
            "description": "Destination amount in atomic units."
          },
          "destinationWalletAddress": {
            "type": "string"
          },
          "sourceTxHash": {
            "type": "string",
            "nullable": true
          },
          "sourceTxExplorerLink": {
            "type": "string",
            "nullable": true
          },
          "destinationTxHash": {
            "type": "string",
            "nullable": true
          },
          "destinationTxExplorerLink": {
            "type": "string",
            "nullable": true
          },
          "platformFee": {
            "type": "string"
          },
          "affiliateFee": {
            "type": "string"
          },
          "decentBridgeFee": {
            "type": "string"
          },
          "networkGasSource": {
            "type": "string"
          },
          "networkGasDestination": {
            "type": "string",
            "nullable": true
          },
          "transactionType": {
            "type": "string",
            "enum": [
              "WITHDRAWAL"
            ],
            "description": "Always `WITHDRAWAL` for this export."
          }
        }
      },
      "PlatformDetails": {
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string"
          },
          "issuer": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "publicAddress": {
            "type": "string"
          },
          "platform": {
            "type": "string",
            "enum": [
              "HELIO",
              "MAGIC_EDEN"
            ]
          }
        },
        "required": [
          "platform"
        ]
      },
      "UserWithPlatformDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "isDisabled": {
            "type": "boolean"
          },
          "platformDetails": {
            "$ref": "#/components/schemas/PlatformDetails"
          }
        },
        "required": [
          "id",
          "isDisabled"
        ]
      },
      "PlatformDetailsBase": {
        "type": "object",
        "properties": {
          "platform": {
            "type": "string",
            "enum": [
              "HELIO",
              "MAGIC_EDEN"
            ]
          }
        },
        "required": [
          "platform"
        ]
      },
      "UserAffiliateCode": {
        "type": "object",
        "properties": {
          "affiliateCode": {
            "type": "string"
          }
        },
        "required": [
          "affiliateCode"
        ]
      },
      "ShallowEnrichedUser": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "userType": {
            "nullable": true,
            "enum": [
              "MERCHANT",
              "BUYER"
            ],
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "discordUsername": {
            "type": "string"
          },
          "twitterUsername": {
            "type": "string"
          },
          "isDisabled": {
            "type": "boolean"
          },
          "kycVerified": {
            "type": "boolean"
          },
          "helioVerified": {
            "type": "boolean",
            "description": "undefined = pending helio verification\nOnly set to true/false once approved/denied."
          },
          "platformDetails": {
            "$ref": "#/components/schemas/PlatformDetailsBase"
          },
          "affiliateCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserAffiliateCode"
            }
          }
        },
        "required": [
          "id",
          "userType"
        ]
      },
      "UpdateUserTypeDto": {
        "type": "object",
        "properties": {
          "userType": {
            "type": "string",
            "enum": [
              "MERCHANT",
              "BUYER"
            ]
          }
        },
        "required": [
          "userType"
        ]
      },
      "UpdateUserDto": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "UpdateUserStatusDto": {
        "type": "object",
        "properties": {
          "isDisabled": {
            "type": "boolean"
          },
          "key": {
            "type": "string",
            "enum": [
              "externalId",
              "email",
              "publicAddress",
              "issuer"
            ]
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "isDisabled",
          "key",
          "value"
        ]
      },
      "CreatePlatformAPIKeyDto": {
        "type": "object",
        "properties": {
          "platform": {
            "type": "string",
            "enum": [
              "HELIO",
              "MAGIC_EDEN"
            ]
          }
        },
        "required": [
          "platform"
        ]
      },
      "PlatformAPIKey": {
        "type": "object",
        "properties": {}
      },
      "TransactionStatsBuyer": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "number"
          },
          "count": {
            "type": "number"
          }
        },
        "required": [
          "amount",
          "count"
        ]
      },
      "ContentResponse": {
        "type": "object",
        "properties": {}
      },
      "PaystreamCheckoutStatusResponse": {
        "type": "object",
        "properties": {
          "startedAt": {
            "format": "int64",
            "type": "integer"
          },
          "endedAt": {
            "format": "int64",
            "type": "integer"
          },
          "transactionStatus": {
            "type": "string",
            "enum": [
              "INITIATED",
              "PENDING",
              "SUCCESS",
              "FAILED",
              "CANCELED",
              "SETTLED"
            ]
          },
          "transactionSignature": {
            "type": "string"
          },
          "paymentData": {
            "type": "object",
            "properties": {
              "document": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "createdAt": {
                    "type": "string"
                  },
                  "paymentPK": {
                    "type": "string"
                  },
                  "maxTime": {
                    "type": "number"
                  }
                },
                "required": [
                  "id",
                  "createdAt",
                  "paymentPK",
                  "maxTime"
                ]
              },
              "content": {
                "$ref": "#/components/schemas/ContentResponse"
              }
            }
          }
        },
        "required": [
          "transactionStatus",
          "paymentData"
        ]
      },
      "PaylinkTxWithShallowEnrichedPaylink": {
        "type": "object",
        "properties": {}
      },
      "ReportItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "txSignature": {
            "type": "string"
          },
          "solScanLink": {
            "type": "string"
          },
          "paymentRequestId": {
            "type": "string"
          },
          "paymentRequestUrl": {
            "type": "string"
          },
          "paymentRequestName": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "time": {
            "type": "string"
          },
          "amount": {
            "format": "int64",
            "type": "integer"
          },
          "decimalAmount": {
            "type": "string"
          },
          "totalAmountAsUSD": {
            "format": "int64",
            "type": "integer"
          },
          "convertedAmount": {
            "type": "number",
            "deprecated": true
          },
          "currency": {
            "type": "string"
          },
          "blockchain": {
            "type": "string",
            "enum": [
              "SOL",
              "ETH",
              "POLYGON",
              "BASE",
              "BITCOIN"
            ]
          },
          "from": {
            "type": "string"
          },
          "paymentRequestUrlWithSlug": {
            "type": "string"
          },
          "cancelAt": {
            "type": "number"
          },
          "endAt": {
            "type": "number"
          },
          "startAt": {
            "type": "number"
          },
          "intervalUnit": {
            "type": "string",
            "enum": [
              "SECOND",
              "MINUTE",
              "HOUR",
              "DAY",
              "WEEK",
              "MONTH",
              "YEAR"
            ]
          },
          "email": {
            "type": "string"
          },
          "discordUsername": {
            "type": "string"
          },
          "twitterUsername": {
            "type": "string"
          },
          "telegramUsername": {
            "type": "string"
          },
          "fullName": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "deliveryAddress": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "street": {
            "type": "string"
          },
          "streetNumber": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "areaCode": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "affiliateFee": {
            "format": "int64",
            "type": "integer"
          },
          "affiliateWallet": {
            "type": "string"
          },
          "fee": {
            "type": "number"
          },
          "transactionStatus": {
            "type": "string"
          },
          "btcProperties": {
            "type": "object",
            "properties": {
              "ordinalsAddress": {
                "type": "string"
              }
            }
          },
          "transactionType": {
            "type": "string",
            "enum": [
              "REFUNDED",
              "PAYLINK",
              "INVOICE",
              "STREAM"
            ]
          },
          "additionalJSON": {
            "type": "string"
          },
          "discountCode": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "txSignature",
          "solScanLink",
          "paymentRequestId",
          "paymentRequestUrl",
          "paymentRequestName",
          "quantity",
          "time",
          "amount",
          "decimalAmount",
          "convertedAmount",
          "currency",
          "blockchain",
          "from",
          "fee",
          "transactionStatus",
          "btcProperties"
        ]
      },
      "Company": {
        "type": "object",
        "properties": {}
      },
      "BlockchainEngine": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "EVM",
              "SOL",
              "BTC"
            ]
          }
        },
        "required": [
          "id",
          "type"
        ]
      },
      "Blockchain": {
        "type": "object",
        "properties": {
          "engine": {
            "$ref": "#/components/schemas/BlockchainEngine"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "symbol": {
            "type": "string",
            "enum": [
              "SOL",
              "ETH",
              "POLYGON",
              "BASE",
              "BITCOIN"
            ]
          }
        },
        "required": [
          "engine",
          "id",
          "name",
          "symbol"
        ]
      },
      "BTCProperties": {
        "type": "object",
        "properties": {}
      },
      "Wallet": {
        "type": "object",
        "properties": {
          "blockchain": {
            "$ref": "#/components/schemas/Blockchain"
          },
          "blockchainEngine": {
            "$ref": "#/components/schemas/BlockchainEngine"
          },
          "id": {
            "type": "string"
          },
          "publicKey": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "btcProperties": {
            "$ref": "#/components/schemas/BTCProperties"
          },
          "type": {
            "enum": [
              "EXTENSION",
              "WEB3AUTH"
            ],
            "type": "string"
          }
        },
        "required": [
          "blockchainEngine",
          "id",
          "publicKey"
        ]
      },
      "PayoutWallet": {
        "type": "object",
        "properties": {
          "blockchainEngine": {
            "$ref": "#/components/schemas/BlockchainEngine"
          },
          "id": {
            "type": "string"
          },
          "publicKey": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "blockchainEngine",
          "id",
          "publicKey",
          "name"
        ]
      },
      "CompanyPaymentWallets": {
        "type": "object",
        "properties": {
          "wallets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Wallet"
            }
          },
          "payoutWallets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PayoutWallet"
            }
          }
        },
        "required": [
          "wallets",
          "payoutWallets"
        ]
      },
      "GetWallet": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of the wallet"
          },
          "publicKey": {
            "type": "string",
            "description": "Public address of the wallet"
          },
          "blockchainEngineType": {
            "type": "string",
            "description": "Blockchain engine the wallet is associated with",
            "example": "SOL"
          },
          "walletCategory": {
            "type": "string",
            "description": "Category of the wallet",
            "example": "CONNECTED"
          },
          "name": {
            "type": "string",
            "description": "Human-readable wallet name"
          },
          "type": {
            "type": "string",
            "description": "Wallet type",
            "example": "EXTENSION"
          },
          "origin": {
            "type": "string",
            "description": "Wallet provider or origin",
            "example": "PHANTOM"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "ISO timestamp when the wallet was created"
          }
        },
        "required": [
          "id",
          "publicKey",
          "blockchainEngineType",
          "walletCategory"
        ]
      },
      "UpdateCompanyDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "websiteUrl": {
            "type": "string"
          },
          "discordUsername": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          }
        }
      },
      "CreateApiKeyDto": {
        "type": "object",
        "properties": {
          "publicKey": {
            "type": "string"
          },
          "expiration": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "ApiKey": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "apiKey": {
            "type": "string"
          },
          "secretHash": {
            "type": "string"
          },
          "inactive": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "apiKey",
          "inactive"
        ]
      },
      "CreateAttachmentDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "attachableId": {
            "type": "string"
          },
          "file": {
            "type": "object"
          }
        },
        "required": [
          "name",
          "file"
        ]
      },
      "CreateMultipleAttachmentDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "attachableId": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "name"
        ]
      },
      "BaseUser": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "userType": {
            "type": "string",
            "nullable": true,
            "enum": [
              "MERCHANT",
              "BUYER"
            ]
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "discordUsername": {
            "type": "string"
          },
          "twitterUsername": {
            "type": "string"
          },
          "isDisabled": {
            "type": "boolean"
          },
          "kycVerified": {
            "type": "boolean"
          },
          "helioVerified": {
            "type": "boolean",
            "description": "undefined = pending helio verification\nOnly set to true/false once approved/denied."
          },
          "platformDetails": {
            "$ref": "#/components/schemas/PlatformDetailsBase"
          },
          "affiliateCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserAffiliateCode"
            }
          }
        },
        "required": [
          "id",
          "userType"
        ]
      },
      "BaseAttachment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "url",
          "type"
        ]
      },
      "CompanyWithLogo": {
        "type": "object",
        "properties": {
          "logo": {
            "$ref": "#/components/schemas/BaseAttachment"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "logoUrl": {
            "type": "string"
          },
          "websiteUrl": {
            "type": "string"
          },
          "twitterUsername": {
            "type": "string"
          },
          "discordUsername": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "twitterConfirmed": {
            "type": "boolean"
          },
          "escrowFunds": {
            "type": "boolean"
          },
          "kycVerified": {
            "type": "boolean"
          },
          "kybVerified": {
            "type": "boolean"
          },
          "helioVerified": {
            "type": "boolean",
            "description": "undefined = pending helio verification\nOnly set to true/false once approved/denied."
          }
        },
        "required": [
          "logo",
          "id"
        ]
      },
      "CompanyInvite": {
        "type": "object",
        "properties": {
          "user": {
            "$ref": "#/components/schemas/BaseUser"
          },
          "company": {
            "$ref": "#/components/schemas/CompanyWithLogo"
          },
          "id": {
            "type": "string"
          },
          "inviteeWalletAddress": {
            "type": "string"
          },
          "status": {
            "enum": [
              "ACTIVE",
              "PENDING",
              "REJECTED"
            ],
            "type": "string"
          },
          "inviteeEmail": {
            "type": "string"
          },
          "invitedAt": {
            "format": "date-time",
            "type": "string"
          },
          "inviteeName": {
            "type": "string"
          }
        },
        "required": [
          "user",
          "company",
          "id",
          "inviteeWalletAddress",
          "status"
        ]
      },
      "WalletDetails": {
        "type": "object",
        "properties": {
          "isHelioX": {
            "type": "boolean"
          }
        },
        "required": [
          "isHelioX"
        ]
      },
      "UpdateWalletDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 32
          }
        }
      },
      "Currency": {
        "type": "object",
        "properties": {
          "blockchain": {
            "$ref": "#/components/schemas/Blockchain"
          },
          "id": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "mintAddress": {
            "type": "string"
          },
          "coinMarketCapId": {
            "type": "number"
          },
          "decimals": {
            "type": "number"
          },
          "minDecimals": {
            "type": "number"
          },
          "symbolPrefix": {
            "type": "string"
          },
          "order": {
            "type": "number"
          },
          "type": {
            "enum": [
              "FIAT",
              "DIGITAL"
            ],
            "type": "string"
          },
          "features": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "PAYMENT_PRICING",
                "PAYMENT_RECIPIENT",
                "SWAP"
              ]
            }
          },
          "iconUrl": {
            "type": "string"
          }
        },
        "required": [
          "blockchain",
          "id",
          "symbol",
          "name",
          "mintAddress",
          "coinMarketCapId",
          "decimals",
          "order"
        ]
      },
      "CurrencyOrderingDto": {
        "type": "object",
        "properties": {
          "symbol": {
            "type": "string"
          },
          "pricing": {
            "type": "boolean"
          },
          "recipient": {
            "type": "boolean"
          },
          "swap": {
            "type": "boolean"
          },
          "blockchainSymbol": {
            "type": "string",
            "enum": [
              "SOL",
              "ETH",
              "POLYGON",
              "BASE",
              "BITCOIN"
            ]
          }
        },
        "required": [
          "symbol",
          "pricing",
          "recipient",
          "swap"
        ]
      },
      "CurrencyOrderingsDto": {
        "type": "object",
        "properties": {
          "orderings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CurrencyOrderingDto"
            }
          }
        },
        "required": [
          "orderings"
        ]
      },
      "ContactAddress": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string"
          },
          "postCode": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "street": {
            "type": "string"
          },
          "streetNumber": {
            "type": "string"
          },
          "additionalInfo": {
            "type": "string"
          }
        }
      },
      "Contact": {
        "type": "object",
        "properties": {
          "totalCharged": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "fullName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "publicKey": {
            "type": "string"
          },
          "twitterUsername": {
            "type": "string"
          },
          "discordUsername": {
            "type": "string"
          },
          "address": {
            "$ref": "#/components/schemas/ContactAddress"
          },
          "company": {
            "type": "string"
          }
        },
        "required": [
          "fullName",
          "email",
          "publicKey",
          "twitterUsername",
          "discordUsername",
          "address"
        ]
      },
      "ContactAddressDto": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "postCode": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "street": {
            "type": "string"
          },
          "streetNumber": {
            "type": "string"
          },
          "additionalInfo": {
            "type": "string"
          }
        }
      },
      "UpdateContactDto": {
        "type": "object",
        "properties": {
          "fullName": {
            "type": "string"
          },
          "publicKey": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "company": {
            "type": "string"
          },
          "twitterUsername": {
            "type": "string"
          },
          "discordUsername": {
            "type": "string"
          },
          "address": {
            "$ref": "#/components/schemas/ContactAddressDto"
          }
        }
      },
      "CreateContactDto": {
        "type": "object",
        "properties": {
          "fullName": {
            "type": "string"
          },
          "publicKey": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "twitterUsername": {
            "type": "string"
          },
          "discordUsername": {
            "type": "string"
          },
          "company": {
            "type": "string"
          },
          "address": {
            "$ref": "#/components/schemas/ContactAddressDto"
          }
        },
        "required": [
          "fullName"
        ]
      },
      "BigInt": {
        "type": "object",
        "properties": {}
      },
      "CreatePayoutWalletDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 32
          },
          "address": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "address"
        ]
      },
      "LinkFeatures": {
        "type": "object",
        "properties": {
          "requireEmail": {
            "type": "boolean"
          },
          "requireDiscordUsername": {
            "type": "boolean"
          },
          "requireDiscordLogin": {
            "type": "boolean"
          },
          "requireFullName": {
            "type": "boolean"
          },
          "requireTwitterUsername": {
            "type": "boolean"
          },
          "requireTelegramUsername": {
            "type": "boolean"
          },
          "requireCountry": {
            "type": "boolean"
          },
          "requireDeliveryAddress": {
            "type": "boolean"
          },
          "requirePhoneNumber": {
            "type": "boolean"
          },
          "requireProductDetails": {
            "type": "boolean"
          },
          "requireMaxTransactions": {
            "type": "boolean"
          },
          "splitRevenue": {
            "type": "boolean"
          },
          "splitEqually": {
            "type": "boolean"
          },
          "requireNftGate": {
            "type": "boolean"
          },
          "requireDiscordAuth": {
            "type": "boolean"
          },
          "requireAccessCode": {
            "type": "boolean"
          },
          "requireXFollow": {
            "type": "boolean"
          },
          "canSwapTokens": {
            "type": "boolean"
          },
          "canPayWithCard": {
            "type": "boolean"
          },
          "nftDropEnabled": {
            "type": "boolean"
          },
          "showDiscountCode": {
            "type": "boolean"
          },
          "allowAffiliate": {
            "type": "boolean"
          },
          "isEventEnabled": {
            "type": "boolean"
          },
          "enableCountdown": {
            "type": "boolean"
          },
          "shouldRedirectOnSuccess": {
            "type": "boolean"
          },
          "customThemeEnabled": {
            "type": "boolean"
          },
          "hasRedirectQueryParams": {
            "type": "boolean"
          },
          "isHelioPlay": {
            "type": "boolean"
          },
          "canChangePrice": {
            "type": "boolean"
          },
          "requireQuantityLimits": {
            "type": "boolean"
          },
          "canChangeQuantity": {
            "type": "boolean"
          },
          "isEscrowed": {
            "type": "boolean"
          },
          "requireAllowlist": {
            "type": "boolean"
          },
          "requireAirdrop": {
            "type": "boolean"
          },
          "requireRaffle": {
            "type": "boolean"
          },
          "requireCaptchaValidation": {
            "type": "boolean"
          },
          "isSubscription": {
            "type": "boolean"
          },
          "hasStripeApiKey": {
            "type": "boolean"
          },
          "disableEmailReceipt": {
            "type": "boolean"
          }
        }
      },
      "AffiliateDetails": {
        "type": "object",
        "properties": {
          "bps": {
            "type": "number"
          }
        },
        "required": [
          "bps"
        ]
      },
      "RaffleDetails": {
        "type": "object",
        "properties": {
          "maxEntries": {
            "type": "number"
          },
          "winners": {
            "type": "number"
          },
          "maxPurchaseQuantity": {
            "type": "number"
          },
          "endDatetime": {
            "format": "date-time",
            "type": "string"
          },
          "timezoneLocation": {
            "type": "string"
          },
          "state": {
            "type": "string",
            "enum": [
              "RAFFLE_STARTED",
              "PICKING_WINNERS",
              "CREATING_ALLOWLIST",
              "FINALIZING_RAFFLE"
            ]
          }
        },
        "required": [
          "winners",
          "maxPurchaseQuantity",
          "endDatetime",
          "timezoneLocation",
          "state"
        ]
      },
      "SubscriptionDetails": {
        "type": "object",
        "properties": {
          "renewalReminders": {
            "type": "number"
          },
          "gracePeriod": {
            "type": "number"
          },
          "annualDiscountBps": {
            "type": "number"
          },
          "interval": {
            "type": "string",
            "enum": [
              "SECOND",
              "MINUTE",
              "HOUR",
              "DAY",
              "WEEK",
              "MONTH",
              "YEAR"
            ]
          },
          "isAnonymous": {
            "type": "boolean",
            "description": "Set to true if the subscription should be anonymous. Optional."
          }
        },
        "required": [
          "renewalReminders",
          "gracePeriod",
          "annualDiscountBps",
          "interval"
        ]
      },
      "ShallowEnrichedPaylink": {
        "type": "object",
        "properties": {
          "content": {
            "$ref": "#/components/schemas/ContentResponse"
          },
          "limitSaleType": {
            "enum": [
              "transaction",
              "discordId"
            ],
            "type": "string"
          },
          "minQuantity": {
            "type": "number"
          },
          "maxQuantity": {
            "type": "number"
          },
          "features": {
            "$ref": "#/components/schemas/LinkFeatures"
          },
          "affiliateDetails": {
            "$ref": "#/components/schemas/AffiliateDetails"
          },
          "raffleDetails": {
            "$ref": "#/components/schemas/RaffleDetails"
          },
          "subscriptionDetails": {
            "$ref": "#/components/schemas/SubscriptionDetails"
          },
          "redirectUrl": {
            "type": "string"
          }
        },
        "required": [
          "content",
          "features"
        ]
      },
      "PaymentRequestPreview": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "additionalImages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "description": {
            "type": "string"
          }
        }
      },
      "CreateLinkFeaturesDto": {
        "type": "object",
        "properties": {
          "canChangeQuantity": {
            "type": "boolean",
            "description": "Allows the buyer to change the quantity during checkout."
          },
          "requireQuantityLimits": {
            "type": "boolean",
            "description": "Enforces minimum and maximum quantity limits."
          },
          "canChangePrice": {
            "type": "boolean",
            "description": "Allows the buyer or merchant to adjust the price."
          },
          "isEscrowed": {
            "type": "boolean",
            "description": "Enables escrow functionality for holding funds temporarily."
          },
          "showDiscountCode": {
            "type": "boolean",
            "description": "Displays the option to enter a discount code."
          },
          "requireAllowlist": {
            "type": "boolean",
            "description": "Restricts access to users on an allowlist."
          },
          "requireRaffle": {
            "type": "boolean",
            "description": "Requires participation in a raffle to proceed."
          },
          "shouldRedirectOnSuccess": {
            "type": "boolean",
            "description": "Redirects the user to a specified URL after successful payment."
          },
          "isSubscription": {
            "type": "boolean",
            "description": "Indicates the pay link is for a recurring subscription."
          },
          "showDetailsForCharge": {
            "type": "boolean",
            "description": "Enables pay link name, description and image on a charge."
          },
          "isEventEnabled": {
            "type": "boolean",
            "description": "Enables features related to event registration or access."
          },
          "requireEmail": {
            "type": "boolean",
            "description": "Requires the user to enter an email address."
          },
          "requireDiscordUsername": {
            "type": "boolean",
            "description": "Requires the user to provide their Discord username."
          },
          "requireDiscordLogin": {
            "type": "boolean",
            "description": "Requires the user to authenticate with Discord."
          },
          "requireFullName": {
            "type": "boolean",
            "description": "Requires the user to provide their full name."
          },
          "requireTwitterUsername": {
            "type": "boolean",
            "description": "Requires the user to provide their Twitter username."
          },
          "requireTelegramUsername": {
            "type": "boolean",
            "description": "Requires the user to provide their Telegram username."
          },
          "requireCountry": {
            "type": "boolean",
            "description": "Requires the user to select or provide their country."
          },
          "requireDeliveryAddress": {
            "type": "boolean",
            "description": "Requires a delivery address for fulfillment."
          },
          "requirePhoneNumber": {
            "type": "boolean",
            "description": "Requires the user to provide a phone number."
          },
          "requireProductDetails": {
            "type": "boolean",
            "description": "Requires additional product-related details from the user."
          },
          "requireMaxTransactions": {
            "type": "boolean",
            "description": "Limits the total number of transactions allowed."
          },
          "requireNftGate": {
            "type": "boolean",
            "description": "Restricts access to users holding a specific NFT."
          },
          "requireDiscordAuth": {
            "type": "boolean",
            "description": "Enforces Discord-based authentication."
          },
          "requireAccessCode": {
            "type": "boolean",
            "description": "Requires users to enter an access code for entry."
          },
          "requireXFollow": {
            "type": "boolean",
            "description": "Requires users to follow a specific X (Twitter) account."
          },
          "canSwapTokens": {
            "type": "boolean",
            "description": "Enables users to swap tokens during the payment process."
          },
          "canPayWithCard": {
            "type": "boolean",
            "description": "Enables the buyer to pay with a card via MoonPay Ramps. Requires MoonPay API keys configured on the merchant account."
          },
          "allowAffiliate": {
            "type": "boolean",
            "description": "Enables affiliate tracking and referral features."
          },
          "enableCountdown": {
            "type": "boolean",
            "description": "Activates a countdown timer before the pay link is active."
          },
          "customThemeEnabled": {
            "type": "boolean",
            "description": "Allows use of a custom design theme for the pay link."
          },
          "disableEmailReceipt": {
            "type": "boolean",
            "description": "Hides the email receipt option at checkout so buyers are not offered an emailed receipt."
          }
        }
      },
      "SplitWalletDto": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string",
            "description": "Enter the wallet address that should receive a portion of the funds from this payment."
          },
          "percent": {
            "type": "number",
            "description": "Specify the percentage of the total payment to allocate to this wallet."
          }
        },
        "required": [
          "address"
        ]
      },
      "DiscountCodeDto": {
        "type": "object",
        "properties": {
          "percent": {
            "type": "number",
            "description": "Enter the discount percentage to apply when this code is used (e.g., 15 for 15%)."
          },
          "token": {
            "type": "string"
          },
          "prId": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "tokenType": {
            "type": "string",
            "enum": [
              "CODE",
              "NFT_COLLECTION"
            ],
            "description": "Specify whether this discount is based on a standard code or an NFT collection."
          }
        },
        "required": [
          "percent",
          "token",
          "tokenType"
        ]
      },
      "AffiliateDetailsDto": {
        "type": "object",
        "properties": {
          "bps": {
            "type": "number",
            "description": "Specify the affiliate commission as basis points (1% = 100 bps)."
          }
        },
        "required": [
          "bps"
        ]
      },
      "RaffleDetailsDto": {
        "type": "object",
        "properties": {}
      },
      "SubscriptionDetailsDto": {
        "type": "object",
        "properties": {
          "renewalReminders": {
            "type": "number",
            "description": "Specify how many reminder emails should be sent before the subscription renews."
          },
          "gracePeriod": {
            "type": "number",
            "description": "Enter the number of days allowed as a grace period after a failed renewal attempt."
          },
          "annualDiscountBps": {
            "type": "number",
            "description": "Define the annual subscription discount in basis points (1% = 100 bps)."
          },
          "interval": {
            "type": "string",
            "enum": [
              "MONTH",
              "QUARTER",
              "BIANNUALLY",
              "YEAR"
            ],
            "description": "Choose how often the subscription renews."
          },
          "isAnonymous": {
            "type": "boolean",
            "description": "Set to true if the subscription should be anonymous. Optional."
          }
        },
        "required": [
          "renewalReminders",
          "gracePeriod",
          "annualDiscountBps",
          "interval"
        ]
      },
      "ContentDto": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "mediaUrl": {
            "type": "string"
          },
          "mediaAttachmentId": {
            "type": "string"
          }
        }
      },
      "ProductDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "TEXT",
              "SELECTOR"
            ]
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "description",
          "type"
        ]
      },
      "DiscordAuthDetailsDto": {
        "type": "object",
        "properties": {
          "serverId": {
            "type": "string"
          },
          "roleId": {
            "type": "string"
          }
        },
        "required": [
          "serverId",
          "roleId"
        ]
      },
      "AccessCodeAuthPropertiesDto": {
        "type": "object",
        "properties": {
          "accessCode": {
            "type": "string"
          }
        },
        "required": [
          "accessCode"
        ]
      },
      "RecipientDto": {
        "type": "object",
        "properties": {
          "currencyId": {
            "type": "string",
            "description": "Currency ID retrieved from the Get Currencies endpoint."
          },
          "walletId": {
            "type": "string",
            "description": "Wallet ID (Helio ID) copied from Dashboard → Settings → Wallets (not your public key)."
          },
          "sourceBlockchainEngine": {
            "type": "string",
            "description": "Optional blockchain engine identifier for the source of the transaction. Use `63b6b1200cfb4b3f6131f2b4` for Solana or `63b6b1200cfb4b3f6131f2b2` for EVM and `63da34127a40a721a6e0a21d` for Bitcoin."
          }
        },
        "required": [
          "currencyId",
          "walletId"
        ]
      },
      "EventDetailsDto": {
        "type": "object",
        "properties": {
          "datetime": {
            "format": "date-time",
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "timezoneLocation": {
            "type": "string"
          }
        },
        "required": [
          "datetime"
        ]
      },
      "CountdownDetailsDto": {
        "type": "object",
        "properties": {
          "startDatetime": {
            "format": "date-time",
            "type": "string"
          },
          "endDatetime": {
            "format": "date-time",
            "type": "string"
          },
          "timezoneLocation": {
            "type": "string"
          }
        },
        "required": [
          "startDatetime"
        ]
      },
      "RedirectQueryParamDto": {
        "type": "object",
        "required": [
          "queryParamType"
        ],
        "properties": {
          "queryParamType": {
            "type": "string",
            "enum": [
              "WALLET_ADDRESS"
            ],
            "description": "The type of dynamic query parameter to append to the redirect URL."
          },
          "value": {
            "type": "string",
            "description": "Optional custom value for the query parameter."
          }
        }
      },
      "CustomThemeDto": {
        "type": "object",
        "properties": {
          "primaryColor": {
            "type": "string",
            "description": "Hex code for the primary color (e.g. #FF0000)."
          },
          "neutralColor": {
            "type": "string",
            "description": "Hex code for neutral colour(e.g. #00FF00)."
          },
          "textColorOnButton": {
            "type": "string",
            "enum": [
              "WHITE",
              "BLACK"
            ],
            "description": "Text color used on buttons."
          },
          "themeMode": {
            "type": "string",
            "enum": [
              "LIGHT",
              "DARK"
            ],
            "description": "Visual theme of the UI."
          },
          "backgroundColor": {
            "type": "string",
            "description": "Hex code for the background color (e.g. #0000FF)."
          }
        },
        "required": [
          "primaryColor",
          "neutralColor",
          "textColorOnButton",
          "themeMode"
        ]
      },
      "CreatePaylinkDto": {
        "type": "object",
        "properties": {
          "features": {
            "$ref": "#/components/schemas/CreateLinkFeaturesDto",
            "description": "Configuration options for enabling specific features on the pay link."
          },
          "discountCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscountCodeDto"
            },
            "description": "Discount codes that can be applied to reduce the payment amount."
          },
          "limitSaleType": {
            "type": "string",
            "enum": [
              "transaction",
              "discordId"
            ],
            "description": "Restricts purchases by transaction count or Discord ID."
          },
          "minQuantity": {
            "type": "number",
            "description": "Minimum quantity allowed per transaction."
          },
          "maxQuantity": {
            "type": "number",
            "description": "Maximum quantity allowed per transaction."
          },
          "allowlist": {
            "type": "string",
            "description": "Allowlist ID that restricts access to approved users only."
          },
          "affiliateDetails": {
            "$ref": "#/components/schemas/AffiliateDetailsDto",
            "description": "Details for tracking affiliate-related referrals."
          },
          "raffleDetails": {
            "$ref": "#/components/schemas/RaffleDetailsDto",
            "description": "Configuration for running a raffle with the pay link."
          },
          "sourceIntegration": {
            "type": "string",
            "enum": [
              "WOO_COMMERCE"
            ],
            "description": "Indicates the source platform that initiated the integration."
          },
          "sourceIntegrationVersion": {
            "type": "string",
            "maxLength": 100,
            "description": "Version of the integration source used (e.g., plugin version)."
          },
          "redirectUrl": {
            "type": "string",
            "description": "URL to redirect users to after payment completion."
          },
          "creationSource": {
            "type": "string",
            "enum": [
              "PRIVATE_API",
              "PUBLIC_API"
            ],
            "description": "Indicates whether the pay link was created via private or public API."
          },
          "subscriptionDetails": {
            "$ref": "#/components/schemas/SubscriptionDetailsDto",
            "description": "Details for setting up subscription-based payments."
          },
          "company": {
            "type": "string",
            "description": "@deprecated — use the company identifier from the request header instead."
          },
          "name": {
            "type": "string",
            "description": "Name of the product or service associated with the pay link."
          },
          "pricingCurrency": {
            "type": "string",
            "description": "Currency in which the payment amount is priced (e.g., USD)."
          },
          "description": {
            "type": "string",
            "description": "Text description of the pay link and its purpose."
          },
          "template": {
            "type": "string",
            "enum": [
              "PRODUCT",
              "SUBSCRIPTION",
              "PRE_SALE",
              "SINGLE_NFT",
              "VIDEO",
              "DISCORD_MEMBERSHIP",
              "INVOICE",
              "EMBEDDED",
              "LINK_OR_FILE",
              "TRADING_VIEW",
              "EVENT",
              "WOO_COMMERCE",
              "OTHER",
              "LEGACY",
              "RAFFLE",
              "SHOPIFY",
              "BLINK"
            ],
            "description": "Defines the layout or use-case template for the pay link."
          },
          "image": {
            "type": "string",
            "description": "Primary image displayed on the pay link checkout page."
          },
          "additionalImages": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Additional images to display alongside the primary image."
          },
          "notifySenderByEmail": {
            "type": "boolean",
            "default": false,
            "description": "If true, sends an email notification to the sender on purchase."
          },
          "notifyReceiverByEmail": {
            "type": "boolean",
            "default": false,
            "description": "If true, sends an email notification to the receiver on purchase."
          },
          "addDiscordRole": {
            "type": "boolean",
            "default": false,
            "description": "If enabled, assigns a Discord role upon successful payment."
          },
          "discordRoleIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of Discord role IDs to assign after payment."
          },
          "currency": {
            "type": "string",
            "deprecated": true,
            "description": "@deprecated — replaced by pricingCurrency."
          },
          "blockchain": {
            "type": "string",
            "deprecated": true,
            "enum": [
              "SOL",
              "ETH",
              "POLYGON",
              "BASE",
              "BITCOIN"
            ],
            "description": "@deprecated — blockchain selection is now handled dynamically."
          },
          "disabled": {
            "type": "boolean",
            "description": "If true, disables the pay link without deleting it."
          },
          "dynamic": {
            "type": "boolean",
            "description": "Indicates whether the pay link supports dynamic pricing."
          },
          "wallet": {
            "type": "string",
            "deprecated": true,
            "description": "@deprecated — use recipients array instead."
          },
          "content": {
            "$ref": "#/components/schemas/ContentDto",
            "description": "Content settings for files, links, or embedded resources."
          },
          "maxTransactions": {
            "type": "number",
            "description": "Maximum number of transactions allowed for the pay link."
          },
          "product": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductDto"
              }
            ],
            "description": "Product object linked to this pay link, if applicable."
          },
          "nftCollectionAddress": {
            "type": "string",
            "description": "Blockchain address of the NFT collection associated with the pay link."
          },
          "discordAuthDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscordAuthDetailsDto"
            },
            "description": "Authentication settings related to Discord users."
          },
          "accessCodeAuthProperties": {
            "$ref": "#/components/schemas/AccessCodeAuthPropertiesDto",
            "description": "Access code validation settings for gated pay links."
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecipientDto"
            },
            "description": "List of recipients who will receive funds from this pay link."
          },
          "price": {
            "type": "string",
            "description": "Price of the item or service, used if not dynamically calculated."
          },
          "eventDetails": {
            "$ref": "#/components/schemas/EventDetailsDto",
            "description": "Event metadata for event-related pay links."
          },
          "countdownDetails": {
            "$ref": "#/components/schemas/CountdownDetailsDto",
            "description": "Details for countdown timer settings before link activation."
          },
          "customTheme": {
            "$ref": "#/components/schemas/CustomThemeDto",
            "description": "Styling and branding settings for customizing the pay link."
          }
        },
        "required": [
          "features",
          "company",
          "name",
          "pricingCurrency"
        ]
      },
      "CreatePaylinkWithApiDto": {
        "type": "object",
        "required": [
          "name",
          "price",
          "pricingCurrency",
          "features",
          "recipients"
        ],
        "properties": {
          "template": {
            "type": "string",
            "enum": [
              "PRODUCT",
              "SUBSCRIPTION",
              "PRE_SALE",
              "SINGLE_NFT",
              "VIDEO",
              "DISCORD_MEMBERSHIP",
              "INVOICE",
              "EMBEDDED",
              "LINK_OR_FILE",
              "TRADING_VIEW",
              "EVENT",
              "WOO_COMMERCE",
              "OTHER",
              "LEGACY",
              "RAFFLE",
              "SHOPIFY",
              "BLINK"
            ],
            "description": "Layout or presentation style of the pay link checkout."
          },
          "name": {
            "type": "string",
            "description": "Name or title of the pay link product or service."
          },
          "price": {
            "type": "string",
            "description": "Price is an int64 represented in base units of the currency, e.g. \"1000000\" = 1 USDC."
          },
          "pricingCurrency": {
            "type": "string",
            "description": "Currency ID used to price the paylink (fiat or crypto). Retrieve this value from the Get Currencies endpoint."
          },
          "features": {
            "$ref": "#/components/schemas/CreateLinkFeaturesDto",
            "description": "Feature flags and behavioral options for the pay link."
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecipientDto"
            },
            "description": "List of recipient wallets and currencies."
          },
          "discountCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscountCodeDto"
            },
            "description": "Array of discount codes applicable to the pay link."
          },
          "limitSaleType": {
            "type": "string",
            "enum": [
              "transaction",
              "discordId"
            ],
            "description": "Restricts sales to a transaction count or specific Discord ID."
          },
          "minQuantity": {
            "type": "number",
            "description": "Minimum quantity a user must purchase."
          },
          "maxQuantity": {
            "type": "number",
            "description": "Maximum quantity a user can purchase."
          },
          "affiliateDetails": {
            "$ref": "#/components/schemas/AffiliateDetailsDto",
            "description": "Settings for affiliate tracking and revenue sharing."
          },
          "raffleDetails": {
            "$ref": "#/components/schemas/RaffleDetailsDto",
            "description": "Configuration for raffle-based sales."
          },
          "redirectUrl": {
            "type": "string",
            "description": "URL to redirect users after completing the payment."
          },
          "redirectTimeout": {
            "type": "integer",
            "description": "Delay (in seconds) before redirecting the user to `redirectUrl` after a successful payment. Use 0 for an instant redirect, or 3 to show the confirmation screen for 3 seconds before redirecting.",
            "enum": [
              0,
              3
            ],
            "default": 3,
            "example": 0
          },
          "redirectQueryParams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RedirectQueryParamDto"
            },
            "description": "Appends dynamic query parameters (e.g. the payer's wallet address) to the redirect URL after a successful payment. Requires `shouldRedirectOnSuccess` and `hasRedirectQueryParams` to be enabled in `features`."
          },
          "creationSource": {
            "type": "string",
            "enum": [
              "PRIVATE_API",
              "PUBLIC_API"
            ],
            "description": "Indicates whether the pay link was created via private or public API."
          },
          "subscriptionDetails": {
            "$ref": "#/components/schemas/SubscriptionDetailsDto",
            "description": "Subscription settings for recurring payments."
          },
          "description": {
            "type": "string",
            "description": "Description of the product or service offered."
          },
          "notifySenderByEmail": {
            "type": "boolean",
            "default": false,
            "description": "If true, notifies the sender via email after a successful payment."
          },
          "notifyReceiverByEmail": {
            "type": "boolean",
            "default": false,
            "description": "If true, notifies the receiver via email after a successful payment."
          },
          "addDiscordRole": {
            "type": "boolean",
            "default": false,
            "description": "Automatically assigns a Discord role upon successful payment."
          },
          "discordRoleIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of Discord role IDs to be assigned."
          },
          "disabled": {
            "type": "boolean",
            "description": "If true, disables the pay link without deleting it."
          },
          "dynamic": {
            "type": "boolean",
            "description": "Enables dynamic pricing features for the pay link."
          },
          "content": {
            "$ref": "#/components/schemas/ContentDto",
            "description": "Additional content like files or links associated with the pay link."
          },
          "maxTransactions": {
            "type": "number",
            "description": "Maximum number of transactions allowed for this pay link."
          },
          "product": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductDto"
              }
            ],
            "description": "Optional product object associated with the pay link."
          },
          "nftCollectionAddress": {
            "type": "string",
            "description": "Blockchain address of the NFT collection used in this pay link."
          },
          "discordAuthDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscordAuthDetailsDto"
            },
            "description": "Details for Discord authentication and role assignment."
          },
          "accessCodeAuthProperties": {
            "$ref": "#/components/schemas/AccessCodeAuthPropertiesDto",
            "description": "Access code configuration for gated content or purchases."
          },
          "eventDetails": {
            "$ref": "#/components/schemas/EventDetailsDto",
            "description": "Event-related configuration like dates and venues."
          },
          "countdownDetails": {
            "$ref": "#/components/schemas/CountdownDetailsDto",
            "description": "Countdown timer settings for scheduled launches."
          },
          "customTheme": {
            "$ref": "#/components/schemas/CustomThemeDto",
            "description": "Applies a one-off inline color scheme to the paylink (single light or dark mode). For a reusable theme with full light and dark palettes plus design tokens, use a saved theme via `themeId` instead."
          },
          "themeId": {
            "type": "string",
            "description": "Optional ID of a saved theme to apply to this paylink. A saved theme carries full light and dark palettes plus design tokens and is the recommended way to style hosted pages. Takes precedence over the dashboard default theme. For a one-off inline color scheme, use `customTheme`."
          }
        }
      },
      "UpdatePaylinkWithApiDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name or title of the pay link product or service."
          },
          "price": {
            "type": "string",
            "description": "Price is an int64 represented in base units of the currency, e.g. \"1000000\" = 1 USDC."
          },
          "pricingCurrency": {
            "type": "string",
            "description": "Currency ID used to price the paylink (fiat or crypto). Retrieve this value from the Get Currencies endpoint."
          },
          "features": {
            "$ref": "#/components/schemas/UpdateLinkFeaturesDto",
            "description": "Feature flags and behavioral options for the pay link."
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecipientDto"
            },
            "description": "List of recipient wallets and currencies."
          },
          "splitWallets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SplitWalletDto"
            },
            "description": "List of wallets to distribute the payment among."
          },
          "discountCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscountCodeDto"
            },
            "description": "Array of discount codes applicable to the pay link."
          },
          "limitSaleType": {
            "type": "string",
            "enum": [
              "transaction",
              "discordId"
            ],
            "description": "Restricts sales to a transaction count or specific Discord ID."
          },
          "minQuantity": {
            "type": "number",
            "description": "Minimum quantity a user must purchase."
          },
          "maxQuantity": {
            "type": "number",
            "description": "Maximum quantity a user can purchase."
          },
          "affiliateDetails": {
            "$ref": "#/components/schemas/AffiliateDetailsDto",
            "description": "Settings for affiliate tracking and revenue sharing."
          },
          "raffleDetails": {
            "$ref": "#/components/schemas/RaffleDetailsDto",
            "description": "Configuration for raffle-based sales."
          },
          "redirectUrl": {
            "type": "string",
            "description": "URL to redirect users after completing the payment."
          },
          "redirectTimeout": {
            "type": "integer",
            "description": "Delay (in seconds) before redirecting the user to `redirectUrl` after a successful payment. Use 0 for an instant redirect, or 3 to show the confirmation screen for 3 seconds before redirecting.",
            "enum": [
              0,
              3
            ],
            "default": 3,
            "example": 0
          },
          "creationSource": {
            "type": "string",
            "enum": [
              "PRIVATE_API",
              "PUBLIC_API"
            ],
            "description": "Indicates whether the pay link was created via private or public API."
          },
          "subscriptionDetails": {
            "$ref": "#/components/schemas/SubscriptionDetailsDto",
            "description": "Subscription settings for recurring payments."
          },
          "description": {
            "type": "string",
            "description": "Description of the product or service offered."
          },
          "notifySenderByEmail": {
            "type": "boolean",
            "default": false,
            "description": "If true, notifies the sender via email after a successful payment."
          },
          "notifyReceiverByEmail": {
            "type": "boolean",
            "default": false,
            "description": "If true, notifies the receiver via email after a successful payment."
          },
          "addDiscordRole": {
            "type": "boolean",
            "default": false,
            "description": "Automatically assigns a Discord role upon successful payment."
          },
          "discordRoleIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of Discord role IDs to be assigned."
          },
          "disabled": {
            "type": "boolean",
            "description": "If true, disables the pay link without deleting it."
          },
          "dynamic": {
            "type": "boolean",
            "description": "Enables dynamic pricing features for the pay link."
          },
          "content": {
            "$ref": "#/components/schemas/ContentDto",
            "description": "Additional content like files or links associated with the pay link."
          },
          "maxTransactions": {
            "type": "number",
            "description": "Maximum number of transactions allowed for this pay link."
          },
          "product": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductDto"
              }
            ],
            "description": "Optional product object associated with the pay link."
          },
          "nftCollectionAddress": {
            "type": "string",
            "description": "Blockchain address of the NFT collection used in this pay link."
          },
          "discordAuthDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscordAuthDetailsDto"
            },
            "description": "Details for Discord authentication and role assignment."
          },
          "accessCodeAuthProperties": {
            "$ref": "#/components/schemas/AccessCodeAuthPropertiesDto",
            "description": "Access code configuration for gated content or purchases."
          },
          "eventDetails": {
            "$ref": "#/components/schemas/EventDetailsDto",
            "description": "Event-related configuration like dates and venues."
          },
          "countdownDetails": {
            "$ref": "#/components/schemas/CountdownDetailsDto",
            "description": "Countdown timer settings for scheduled launches."
          },
          "customTheme": {
            "$ref": "#/components/schemas/CustomThemeDto",
            "description": "Applies a one-off inline color scheme to the paylink (single light or dark mode). For a reusable theme with full light and dark palettes plus design tokens, use a saved theme via `themeId` instead."
          },
          "themeId": {
            "type": "string",
            "description": "Optional ID of a saved theme to apply to this paylink. A saved theme carries full light and dark palettes plus design tokens and is the recommended way to style hosted pages. Takes precedence over the dashboard default theme. For a one-off inline color scheme, use `customTheme`."
          }
        }
      },
      "DuplicatePaymentRequestDto": {
        "type": "object",
        "properties": {
          "prId": {
            "type": "string"
          }
        },
        "required": [
          "prId"
        ]
      },
      "UpdateLinkFeaturesDto": {
        "type": "object",
        "properties": {
          "splitRevenue": {
            "type": "boolean"
          },
          "splitEqually": {
            "type": "boolean"
          },
          "canChangeQuantity": {
            "type": "boolean"
          },
          "requireQuantityLimits": {
            "type": "boolean"
          },
          "canChangePrice": {
            "type": "boolean"
          },
          "isEscrowed": {
            "type": "boolean"
          },
          "showDiscountCode": {
            "type": "boolean"
          },
          "requireAllowlist": {
            "type": "boolean"
          },
          "requireRaffle": {
            "type": "boolean"
          },
          "shouldRedirectOnSuccess": {
            "type": "boolean"
          },
          "requireEmail": {
            "type": "boolean"
          },
          "requireDiscordUsername": {
            "type": "boolean"
          },
          "requireDiscordLogin": {
            "type": "boolean"
          },
          "requireFullName": {
            "type": "boolean"
          },
          "requireTwitterUsername": {
            "type": "boolean"
          },
          "requireTelegramUsername": {
            "type": "boolean"
          },
          "requireCountry": {
            "type": "boolean"
          },
          "requireDeliveryAddress": {
            "type": "boolean"
          },
          "requirePhoneNumber": {
            "type": "boolean"
          },
          "requireProductDetails": {
            "type": "boolean"
          },
          "requireMaxTransactions": {
            "type": "boolean"
          },
          "requireNftGate": {
            "type": "boolean"
          },
          "requireDiscordAuth": {
            "type": "boolean"
          },
          "requireAccessCode": {
            "type": "boolean"
          },
          "requireXFollow": {
            "type": "boolean"
          },
          "canSwapTokens": {
            "type": "boolean"
          },
          "canPayWithCard": {
            "type": "boolean"
          },
          "allowAffiliate": {
            "type": "boolean"
          },
          "enableCountdown": {
            "type": "boolean"
          },
          "customThemeEnabled": {
            "type": "boolean"
          },
          "disableEmailReceipt": {
            "type": "boolean",
            "description": "Hides the email receipt option at checkout so buyers are not offered an emailed receipt."
          }
        }
      },
      "UpdatePaylinkDto": {
        "type": "object",
        "properties": {
          "features": {
            "$ref": "#/components/schemas/UpdateLinkFeaturesDto"
          },
          "splitWallets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SplitWalletDto"
            }
          },
          "discountCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscountCodeDto"
            }
          },
          "limitSaleType": {
            "type": "string",
            "enum": [
              "transaction",
              "discordId"
            ]
          },
          "minQuantity": {
            "type": "number"
          },
          "maxQuantity": {
            "type": "number"
          },
          "allowlist": {
            "type": "string"
          },
          "affiliateDetails": {
            "$ref": "#/components/schemas/AffiliateDetailsDto"
          },
          "raffleDetails": {
            "$ref": "#/components/schemas/RaffleDetailsDto"
          },
          "redirectUrl": {
            "type": "string"
          },
          "subscriptionDetails": {
            "$ref": "#/components/schemas/SubscriptionDetailsDto"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "additionalImages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "notifySenderByEmail": {
            "type": "boolean"
          },
          "notifyReceiverByEmail": {
            "type": "boolean"
          },
          "addDiscordRole": {
            "type": "boolean"
          },
          "discordRoleIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "currency": {
            "type": "string",
            "deprecated": true
          },
          "pricingCurrency": {
            "type": "string"
          },
          "blockchain": {
            "type": "string",
            "deprecated": true,
            "enum": [
              "SOL",
              "ETH",
              "POLYGON",
              "BASE",
              "BITCOIN"
            ]
          },
          "disabled": {
            "type": "boolean"
          },
          "dynamic": {
            "type": "boolean"
          },
          "content": {
            "$ref": "#/components/schemas/ContentDto"
          },
          "maxTransactions": {
            "type": "number"
          },
          "product": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductDto"
              }
            ]
          },
          "nftCollectionAddress": {
            "type": "string"
          },
          "discordAuthDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscordAuthDetailsDto"
            }
          },
          "accessCodeAuthProperties": {
            "$ref": "#/components/schemas/AccessCodeAuthPropertiesDto"
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecipientDto"
            }
          },
          "price": {
            "type": "string"
          },
          "eventDetails": {
            "$ref": "#/components/schemas/EventDetailsDto"
          },
          "countdownDetails": {
            "$ref": "#/components/schemas/CountdownDetailsDto"
          },
          "customTheme": {
            "$ref": "#/components/schemas/CustomThemeDto"
          }
        }
      },
      "CreateStreamFeaturesDto": {
        "type": "object",
        "properties": {
          "isEventEnabled": {
            "type": "boolean"
          },
          "requireEmail": {
            "type": "boolean"
          },
          "requireDiscordUsername": {
            "type": "boolean"
          },
          "requireDiscordLogin": {
            "type": "boolean"
          },
          "requireFullName": {
            "type": "boolean"
          },
          "requireTwitterUsername": {
            "type": "boolean"
          },
          "requireTelegramUsername": {
            "type": "boolean"
          },
          "requireCountry": {
            "type": "boolean"
          },
          "requireDeliveryAddress": {
            "type": "boolean"
          },
          "requirePhoneNumber": {
            "type": "boolean"
          },
          "requireProductDetails": {
            "type": "boolean"
          },
          "requireMaxTransactions": {
            "type": "boolean"
          },
          "requireNftGate": {
            "type": "boolean"
          },
          "requireDiscordAuth": {
            "type": "boolean"
          },
          "requireAccessCode": {
            "type": "boolean"
          },
          "requireXFollow": {
            "type": "boolean"
          },
          "canSwapTokens": {
            "type": "boolean"
          },
          "allowAffiliate": {
            "type": "boolean"
          },
          "enableCountdown": {
            "type": "boolean"
          },
          "shouldRedirectOnSuccess": {
            "type": "boolean"
          },
          "customThemeEnabled": {
            "type": "boolean"
          }
        }
      },
      "CreatePaystreamDto": {
        "type": "object",
        "properties": {
          "features": {
            "$ref": "#/components/schemas/CreateStreamFeaturesDto"
          },
          "interval": {
            "type": "string",
            "enum": [
              "SECOND",
              "MINUTE",
              "HOUR",
              "DAY",
              "WEEK",
              "MONTH",
              "YEAR"
            ]
          },
          "maxTime": {
            "type": "number"
          },
          "company": {
            "type": "string",
            "description": "@deprecated, will be removed soon, use the company from the header"
          },
          "name": {
            "type": "string"
          },
          "pricingCurrency": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "template": {
            "type": "string",
            "enum": [
              "PRODUCT",
              "SUBSCRIPTION",
              "PRE_SALE",
              "SINGLE_NFT",
              "VIDEO",
              "DISCORD_MEMBERSHIP",
              "INVOICE",
              "EMBEDDED",
              "LINK_OR_FILE",
              "TRADING_VIEW",
              "EVENT",
              "WOO_COMMERCE",
              "OTHER",
              "LEGACY",
              "RAFFLE",
              "SHOPIFY",
              "BLINK"
            ]
          },
          "image": {
            "type": "string"
          },
          "additionalImages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "notifySenderByEmail": {
            "type": "boolean",
            "default": false
          },
          "notifyReceiverByEmail": {
            "type": "boolean",
            "default": false
          },
          "addDiscordRole": {
            "type": "boolean",
            "default": false
          },
          "discordRoleIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "currency": {
            "type": "string",
            "deprecated": true
          },
          "blockchain": {
            "type": "string",
            "deprecated": true,
            "enum": [
              "SOL",
              "ETH",
              "POLYGON",
              "BASE",
              "BITCOIN"
            ]
          },
          "disabled": {
            "type": "boolean"
          },
          "dynamic": {
            "type": "boolean"
          },
          "wallet": {
            "type": "string",
            "deprecated": true
          },
          "content": {
            "$ref": "#/components/schemas/ContentDto"
          },
          "maxTransactions": {
            "type": "number"
          },
          "product": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductDto"
              }
            ]
          },
          "nftCollectionAddress": {
            "type": "string"
          },
          "discordAuthDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscordAuthDetailsDto"
            }
          },
          "accessCodeAuthProperties": {
            "$ref": "#/components/schemas/AccessCodeAuthPropertiesDto"
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecipientDto"
            }
          },
          "affiliateDetails": {
            "$ref": "#/components/schemas/AffiliateDetailsDto"
          },
          "price": {
            "type": "string"
          },
          "eventDetails": {
            "$ref": "#/components/schemas/EventDetailsDto"
          },
          "countdownDetails": {
            "$ref": "#/components/schemas/CountdownDetailsDto"
          },
          "redirectUrl": {
            "type": "string"
          },
          "customTheme": {
            "$ref": "#/components/schemas/CustomThemeDto"
          }
        },
        "required": [
          "features",
          "interval",
          "maxTime",
          "company",
          "name",
          "pricingCurrency"
        ]
      },
      "UpdateStreamFeaturesDto": {
        "type": "object",
        "properties": {
          "requireEmail": {
            "type": "boolean"
          },
          "requireDiscordUsername": {
            "type": "boolean"
          },
          "requireDiscordLogin": {
            "type": "boolean"
          },
          "requireFullName": {
            "type": "boolean"
          },
          "requireTwitterUsername": {
            "type": "boolean"
          },
          "requireTelegramUsername": {
            "type": "boolean"
          },
          "requireCountry": {
            "type": "boolean"
          },
          "requireDeliveryAddress": {
            "type": "boolean"
          },
          "requirePhoneNumber": {
            "type": "boolean"
          },
          "requireProductDetails": {
            "type": "boolean"
          },
          "requireMaxTransactions": {
            "type": "boolean"
          },
          "requireNftGate": {
            "type": "boolean"
          },
          "requireDiscordAuth": {
            "type": "boolean"
          },
          "requireAccessCode": {
            "type": "boolean"
          },
          "requireXFollow": {
            "type": "boolean"
          },
          "canSwapTokens": {
            "type": "boolean"
          },
          "allowAffiliate": {
            "type": "boolean"
          },
          "enableCountdown": {
            "type": "boolean"
          },
          "shouldRedirectOnSuccess": {
            "type": "boolean"
          },
          "customThemeEnabled": {
            "type": "boolean"
          }
        }
      },
      "UpdatePaystreamDto": {
        "type": "object",
        "properties": {
          "features": {
            "$ref": "#/components/schemas/UpdateStreamFeaturesDto"
          },
          "interval": {
            "type": "string",
            "enum": [
              "SECOND",
              "MINUTE",
              "HOUR",
              "DAY",
              "WEEK",
              "MONTH",
              "YEAR"
            ]
          },
          "maxTime": {
            "type": "number"
          },
          "redirectUrl": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "additionalImages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "notifySenderByEmail": {
            "type": "boolean"
          },
          "notifyReceiverByEmail": {
            "type": "boolean"
          },
          "addDiscordRole": {
            "type": "boolean"
          },
          "discordRoleIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "currency": {
            "type": "string",
            "deprecated": true
          },
          "pricingCurrency": {
            "type": "string"
          },
          "blockchain": {
            "type": "string",
            "deprecated": true,
            "enum": [
              "SOL",
              "ETH",
              "POLYGON",
              "BASE",
              "BITCOIN"
            ]
          },
          "disabled": {
            "type": "boolean"
          },
          "dynamic": {
            "type": "boolean"
          },
          "content": {
            "$ref": "#/components/schemas/ContentDto"
          },
          "maxTransactions": {
            "type": "number"
          },
          "product": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductDto"
              }
            ]
          },
          "nftCollectionAddress": {
            "type": "string"
          },
          "discordAuthDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscordAuthDetailsDto"
            }
          },
          "accessCodeAuthProperties": {
            "$ref": "#/components/schemas/AccessCodeAuthPropertiesDto"
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecipientDto"
            }
          },
          "price": {
            "type": "string"
          },
          "eventDetails": {
            "$ref": "#/components/schemas/EventDetailsDto"
          },
          "countdownDetails": {
            "$ref": "#/components/schemas/CountdownDetailsDto"
          },
          "customTheme": {
            "$ref": "#/components/schemas/CustomThemeDto"
          }
        }
      },
      "DiscordRole": {
        "type": "object",
        "properties": {}
      },
      "CreateDiscordDetailsDto": {
        "type": "object",
        "properties": {
          "serverId": {
            "type": "string"
          },
          "roleId": {
            "type": "string",
            "deprecated": true
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscordRole"
            }
          },
          "active": {
            "type": "boolean"
          },
          "company": {
            "type": "string"
          },
          "botVersion": {
            "type": "string",
            "default": "V2",
            "enum": [
              "V1",
              "V2"
            ]
          }
        },
        "required": [
          "serverId",
          "company"
        ]
      },
      "UpdateDiscordDetailsDto": {
        "type": "object",
        "properties": {
          "serverId": {
            "type": "string"
          },
          "roleId": {
            "type": "string",
            "deprecated": true
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscordRole"
            }
          },
          "active": {
            "type": "boolean"
          },
          "botVersion": {
            "type": "string",
            "enum": [
              "V1",
              "V2"
            ]
          }
        }
      },
      "AllowlistWallet": {
        "type": "object",
        "properties": {
          "publicKey": {
            "type": "string",
            "description": "The public key of the wallet to add to the allowlist."
          },
          "maxAllowedQuantity": {
            "type": "number",
            "description": "The maximum number of purchases allowed for this wallet. Leave empty for no limit."
          }
        },
        "required": [
          "publicKey"
        ]
      },
      "AddAllowlistWalletsDto": {
        "type": "object",
        "properties": {
          "prId": {
            "type": "string",
            "description": "The ID of the pay link for which the allowlist is being updated."
          },
          "prType": {
            "type": "string",
            "description": "The type of payment resource. This should be set to 'PAYLINK'."
          },
          "wallets": {
            "type": "array",
            "description": "An array of wallet objects to add to the allowlist.",
            "items": {
              "$ref": "#/components/schemas/AllowlistWallet"
            }
          }
        },
        "required": [
          "prId",
          "prType",
          "wallets"
        ]
      },
      "AddAllowlistResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "prId": {
            "type": "string"
          },
          "prType": {
            "type": "string"
          },
          "wallets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AllowlistWallet"
            }
          }
        },
        "required": [
          "id",
          "prId",
          "prType",
          "wallets"
        ]
      },
      "AllowlistResponse": {
        "type": "object",
        "properties": {}
      },
      "UploadAllowlistCSVDto": {
        "type": "object",
        "properties": {
          "prId": {
            "type": "string"
          },
          "prType": {
            "type": "string",
            "enum": [
              "PAYLINK",
              "PAYSTREAM",
              "INVOICE"
            ]
          },
          "file": {
            "type": "object"
          }
        },
        "required": [
          "prType",
          "file"
        ]
      },
      "InvalidAllowlistWallet": {
        "type": "object",
        "properties": {
          "wallet": {
            "type": "string"
          },
          "row": {
            "type": "number"
          }
        },
        "required": [
          "wallet",
          "row"
        ]
      },
      "SignOnDto": {
        "type": "object",
        "properties": {
          "publicKey": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "authMessage": {
            "type": "string"
          },
          "nonce": {
            "type": "string"
          },
          "platform": {
            "enum": [
              "HELIO",
              "MAGIC_EDEN"
            ],
            "type": "string"
          },
          "origin": {
            "enum": [
              "XVERSE",
              "MAGICEDEN",
              "PHANTOM",
              "UNISAT",
              "LEATHER"
            ],
            "type": "string"
          },
          "nonceV2": {
            "type": "boolean"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "DASHBOARD",
                "SHOPIFY_DASHBOARD",
                "CHECKOUT"
              ]
            }
          }
        },
        "required": [
          "publicKey",
          "signature",
          "authMessage",
          "nonce",
          "nonceV2"
        ]
      },
      "AuthResponse": {
        "type": "object",
        "properties": {}
      },
      "EVMMessageDto": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "issuedAt": {
            "type": "string"
          },
          "nonce": {
            "type": "string"
          },
          "statement": {
            "type": "string"
          },
          "uri": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "address",
          "domain",
          "issuedAt",
          "nonce",
          "statement",
          "uri",
          "version"
        ]
      },
      "EVMSignOnDto": {
        "type": "object",
        "properties": {
          "message": {
            "$ref": "#/components/schemas/EVMMessageDto"
          },
          "signature": {
            "type": "string"
          },
          "platform": {
            "enum": [
              "HELIO",
              "MAGIC_EDEN"
            ],
            "type": "string"
          },
          "nonce": {
            "type": "string"
          },
          "publicKey": {
            "type": "string"
          },
          "authMessage": {
            "type": "string"
          },
          "nonceV2": {
            "type": "boolean"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "DASHBOARD",
                "SHOPIFY_DASHBOARD",
                "CHECKOUT"
              ]
            }
          }
        },
        "required": [
          "message",
          "signature",
          "nonce",
          "publicKey",
          "authMessage",
          "nonceV2"
        ]
      },
      "AddWalletResponse": {
        "type": "object",
        "properties": {}
      },
      "SignOnWeb3authSocialNetworkDto": {
        "type": "object",
        "properties": {
          "appPublicKey": {
            "type": "string"
          },
          "platform": {
            "type": "string",
            "enum": [
              "HELIO",
              "MAGIC_EDEN"
            ]
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "DASHBOARD",
                "SHOPIFY_DASHBOARD",
                "CHECKOUT"
              ]
            }
          }
        },
        "required": [
          "appPublicKey"
        ]
      },
      "AccessCodeAuthDto": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "prId": {
            "type": "string"
          },
          "payerPublicKey": {
            "type": "string"
          },
          "prType": {
            "type": "string",
            "enum": [
              "PAYLINK",
              "PAYSTREAM",
              "INVOICE"
            ]
          }
        },
        "required": [
          "code",
          "prId",
          "payerPublicKey",
          "prType"
        ]
      },
      "AccessCodeAuthResponse": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string"
          }
        },
        "required": [
          "token"
        ]
      },
      "AccessCodeAuthPublicConfig": {
        "type": "object",
        "properties": {
          "headerName": {
            "type": "string"
          }
        },
        "required": [
          "headerName"
        ]
      },
      "DiscordAuthDto": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "prId": {
            "type": "string"
          },
          "payerPublicKey": {
            "type": "string"
          },
          "prType": {
            "enum": [
              "PAYLINK",
              "PAYSTREAM",
              "INVOICE"
            ],
            "type": "string"
          }
        },
        "required": [
          "code",
          "prId",
          "payerPublicKey",
          "prType"
        ]
      },
      "DiscordAuthResponse": {
        "type": "object",
        "properties": {
          "token": {
            "type": "string"
          }
        },
        "required": [
          "token"
        ]
      },
      "DiscordAuthPublicConfig": {
        "type": "object",
        "properties": {
          "redirectUri": {
            "type": "string"
          },
          "clientId": {
            "type": "string"
          },
          "headerName": {
            "type": "string"
          }
        },
        "required": [
          "redirectUri",
          "clientId",
          "headerName"
        ]
      },
      "UpdateSlugDto": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "objectType": {
            "type": "string",
            "enum": [
              "PAYLINK",
              "PAYSTREAM",
              "USER"
            ]
          },
          "objectId": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "objectType",
          "objectId"
        ]
      },
      "InvoiceItem": {
        "type": "object",
        "properties": {
          "price": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "image": {
            "$ref": "#/components/schemas/BaseAttachment"
          },
          "description": {
            "type": "string"
          }
        },
        "required": [
          "price",
          "id",
          "name",
          "quantity"
        ]
      },
      "Invoice": {
        "type": "object",
        "properties": {
          "contact": {
            "$ref": "#/components/schemas/Contact"
          },
          "date": {
            "type": "string"
          },
          "dueDate": {
            "type": "string"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceItem"
            }
          },
          "status": {
            "enum": [
              "PAID",
              "UNPAID",
              "CANCELLED"
            ],
            "type": "string"
          },
          "invoiceNumber": {
            "type": "number"
          },
          "taxPercentage": {
            "type": "number"
          }
        },
        "required": [
          "contact",
          "date",
          "dueDate",
          "currency",
          "items",
          "status"
        ]
      },
      "BaseCompany": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "logoUrl": {
            "type": "string"
          },
          "websiteUrl": {
            "type": "string"
          },
          "twitterUsername": {
            "type": "string"
          },
          "discordUsername": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "twitterConfirmed": {
            "type": "boolean"
          },
          "escrowFunds": {
            "type": "boolean"
          },
          "kycVerified": {
            "type": "boolean"
          },
          "kybVerified": {
            "type": "boolean"
          },
          "helioVerified": {
            "type": "boolean",
            "description": "undefined = pending helio verification\nOnly set to true/false once approved/denied."
          }
        },
        "required": [
          "id"
        ]
      },
      "BaseWallet": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "publicKey": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "btcProperties": {
            "$ref": "#/components/schemas/BTCProperties"
          },
          "type": {
            "type": "string",
            "enum": [
              "EXTENSION",
              "WEB3AUTH"
            ]
          }
        },
        "required": [
          "id",
          "publicKey"
        ]
      },
      "Recipient": {
        "type": "object",
        "properties": {
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "wallet": {
            "type": "object"
          }
        },
        "required": [
          "currency",
          "wallet"
        ]
      },
      "EnrichedInvoice": {
        "type": "object",
        "properties": {
          "contact": {
            "$ref": "#/components/schemas/Contact"
          },
          "date": {
            "type": "string"
          },
          "dueDate": {
            "type": "string"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceItem"
            }
          },
          "status": {
            "enum": [
              "PAID",
              "UNPAID",
              "CANCELLED"
            ],
            "type": "string"
          },
          "invoiceNumber": {
            "type": "number"
          },
          "taxPercentage": {
            "type": "number"
          },
          "company": {
            "$ref": "#/components/schemas/BaseCompany"
          },
          "wallet": {
            "$ref": "#/components/schemas/BaseWallet"
          },
          "creator": {
            "$ref": "#/components/schemas/BaseUser"
          },
          "pricingCurrency": {
            "$ref": "#/components/schemas/Currency"
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Recipient"
            }
          }
        },
        "required": [
          "contact",
          "date",
          "dueDate",
          "currency",
          "items",
          "status",
          "company",
          "wallet",
          "creator",
          "pricingCurrency",
          "recipients"
        ]
      },
      "InvoiceItemDto": {
        "type": "object",
        "properties": {
          "price": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "description": {
            "type": "string"
          }
        },
        "required": [
          "price",
          "name"
        ]
      },
      "CreateInvoiceDto": {
        "type": "object",
        "properties": {
          "contact": {
            "type": "string"
          },
          "dueDate": {
            "format": "date-time",
            "type": "string"
          },
          "date": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "blockchain": {
            "type": "string"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceItemDto"
            }
          },
          "invoiceNumber": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "taxPercentage": {
            "type": "number"
          }
        },
        "required": [
          "contact",
          "dueDate",
          "date",
          "currency",
          "items",
          "invoiceNumber"
        ]
      },
      "UpdateInvoiceDto": {
        "type": "object",
        "properties": {
          "contact": {
            "type": "string"
          },
          "dueDate": {
            "format": "date-time",
            "type": "string"
          },
          "date": {
            "format": "date-time",
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "blockchain": {
            "type": "string"
          },
          "invoiceNumber": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "taxPercentage": {
            "type": "number"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceItemDto"
            }
          }
        }
      },
      "CreateNonceDto": {
        "type": "object",
        "properties": {
          "blockchainEngine": {
            "type": "string"
          },
          "publicKey": {
            "type": "string"
          }
        },
        "required": [
          "blockchainEngine",
          "publicKey"
        ]
      },
      "PaylinkTxWithBaseMeta": {
        "type": "object",
        "properties": {}
      },
      "SubscriptionWithTransactions": {
        "type": "object",
        "properties": {
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaylinkTxWithBaseMeta"
            }
          },
          "id": {
            "type": "string"
          },
          "status": {
            "enum": [
              "ACTIVE",
              "EXPIRED"
            ],
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "renewalDate": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          }
        },
        "required": [
          "transactions",
          "id",
          "status",
          "email",
          "renewalDate",
          "createdAt"
        ]
      },
      "Paylink": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "template": {
            "type": "string",
            "enum": [
              "PRODUCT",
              "SUBSCRIPTION",
              "PRE_SALE",
              "SINGLE_NFT",
              "VIDEO",
              "DISCORD_MEMBERSHIP",
              "TELEGRAM_MEMBERSHIP",
              "INVOICE",
              "EMBEDDED",
              "LINK_OR_FILE",
              "TRADING_VIEW",
              "EVENT",
              "WOO_COMMERCE",
              "OTHER",
              "LEGACY",
              "RAFFLE",
              "SHOPIFY",
              "BLINK",
              "PAYLINK_V2",
              "EMBEDDED_V2",
              "SUBSCRIPTION_V2"
            ]
          },
          "description": {
            "type": "string"
          },
          "price": {
            "type": "string"
          },
          "normalizedPrice": {
            "type": "string"
          },
          "platform": {
            "type": "string",
            "enum": [
              "HELIO",
              "MAGIC_EDEN"
            ]
          },
          "disabled": {
            "type": "boolean"
          },
          "inactive": {
            "type": "boolean"
          },
          "dynamic": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          },
          "notifySenderByEmail": {
            "type": "boolean"
          },
          "notifyReceiverByEmail": {
            "type": "boolean"
          },
          "addDiscordRole": {
            "type": "boolean"
          },
          "image": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "additionalImages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "additionalImageUrls": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "maxTransactions": {
            "type": "number"
          },
          "redirectUrl": {
            "type": "string"
          },
          "redirectTimeout": {
            "type": "number"
          },
          "redirectQueryParams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RedirectQueryParamDto"
            }
          },
          "nftCollectionAddress": {
            "type": "string"
          },
          "discordAuthDetails": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "affiliateDetails": {
            "nullable": true,
            "type": "object"
          },
          "features": {
            "$ref": "#/components/schemas/LinkFeatures"
          },
          "minQuantity": {
            "type": "number"
          },
          "maxQuantity": {
            "type": "number"
          },
          "airdropConfigured": {
            "type": "boolean"
          },
          "creator": {
            "$ref": "#/components/schemas/User"
          },
          "company": {
            "$ref": "#/components/schemas/BaseCompany"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "wallet": {
            "$ref": "#/components/schemas/Wallet"
          },
          "product": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/Product"
              }
            ]
          },
          "pricingCurrency": {
            "$ref": "#/components/schemas/Currency"
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Recipient"
            }
          },
          "splitWallets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SplitWallet"
            }
          },
          "discountCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscountCode"
            }
          }
        },
        "required": [
          "id",
          "name",
          "template",
          "price",
          "platform",
          "notifySenderByEmail",
          "notifyReceiverByEmail",
          "addDiscordRole",
          "features",
          "creator",
          "company",
          "currency",
          "wallet",
          "pricingCurrency"
        ]
      },
      "PaylinkTxWithPublicMeta": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "paylinkId": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "createdAt": {
            "type": "string"
          },
          "fee": {
            "type": "string"
          },
          "paymentType": {
            "type": "string",
            "enum": [
              "PAYLINK",
              "PAYSTREAM",
              "INVOICE",
              "DEPOSIT"
            ]
          },
          "claimDetails": {
            "$ref": "#/components/schemas/ClaimDetails"
          },
          "meta": {
            "$ref": "#/components/schemas/PublicTransactionMeta"
          }
        },
        "required": [
          "id",
          "quantity",
          "createdAt",
          "paymentType",
          "claimDetails",
          "meta"
        ]
      },
      "PrepareRequestBodyFromCharge": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "pricingCurrencyRateToken": {
            "type": "string"
          }
        },
        "required": [
          "currency"
        ]
      },
      "ShopifyPaymentDetails": {
        "type": "object",
        "properties": {
          "shopifyPaymentId": {
            "type": "string"
          },
          "shopifyPaymentGid": {
            "type": "string"
          }
        },
        "required": [
          "shopifyPaymentId",
          "shopifyPaymentGid"
        ]
      },
      "SplitWallet": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string"
          },
          "percent": {
            "type": "number"
          }
        },
        "required": [
          "address"
        ]
      },
      "DiscountCode": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "percent": {
            "type": "number"
          },
          "tokenType": {
            "type": "string"
          }
        },
        "required": [
          "percent",
          "tokenType"
        ]
      },
      "SplitAccount": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string"
          },
          "recipient": {
            "type": "string"
          }
        },
        "required": [
          "amount",
          "recipient"
        ]
      },
      "ClaimDetails": {
        "type": "object",
        "properties": {
          "tradingView": {
            "type": "object",
            "properties": {
              "username": {
                "type": "string"
              }
            }
          },
          "discord": {
            "type": "object",
            "properties": {
              "username": {
                "type": "string"
              }
            }
          }
        }
      },
      "PublicTransactionMeta": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "totalAmount": {
            "type": "string"
          },
          "affiliateAmount": {
            "type": "string"
          },
          "transactionSignature": {
            "type": "string"
          },
          "recipientPK": {
            "type": "string"
          },
          "senderPK": {
            "type": "string"
          },
          "splitRevenue": {
            "type": "boolean"
          },
          "remainingAccounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SplitAccount"
            }
          },
          "transactionStatus": {
            "type": "string",
            "enum": [
              "INITIATED",
              "PENDING",
              "SUCCESS",
              "FAILED",
              "CANCELED",
              "SETTLED"
            ]
          },
          "transactionDataHash": {
            "type": "string"
          },
          "transactionType": {
            "type": "string",
            "enum": [
              "REFUND",
              "PAYLINK",
              "BLINK",
              "HELIO_WALLET",
              "SWAP",
              "DEPOSIT"
            ]
          },
          "affiliateCode": {
            "type": "string"
          },
          "affiliatePublicKey": {
            "type": "string"
          },
          "tokenQuote": {
            "type": "object"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          }
        },
        "required": [
          "id",
          "amount",
          "totalAmount",
          "transactionSignature",
          "recipientPK",
          "senderPK",
          "splitRevenue",
          "remainingAccounts",
          "currency"
        ]
      },
      "EnrichedCharge": {
        "type": "object",
        "properties": {
          "pricingCurrencyRequestAmount": {
            "type": "string"
          },
          "paylink": {
            "$ref": "#/components/schemas/Paylink"
          },
          "paylinkTx": {
            "description": "The transaction associated with this charge. Null when the charge has not yet been paid.",
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/PaylinkTxWithPublicMeta"
              }
            ]
          },
          "isSubscriptionRenewal": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "prepareRequestBody": {
            "$ref": "#/components/schemas/PrepareRequestBodyFromCharge"
          },
          "requestAmount": {
            "type": "string"
          },
          "token": {
            "type": "string"
          },
          "currencySymbol": {
            "type": "string"
          },
          "redirectUrl": {
            "type": "string"
          },
          "shopifyPaymentDetails": {
            "description": "Shopify payment session details. Only present for charges created via a Shopify integration, null otherwise.",
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ShopifyPaymentDetails"
              }
            ]
          },
          "expiresAt": {
            "description": "ISO 8601 timestamp indicating when the charge expires. May be absent if no expiry was set at creation.",
            "type": "string"
          },
          "usdcAmount": {
            "description": "The charge amount denominated in USDC (minimal units). May be absent depending on the payment flow.",
            "type": "string"
          }
        },
        "required": [
          "pricingCurrencyRequestAmount",
          "paylink",
          "paylinkTx",
          "isSubscriptionRenewal",
          "id",
          "prepareRequestBody",
          "requestAmount",
          "token",
          "currencySymbol",
          "redirectUrl"
        ]
      },
      "DiscordUserDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        },
        "required": [
          "username"
        ]
      },
      "CustomerDetailsBtcPropertiesDto": {
        "type": "object",
        "properties": {
          "ordinalsAddress": {
            "type": "string",
            "minLength": 32,
            "maxLength": 62
          }
        }
      },
      "CustomerDetailsDto": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "discordUsername": {
            "type": "string",
            "deprecated": true
          },
          "discordUser": {
            "$ref": "#/components/schemas/DiscordUserDto"
          },
          "twitterUsername": {
            "type": "string"
          },
          "telegramUsername": {
            "type": "string"
          },
          "fullName": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "street": {
            "type": "string"
          },
          "streetNumber": {
            "type": "string"
          },
          "areaCode": {
            "type": "string"
          },
          "deliveryAddress": {
            "type": "string"
          },
          "blinkAddress": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "additionalJSON": {
            "type": "string"
          },
          "btcProperties": {
            "$ref": "#/components/schemas/CustomerDetailsBtcPropertiesDto"
          }
        }
      },
      "ProductDetailsDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          }
        }
      },
      "PrepareTransactionFromChargeDto": {
        "type": "object",
        "properties": {
          "sender": {
            "type": "string"
          },
          "canSwapTokens": {
            "type": "boolean"
          },
          "swapRouteToken": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "fixedCurrencyRateToken": {
            "type": "string"
          },
          "discountToken": {
            "type": "string"
          },
          "affiliateCode": {
            "type": "string"
          },
          "customerDetails": {
            "$ref": "#/components/schemas/CustomerDetailsDto"
          },
          "productDetails": {
            "$ref": "#/components/schemas/ProductDetailsDto"
          },
          "pricingCurrencyRateToken": {
            "type": "string"
          },
          "sourceIntegration": {
            "type": "string",
            "enum": [
              "WOO_COMMERCE"
            ]
          },
          "sourceIntegrationVersion": {
            "type": "string",
            "maxLength": 100
          },
          "solanaTransactionVersion": {
            "type": "string",
            "enum": [
              "LEGACY",
              "VERSIONED"
            ]
          },
          "paymentRequestId": {
            "type": "string"
          }
        },
        "required": [
          "sender",
          "currency",
          "paymentRequestId"
        ]
      },
      "CreateChargeDto": {
        "type": "object",
        "properties": {
          "paymentRequestId": {
            "type": "string"
          },
          "paylink": {
            "type": "string"
          },
          "prepareRequestBody": {
            "$ref": "#/components/schemas/PrepareTransactionFromChargeDto"
          },
          "requestAmount": {
            "type": "string"
          },
          "currencySymbol": {
            "type": "string"
          },
          "usdcAmount": {
            "type": "string"
          },
          "redirectUrl": {
            "type": "string"
          },
          "token": {
            "type": "string"
          }
        },
        "required": [
          "paymentRequestId",
          "paylink",
          "prepareRequestBody",
          "requestAmount",
          "currencySymbol"
        ]
      },
      "PrepareRequestBodyFromApiKeyChargeDto": {
        "type": "object",
        "properties": {
          "quantity": {
            "type": "number"
          },
          "discountToken": {
            "type": "string"
          },
          "affiliateCode": {
            "type": "string"
          },
          "customerDetails": {
            "$ref": "#/components/schemas/CustomerDetailsDto"
          },
          "productDetails": {
            "$ref": "#/components/schemas/ProductDetailsDto"
          },
          "pricingCurrencyRateToken": {
            "type": "string"
          },
          "sourceIntegration": {
            "type": "string",
            "enum": [
              "WOO_COMMERCE"
            ]
          },
          "sourceIntegrationVersion": {
            "type": "string",
            "maxLength": 100
          },
          "solanaTransactionVersion": {
            "type": "string",
            "enum": [
              "LEGACY",
              "VERSIONED"
            ]
          },
          "canSwapTokens": {
            "type": "boolean"
          },
          "swapRouteToken": {
            "type": "string"
          }
        }
      },
      "CreateChargeByApiKeyDto": {
        "type": "object",
        "properties": {
          "paymentRequestId": {
            "type": "string",
            "description": "The unique identifier of the pay link you want to use to create a charge."
          },
          "requestAmount": {
            "type": "string",
            "description": "The amount to charge when using a dynamic pay link."
          },
          "expiresAt": {
            "type": "string",
            "description": "The expiration date and time of the charge in ISO 8601 format (e.g., 2025-09-01T14:31:44.171Z)."
          },
          "successRedirectUrl": {
            "type": "string",
            "description": "Redirect URL to use after a successful payment. The parent Pay Link must have a redirect URL enabled, and this value overrides the Paylink’s default success redirect URL."
          },
          "cancelRedirectUrl": {
            "type": "string",
            "description": "Redirect URL to use after a cancelled payment. The parent Pay Link must have a redirect URL enabled, and this value overrides the Paylink’s default success redirect URL."
          },
          "prepareRequestBody": {
            "type": "object",
            "description": "Optional configuration passed when preparing the charge.",
            "properties": {
              "customerDetails": {
                "type": "object",
                "description": "Additional customer metadata for the charge.",
                "properties": {
                  "additionalJSON": {
                    "type": "string",
                    "description": "Arbitrary JSON string attached to the charge. Useful for passing custom metadata."
                  }
                }
              }
            }
          }
        },
        "required": [
          "paymentRequestId"
        ]
      },
      "ChargePageUrl": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "pageUrl": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "pageUrl"
        ]
      },
      "PrepareSwapTransactionChargeDto": {
        "type": "object",
        "properties": {
          "swapRouteToken": {
            "type": "string"
          },
          "discountToken": {
            "type": "string"
          },
          "account": {
            "type": "string"
          },
          "paymentRequestId": {
            "type": "string"
          },
          "chargeId": {
            "type": "string"
          }
        },
        "required": [
          "swapRouteToken",
          "account",
          "paymentRequestId"
        ]
      },
      "PrepareTransaction": {
        "type": "object",
        "properties": {
          "transactionToken": {
            "type": "string"
          },
          "transactionMessage": {
            "type": "string"
          },
          "serializedTransaction": {
            "type": "string"
          },
          "addressLookupTableAccounts": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "transactionToken",
          "transactionMessage"
        ]
      },
      "PrepareSwapTransaction": {
        "type": "object",
        "properties": {
          "standardTransaction": {
            "$ref": "#/components/schemas/PrepareTransaction"
          },
          "swapTransaction": {
            "type": "string"
          }
        },
        "required": [
          "standardTransaction",
          "swapTransaction"
        ]
      },
      "PrepareTransactionChargeDto": {
        "type": "object",
        "properties": {
          "account": {
            "type": "string"
          },
          "paymentRequestId": {
            "type": "string"
          },
          "chargeId": {
            "type": "string"
          },
          "discountToken": {
            "type": "string"
          }
        },
        "required": [
          "account",
          "paymentRequestId"
        ]
      },
      "PrepareBTCTransactionFromChargeDto": {
        "type": "object",
        "properties": {
          "account": {
            "type": "string"
          },
          "paymentRequestId": {
            "type": "string"
          },
          "chargeId": {
            "type": "string"
          },
          "discountToken": {
            "type": "string"
          },
          "btcPublicKey": {
            "type": "string"
          }
        },
        "required": [
          "account",
          "paymentRequestId",
          "btcPublicKey"
        ]
      },
      "UpdateChargeDto": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string"
          },
          "pricingCurrencyRateToken": {
            "type": "string"
          },
          "customerDetails": {
            "$ref": "#/components/schemas/CustomerDetailsDto"
          },
          "productDetails": {
            "$ref": "#/components/schemas/ProductDetailsDto"
          },
          "currency": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          }
        },
        "required": [
          "amount",
          "pricingCurrencyRateToken",
          "currency"
        ]
      },
      "PartialUpdateChargeDto": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          }
        },
        "required": [
          "currency"
        ]
      },
      "PrepareTransactionDto": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "fixedCurrencyRateToken": {
            "type": "string"
          },
          "discountToken": {
            "type": "string"
          },
          "affiliateCode": {
            "type": "string"
          },
          "customerDetails": {
            "$ref": "#/components/schemas/CustomerDetailsDto"
          },
          "productDetails": {
            "$ref": "#/components/schemas/ProductDetailsDto"
          },
          "pricingCurrencyRateToken": {
            "type": "string"
          },
          "sourceIntegration": {
            "type": "string",
            "enum": [
              "WOO_COMMERCE"
            ]
          },
          "sourceIntegrationVersion": {
            "type": "string",
            "maxLength": 100
          },
          "solanaTransactionVersion": {
            "type": "string",
            "enum": [
              "LEGACY",
              "VERSIONED"
            ]
          },
          "paymentRequestId": {
            "type": "string"
          },
          "sender": {
            "type": "string"
          }
        },
        "required": [
          "currency",
          "paymentRequestId",
          "sender"
        ]
      },
      "PrepareSwapTransactionDto": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "fixedCurrencyRateToken": {
            "type": "string"
          },
          "discountToken": {
            "type": "string"
          },
          "affiliateCode": {
            "type": "string"
          },
          "customerDetails": {
            "$ref": "#/components/schemas/CustomerDetailsDto"
          },
          "productDetails": {
            "$ref": "#/components/schemas/ProductDetailsDto"
          },
          "pricingCurrencyRateToken": {
            "type": "string"
          },
          "sourceIntegration": {
            "type": "string",
            "enum": [
              "WOO_COMMERCE"
            ]
          },
          "sourceIntegrationVersion": {
            "type": "string",
            "maxLength": 100
          },
          "solanaTransactionVersion": {
            "enum": [
              "LEGACY",
              "VERSIONED"
            ],
            "type": "string"
          },
          "paymentRequestId": {
            "type": "string"
          },
          "sender": {
            "type": "string"
          },
          "swapRouteToken": {
            "type": "string"
          }
        },
        "required": [
          "currency",
          "paymentRequestId",
          "sender",
          "swapRouteToken"
        ]
      },
      "GeoblockIpAllowed": {
        "type": "object",
        "properties": {
          "isAllowed": {
            "type": "boolean"
          }
        },
        "required": [
          "isAllowed"
        ]
      },
      "TokenQuoting": {
        "type": "object",
        "properties": {
          "rateToken": {
            "type": "string"
          }
        },
        "required": [
          "rateToken"
        ]
      },
      "SwapRouteToken": {
        "type": "object",
        "properties": {
          "routeToken": {
            "type": "string"
          }
        },
        "required": [
          "routeToken"
        ]
      },
      "UpdateAddressesLookupTableDto": {
        "type": "object",
        "properties": {
          "addresses": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "addresses"
        ]
      },
      "UpdateAddressesLookupTableResponse": {
        "type": "object",
        "properties": {
          "addresses": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "addresses"
        ]
      },
      "CreatePaylinkTransactionHookDto": {
        "type": "object",
        "properties": {
          "events": {
            "type": "string",
            "enum": [
              "CREATED"
            ],
            "description": "The type of event that triggers the webhook. Use 'CREATED'."
          },
          "paylinkId": {
            "type": "string",
            "description": "The ID of the pay link the webhook is associated with."
          },
          "targetUrl": {
            "type": "string",
            "description": "The URL that will receive the webhook payload when the event occurs."
          }
        },
        "required": [
          "events",
          "paylinkId",
          "targetUrl"
        ]
      },
      "CreateWebHookDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the webhook."
          },
          "paylinkId": {
            "type": "string",
            "description": "The ID of the pay link the webhook is associated with. This field is optional — leave it blank to create a global webhook."
          },
          "targetUrl": {
            "type": "string",
            "description": "The URL that will receive the webhook payload when the event occurs."
          }
        },
        "required": [
          "name",
          "targetUrl"
        ]
      },
      "PaylinkTransactionHookEntity": {
        "type": "object",
        "properties": {
          "events": {
            "type": "string",
            "enum": [
              "CREATED"
            ]
          },
          "id": {
            "type": "string"
          },
          "paylink": {
            "type": "string"
          },
          "company": {
            "type": "string"
          },
          "targetUrl": {
            "type": "string"
          },
          "sharedToken": {
            "type": "string"
          },
          "creator": {
            "type": "string"
          }
        },
        "required": [
          "events",
          "id",
          "paylink",
          "company",
          "targetUrl",
          "sharedToken"
        ]
      },
      "CreateStreamTransactionHookDto": {
        "type": "object",
        "properties": {
          "streamId": {
            "type": "string",
            "description": "The ID of the pay stream for which the webhook is being created."
          },
          "targetUrl": {
            "type": "string",
            "description": "The URL that will receive webhook notifications when events occur."
          },
          "events": {
            "type": "array",
            "description": "A list of stream events that should trigger the webhook. Supported values are 'STARTED' and 'ENDED'.",
            "items": {
              "type": "string",
              "enum": [
                "STARTED",
                "ENDED"
              ]
            }
          }
        },
        "required": [
          "streamId",
          "targetUrl",
          "events"
        ]
      },
      "StreamTransactionHookEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "stream": {
            "type": "string"
          },
          "company": {
            "type": "string"
          },
          "targetUrl": {
            "type": "string"
          },
          "events": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "STARTED",
                "ENDED"
              ]
            }
          },
          "sharedToken": {
            "type": "string"
          },
          "creator": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "stream",
          "company",
          "targetUrl",
          "events",
          "sharedToken"
        ]
      },
      "CreateBlinkTransactionHookDto": {
        "type": "object",
        "properties": {
          "blinkId": {
            "type": "string",
            "description": "The ID of the Blink for which the webhook is being created."
          },
          "targetUrl": {
            "type": "string",
            "description": "The URL that will receive the webhook event payload."
          },
          "events": {
            "type": "string",
            "enum": [
              "CREATED"
            ],
            "description": "The event that triggers the webhook. Use 'CREATED'."
          }
        },
        "required": [
          "blinkId",
          "targetUrl",
          "events"
        ]
      },
      "BlinkTransactionHookEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "blink": {
            "type": "string"
          },
          "company": {
            "type": "string"
          },
          "targetUrl": {
            "type": "string"
          },
          "events": {
            "type": "string",
            "enum": [
              "CREATED"
            ]
          },
          "sharedToken": {
            "type": "string"
          },
          "creator": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "blink",
          "company",
          "targetUrl",
          "events",
          "sharedToken"
        ]
      },
      "CreatePaylinkSubscriptionHookDto": {
        "type": "object",
        "properties": {
          "events": {
            "type": "array",
            "default": [],
            "description": "List of subscription lifecycle events that will trigger the webhook. Supported values are 'STARTED', 'RENEWED', and 'ENDED'.",
            "items": {
              "type": "string",
              "enum": [
                "STARTED",
                "RENEWED",
                "ENDED"
              ]
            }
          },
          "paylinkId": {
            "type": "string",
            "description": "The ID of the pay link associated with the subscription."
          },
          "targetUrl": {
            "type": "string",
            "description": "The URL that will receive webhook notifications for subscription events."
          }
        },
        "required": [
          "paylinkId",
          "targetUrl",
          "events"
        ]
      },
      "CreateDepositHookDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the webhook."
          },
          "depositId": {
            "type": "string",
            "description": "The ID of the deposit the webhook is associated with."
          },
          "targetUrl": {
            "type": "string",
            "description": "The URL that will receive the webhook payload when the event occurs."
          }
        },
        "required": [
          "name",
          "depositId",
          "targetUrl"
        ]
      },
      "PaylinkSubscriptionHookEntity": {
        "type": "object",
        "properties": {
          "events": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "STARTED",
                "RENEWED",
                "ENDED"
              ]
            }
          },
          "id": {
            "type": "string"
          },
          "paylink": {
            "type": "string"
          },
          "company": {
            "type": "string"
          },
          "targetUrl": {
            "type": "string"
          },
          "sharedToken": {
            "type": "string"
          },
          "creator": {
            "type": "string"
          }
        },
        "required": [
          "events",
          "id",
          "paylink",
          "company",
          "targetUrl",
          "sharedToken"
        ]
      },
      "Product": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "optional": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "description",
          "type",
          "active",
          "optional"
        ]
      },
      "BlinkFeatures": {
        "type": "object",
        "properties": {
          "requireEmail": {
            "type": "boolean"
          },
          "requireDiscordUsername": {
            "type": "boolean"
          },
          "requireFullName": {
            "type": "boolean"
          },
          "requireTwitterUsername": {
            "type": "boolean"
          },
          "requireDeliveryAddress": {
            "type": "boolean"
          },
          "requirePhoneNumber": {
            "type": "boolean"
          },
          "requireProductDetails": {
            "type": "boolean"
          },
          "requireAdditionalProductDetails": {
            "type": "boolean"
          },
          "requireMaxTransactions": {
            "type": "boolean"
          }
        },
        "required": [
          "requireEmail",
          "requireDiscordUsername",
          "requireFullName",
          "requireTwitterUsername",
          "requireDeliveryAddress",
          "requirePhoneNumber",
          "requireProductDetails",
          "requireMaxTransactions"
        ]
      },
      "ShallowEnrichedBlink": {
        "type": "object",
        "properties": {
          "sales": {
            "format": "int64",
            "type": "integer"
          },
          "creator": {
            "$ref": "#/components/schemas/BaseUser"
          },
          "company": {
            "$ref": "#/components/schemas/BaseCompany"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "product": {
            "$ref": "#/components/schemas/Product"
          },
          "additionalProducts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Product"
            }
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Recipient"
            }
          },
          "bannerImageUrl": {
            "type": "string"
          },
          "volume": {
            "type": "number"
          },
          "price": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "buttonText": {
            "type": "string"
          },
          "disabledButtonText": {
            "type": "string"
          },
          "features": {
            "$ref": "#/components/schemas/BlinkFeatures"
          },
          "maxTransactions": {
            "type": "number"
          },
          "platform": {
            "enum": [
              "HELIO",
              "MAGIC_EDEN"
            ],
            "type": "string"
          },
          "disabled": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          }
        },
        "required": [
          "sales",
          "creator",
          "company",
          "currency",
          "product",
          "recipients",
          "bannerImageUrl",
          "volume",
          "price",
          "id",
          "name",
          "description",
          "buttonText",
          "disabledButtonText",
          "features",
          "platform",
          "disabled",
          "createdAt",
          "updatedAt"
        ]
      },
      "CreateBlinkFeaturesDto": {
        "type": "object",
        "properties": {
          "requireEmail": {
            "type": "boolean"
          },
          "requireDiscordUsername": {
            "type": "boolean"
          },
          "requireFullName": {
            "type": "boolean"
          },
          "requireTwitterUsername": {
            "type": "boolean"
          },
          "requireDeliveryAddress": {
            "type": "boolean"
          },
          "requirePhoneNumber": {
            "type": "boolean"
          },
          "requireProductDetails": {
            "type": "boolean"
          },
          "requireAdditionalProductDetails": {
            "type": "boolean"
          },
          "requireMaxTransactions": {
            "type": "boolean"
          }
        }
      },
      "CreateBlinkDto": {
        "type": "object",
        "properties": {
          "features": {
            "$ref": "#/components/schemas/CreateBlinkFeaturesDto"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "bannerImage": {
            "type": "string"
          },
          "price": {
            "type": "string"
          },
          "buttonText": {
            "type": "string"
          },
          "disabledButtonText": {
            "type": "string"
          },
          "creatorPK": {
            "type": "string"
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecipientDto"
            }
          },
          "content": {
            "$ref": "#/components/schemas/ContentDto"
          },
          "limit": {
            "type": "number"
          },
          "product": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductDto"
              }
            ]
          },
          "additionalProducts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductDto"
            }
          }
        },
        "required": [
          "features",
          "name",
          "description",
          "bannerImage",
          "price",
          "buttonText",
          "recipients"
        ]
      },
      "User": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "userType": {
            "nullable": true,
            "enum": [
              "MERCHANT",
              "BUYER"
            ],
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "discordUsername": {
            "type": "string"
          },
          "twitterUsername": {
            "type": "string"
          },
          "isDisabled": {
            "type": "boolean"
          },
          "kycVerified": {
            "type": "boolean"
          },
          "helioVerified": {
            "type": "boolean",
            "description": "undefined = pending helio verification\nOnly set to true/false once approved/denied."
          },
          "platformDetails": {
            "$ref": "#/components/schemas/PlatformDetailsBase"
          },
          "affiliateCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserAffiliateCode"
            }
          }
        },
        "required": [
          "id",
          "userType"
        ]
      },
      "Blink": {
        "type": "object",
        "properties": {
          "bannerImageUrl": {
            "type": "string"
          },
          "creator": {
            "$ref": "#/components/schemas/User"
          },
          "company": {
            "$ref": "#/components/schemas/BaseCompany"
          },
          "currency": {
            "$ref": "#/components/schemas/Currency"
          },
          "product": {
            "$ref": "#/components/schemas/Product"
          },
          "additionalProducts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Product"
            }
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Recipient"
            }
          },
          "price": {
            "format": "int64",
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "buttonText": {
            "type": "string"
          },
          "disabledButtonText": {
            "type": "string"
          },
          "features": {
            "$ref": "#/components/schemas/BlinkFeatures"
          },
          "maxTransactions": {
            "type": "number"
          },
          "platform": {
            "enum": [
              "HELIO",
              "MAGIC_EDEN"
            ],
            "type": "string"
          },
          "disabled": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          }
        },
        "required": [
          "bannerImageUrl",
          "creator",
          "company",
          "currency",
          "product",
          "recipients",
          "price",
          "id",
          "name",
          "description",
          "buttonText",
          "disabledButtonText",
          "features",
          "platform",
          "disabled",
          "createdAt",
          "updatedAt"
        ]
      },
      "UpdateBlinkDto": {
        "type": "object",
        "properties": {
          "features": {
            "$ref": "#/components/schemas/CreateBlinkFeaturesDto"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "bannerImage": {
            "type": "string"
          },
          "price": {
            "type": "string"
          },
          "buttonText": {
            "type": "string"
          },
          "disabledButtonText": {
            "type": "string"
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecipientDto"
            }
          },
          "content": {
            "$ref": "#/components/schemas/ContentDto"
          },
          "limit": {
            "type": "number"
          },
          "product": {
            "nullable": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ProductDto"
              }
            ]
          },
          "additionalProducts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductDto"
            }
          },
          "disabled": {
            "type": "boolean"
          }
        }
      },
      "PrepareEvmTransactionDto": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "fixedCurrencyRateToken": {
            "type": "string"
          },
          "discountToken": {
            "type": "string"
          },
          "customerDetails": {
            "$ref": "#/components/schemas/CustomerDetailsDto"
          },
          "productDetails": {
            "$ref": "#/components/schemas/ProductDetailsDto"
          },
          "pricingCurrencyRateToken": {
            "type": "string"
          },
          "sourceIntegration": {
            "type": "string",
            "enum": [
              "WOO_COMMERCE"
            ]
          },
          "sourceIntegrationVersion": {
            "type": "string",
            "maxLength": 100
          },
          "paymentRequestId": {
            "type": "string"
          },
          "sender": {
            "type": "string"
          }
        },
        "required": [
          "currency",
          "paymentRequestId",
          "sender"
        ]
      },
      "PrepareBTCTransactionDto": {
        "type": "object",
        "properties": {
          "btcPublicKey": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "customerDetails": {
            "$ref": "#/components/schemas/CustomerDetailsDto"
          },
          "productDetails": {
            "$ref": "#/components/schemas/ProductDetailsDto"
          },
          "fixedCurrencyRateToken": {
            "type": "string"
          },
          "pricingCurrencyRateToken": {
            "type": "string"
          },
          "sourceIntegration": {
            "type": "string",
            "enum": [
              "WOO_COMMERCE"
            ]
          },
          "sourceIntegrationVersion": {
            "type": "string",
            "maxLength": 100
          },
          "paymentRequestId": {
            "type": "string"
          },
          "sender": {
            "type": "string"
          }
        },
        "required": [
          "btcPublicKey",
          "paymentRequestId",
          "sender"
        ]
      },
      "SubmitTransactionDto": {
        "type": "object",
        "properties": {
          "quantity": {
            "type": "object",
            "default": 1
          },
          "time": {
            "type": "string"
          },
          "customerDetails": {
            "$ref": "#/components/schemas/CustomerDetailsDto"
          },
          "productDetails": {
            "$ref": "#/components/schemas/ProductDetailsDto"
          },
          "splitRevenue": {
            "type": "boolean"
          },
          "splitWallets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SplitWalletDto"
            }
          },
          "rateToken": {
            "type": "string"
          },
          "discountToken": {
            "type": "string"
          },
          "affiliateCode": {
            "type": "string"
          },
          "addressLookupTableAccounts": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "signedTransaction": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "transactionToken": {
            "type": "string"
          },
          "paymentCheckoutType": {
            "default": "REGULAR",
            "enum": [
              "REGULAR",
              "CHARGE"
            ],
            "type": "string"
          }
        },
        "required": [
          "signedTransaction",
          "currency"
        ]
      },
      "SubmitSwapTransactionDto": {
        "type": "object",
        "properties": {
          "quantity": {
            "type": "object",
            "default": 1
          },
          "time": {
            "type": "string"
          },
          "customerDetails": {
            "$ref": "#/components/schemas/CustomerDetailsDto"
          },
          "productDetails": {
            "$ref": "#/components/schemas/ProductDetailsDto"
          },
          "splitRevenue": {
            "type": "boolean"
          },
          "splitWallets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SplitWalletDto"
            }
          },
          "rateToken": {
            "type": "string"
          },
          "discountToken": {
            "type": "string"
          },
          "affiliateCode": {
            "type": "string"
          },
          "addressLookupTableAccounts": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "signedTransaction": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "transactionToken": {
            "type": "string"
          },
          "paymentCheckoutType": {
            "default": "REGULAR",
            "enum": [
              "REGULAR",
              "CHARGE"
            ],
            "type": "string"
          },
          "signedSwapTransaction": {
            "type": "string"
          }
        },
        "required": [
          "signedTransaction",
          "currency"
        ]
      },
      "MoonPayUrlDto": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ]
      },
      "MoonPayUrlSignature": {
        "type": "object",
        "properties": {
          "signature": {
            "type": "string"
          }
        },
        "required": [
          "signature"
        ]
      },
      "CreateStreamBackendDto": {
        "type": "object",
        "properties": {
          "signedTransaction": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "customerDetails": {
            "$ref": "#/components/schemas/CustomerDetailsDto"
          },
          "productDetails": {
            "$ref": "#/components/schemas/ProductDetailsDto"
          },
          "rateToken": {
            "type": "string"
          },
          "streamToken": {
            "type": "string"
          },
          "sourceIntegration": {
            "type": "string",
            "enum": [
              "WOO_COMMERCE"
            ]
          },
          "sourceIntegrationVersion": {
            "type": "string",
            "maxLength": 100
          }
        },
        "required": [
          "signedTransaction",
          "currency",
          "customerDetails",
          "productDetails"
        ]
      },
      "BasePaystreamTxWithTransaction": {
        "type": "object",
        "properties": {}
      },
      "CreateStreamBackendSwapDto": {
        "type": "object",
        "properties": {
          "signedTransaction": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "customerDetails": {
            "$ref": "#/components/schemas/CustomerDetailsDto"
          },
          "productDetails": {
            "$ref": "#/components/schemas/ProductDetailsDto"
          },
          "rateToken": {
            "type": "string"
          },
          "streamToken": {
            "type": "string"
          },
          "sourceIntegration": {
            "type": "string",
            "enum": [
              "WOO_COMMERCE"
            ]
          },
          "sourceIntegrationVersion": {
            "type": "string",
            "maxLength": 100
          },
          "signedSwapTransaction": {
            "type": "string"
          }
        },
        "required": [
          "signedTransaction",
          "currency",
          "customerDetails",
          "productDetails",
          "signedSwapTransaction"
        ]
      },
      "BasePaystreamTxWithSwapTransaction": {
        "type": "object",
        "properties": {}
      },
      "CancelStreamBackendDto": {
        "type": "object",
        "properties": {
          "signedTransaction": {
            "type": "string"
          },
          "canceledAt": {
            "type": "string"
          },
          "streamToken": {
            "type": "string"
          }
        },
        "required": [
          "signedTransaction",
          "canceledAt"
        ]
      },
      "WithdrawStreamBackendDto": {
        "type": "object",
        "properties": {
          "signedTransaction": {
            "type": "string"
          },
          "time": {
            "type": "string"
          },
          "streamToken": {
            "type": "string"
          }
        },
        "required": [
          "signedTransaction",
          "time"
        ]
      },
      "CreateWithdrawalConfigDto": {
        "type": "object",
        "required": [
          "kind",
          "name",
          "currencyIds"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "raw",
              "hyperliquid"
            ],
            "description": "Withdrawal lane. Use `raw` for standard cross-chain withdrawals (Solana raw transactions or EVM ERC-4337 user operations). Use `hyperliquid` for Hyperliquid (HyperCore) withdrawals."
          },
          "name": {
            "type": "string",
            "maxLength": 200,
            "description": "Display name for the withdrawal config."
          },
          "currencyIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "description": "Source currency Mongo IDs. Each must have the `WITHDRAWAL_SOURCE` feature."
          },
          "disabled": {
            "type": "boolean",
            "description": "Whether the config is disabled."
          },
          "disabledBlockchainSymbols": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Blockchains to disable for this config."
          },
          "enabledFeatures": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "iron"
              ]
            },
            "description": "Optional feature flags. `iron` enables Iron.xyz auto off-ramp."
          },
          "themeId": {
            "type": "string",
            "description": "Optional ID of a saved theme to apply to this withdrawal config's hosted pages."
          }
        }
      },
      "UpdateWithdrawalConfigDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 200
          },
          "currencyIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 1
          },
          "disabled": {
            "type": "boolean"
          },
          "disabledBlockchainSymbols": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "enabledFeatures": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "iron"
              ]
            },
            "description": "Optional feature flags. `iron` enables Iron.xyz auto off-ramp."
          },
          "themeId": {
            "type": "string",
            "description": "Optional ID of a saved theme to apply to this withdrawal config's hosted pages."
          }
        }
      },
      "WithdrawalConfigEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The withdrawal config ID (`withdrawalConfigId`)."
          },
          "name": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "disabled": {
            "type": "boolean"
          },
          "disabledBlockchainSymbols": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "enabledFeatures": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "PublicWithdrawalConfigEntity": {
        "allOf": [
          {
            "$ref": "#/components/schemas/WithdrawalConfigEntity"
          },
          {
            "type": "object",
            "properties": {
              "fromCurrencies": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/SlimCurrencyWithBlockchain"
                }
              },
              "exchangeRates": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/WithdrawalCurrenciesExchangeRate"
                }
              },
              "minSupportedVersions": {
                "$ref": "#/components/schemas/WithdrawalMinSupportedVersions",
                "description": "Advisory minimum client package versions. Soft gate — advertised, not enforced by the API."
              }
            }
          }
        ]
      },
      "WithdrawalMinSupportedVersions": {
        "type": "object",
        "properties": {
          "packages": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            },
            "description": "Map of package name to minimum semver string (for example `@heliofi/withdraw-core`, `@heliofi/withdraw-react`)."
          }
        }
      },
      "WithdrawalCurrenciesExchangeRate": {
        "type": "object",
        "properties": {
          "minimalUnitRate": {
            "type": "string",
            "description": "Exchange rate in minimal units as a string."
          },
          "decimalRate": {
            "type": "string"
          },
          "fromCurrencyId": {
            "type": "string"
          },
          "toCurrencyId": {
            "type": "string"
          },
          "fromCurrencySymbol": {
            "type": "string"
          },
          "fromBlockchainSymbol": {
            "type": "string"
          },
          "toCurrencySymbol": {
            "type": "string"
          }
        }
      },
      "SlimCurrencyWithBlockchain": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "decimals": {
            "type": "number"
          },
          "mintAddress": {
            "type": "string"
          },
          "isNative": {
            "type": "boolean"
          },
          "features": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "blockchain": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "symbol": {
                "type": "string"
              }
            }
          }
        }
      },
      "WithdrawalCustomerSwapRoute": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Route identifier."
          },
          "fromCurrencyId": {
            "type": "string",
            "description": "Source currency ID (merchant-fixed)."
          },
          "toCurrency": {
            "$ref": "#/components/schemas/SlimCurrencyWithBlockchain"
          },
          "available": {
            "type": "boolean",
            "description": "Whether this route is currently usable."
          },
          "minimumAmountMinimalUnit": {
            "type": "string",
            "nullable": true,
            "description": "Minimum withdrawal amount in source token atomic units."
          },
          "minimumAmountUsd": {
            "type": "string",
            "nullable": true,
            "description": "Same minimum expressed as a USD string."
          }
        }
      },
      "WithdrawalCustomerSwapRoutesResponse": {
        "type": "object",
        "properties": {
          "fromCurrencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SlimCurrencyWithBlockchain"
            }
          },
          "routes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WithdrawalCustomerSwapRoute"
            }
          }
        }
      },
      "PreparedWithdrawalDto": {
        "type": "object",
        "required": [
          "ownerAddress",
          "recipient",
          "amount",
          "toCurrencyId",
          "sourceCurrencyId"
        ],
        "properties": {
          "ownerAddress": {
            "type": "string",
            "description": "Holder's source wallet address. Format is lane-specific (e.g. Solana base58 for Solana `raw`, EVM checksummed address for EVM `raw`/`hyperliquid`)."
          },
          "recipient": {
            "type": "string",
            "description": "Destination address on any supported chain."
          },
          "amount": {
            "type": "string",
            "pattern": "^\\d+$",
            "description": "Amount in atomic units as a decimal-free string. Scale using the source currency's `decimals` value (e.g. `1500000` for 1.5 USDC at 6 decimals; `150000000` for 1.5 USDC at 8 decimals on HyperCore)."
          },
          "toCurrencyId": {
            "type": "string",
            "description": "Destination currency Mongo ID."
          },
          "sourceCurrencyId": {
            "type": "string",
            "description": "Source currency Mongo ID from the withdrawal config."
          },
          "customerId": {
            "type": "string",
            "maxLength": 255,
            "description": "Optional merchant identifier for the end user (max 255 characters). Persisted on prepare and echoed on the withdrawal detail and webhooks. Not applied on re-quote."
          },
          "slippageBps": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10000,
            "default": 500,
            "description": "Optional slippage tolerance in basis points (0–10000) forwarded to the swap/bridge provider. Defaults to 500 (5%) when omitted."
          },
          "hyperCoreLane": {
            "$ref": "#/components/schemas/HyperCoreWithdrawalLane",
            "description": "Optional. HyperCore USDC only: pass `eip3009` to opt into the `hypercore_eip3009` route. Omitted or `native` returns `hypercore`. Ignored on re-quote, which keeps the route of the original prepare."
          }
        }
      },
      "WithdrawalQuoteFee": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string",
            "description": "Fee amount in atomic units of `currency`."
          },
          "currency": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Currency"
              }
            ],
            "nullable": true,
            "description": "Matched fee currency, or null when unresolved."
          }
        }
      },
      "PreparedWithdrawalSummary": {
        "type": "object",
        "properties": {
          "sourceToken": {
            "type": "string"
          },
          "sourceAmount": {
            "type": "string"
          },
          "destinationToken": {
            "type": "string"
          },
          "destinationAmount": {
            "type": "string",
            "description": "Firm expected output net of fees."
          },
          "destinationAmountMin": {
            "type": "string",
            "description": "Minimum output after slippage."
          },
          "destinationAmountUsd": {
            "type": "string",
            "nullable": true,
            "description": "USD value of `destinationAmount`, when a price is available. Optional."
          },
          "destinationAmountMinUsd": {
            "type": "string",
            "nullable": true,
            "description": "USD value of `destinationAmountMin`, when a price is available. Optional."
          },
          "maxSlippageBps": {
            "type": "number",
            "description": "Maximum slippage tolerance in basis points."
          },
          "estimatedPriceImpact": {
            "type": "number",
            "description": "Estimated price impact, when available."
          },
          "routerAddresses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Router or bridge contract/program addresses the prepared transaction calls. Absent for a direct transfer."
          },
          "bridgeIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Bridge protocol id(s) (e.g. `relay`) used to fulfil the withdrawal. Present only for cross-chain withdrawals."
          },
          "bridgeFee": {
            "$ref": "#/components/schemas/WithdrawalQuoteFee"
          },
          "applicationFee": {
            "$ref": "#/components/schemas/WithdrawalQuoteFee"
          },
          "protocolFee": {
            "$ref": "#/components/schemas/WithdrawalQuoteFee"
          },
          "totalFee": {
            "$ref": "#/components/schemas/WithdrawalQuoteFee"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "description": "Quote expiry. Re-quote before this passes."
          }
        }
      },
      "PreparedWithdrawalTypedDataDomain": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "chainId": {
            "type": "number"
          },
          "verifyingContract": {
            "type": "string"
          }
        }
      },
      "PreparedWithdrawalTypedDataField": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      },
      "PreparedWithdrawalTypedData": {
        "type": "object",
        "properties": {
          "domain": {
            "$ref": "#/components/schemas/PreparedWithdrawalTypedDataDomain"
          },
          "types": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/PreparedWithdrawalTypedDataField"
              }
            }
          },
          "primaryType": {
            "type": "string"
          },
          "message": {
            "type": "object",
            "additionalProperties": true
          }
        }
      },
      "SignedTransactionKind": {
        "type": "string",
        "enum": [
          "raw",
          "userop",
          "hypercore",
          "hypercore_eip3009"
        ],
        "description": "Lane discriminator on the prepare response. `raw` = sign `unsignedTx` (Solana). `userop` = sign the ERC-4337 user operation hash (EVM). `hypercore` = sign `typedData` (Hyperliquid). `hypercore_eip3009` = sign `sendAssetTypedData` and `transferAuthorizationTypedData` (HyperCore via HyperEVM)."
      },
      "RawPreparedTransaction": {
        "type": "object",
        "required": [
          "kind",
          "chain",
          "unsignedTx"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "raw"
            ]
          },
          "chain": {
            "type": "string",
            "description": "Blockchain symbol (e.g. `SOL`)."
          },
          "unsignedTx": {
            "type": "string",
            "description": "Base64-encoded unsigned VersionedTransaction, already sponsor-signed as fee payer."
          }
        }
      },
      "UserOpPreparedTransaction": {
        "type": "object",
        "required": [
          "kind",
          "chain",
          "userOp",
          "entryPoint"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "userop"
            ]
          },
          "chain": {
            "type": "string",
            "description": "EVM blockchain symbol (e.g. `BASE`)."
          },
          "userOp": {
            "type": "object",
            "additionalProperties": true,
            "description": "Unsigned ERC-4337 UserOperation. Shape depends on the 4337 version."
          },
          "entryPoint": {
            "type": "string",
            "description": "EntryPoint contract address for the user operation."
          },
          "authorization": {
            "type": "object",
            "properties": {
              "chainId": {
                "type": "string"
              },
              "address": {
                "type": "string"
              },
              "nonce": {
                "type": "string"
              }
            },
            "description": "Optional EIP-7702 authorization metadata."
          }
        }
      },
      "HypercorePreparedTransaction": {
        "type": "object",
        "required": [
          "kind",
          "chain",
          "typedData"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "hypercore"
            ]
          },
          "chain": {
            "type": "string",
            "description": "Blockchain symbol for the HyperCore action."
          },
          "typedData": {
            "$ref": "#/components/schemas/PreparedWithdrawalTypedData",
            "description": "EIP-712 typed data for the holder to sign."
          }
        }
      },
      "PreparedTransaction": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/RawPreparedTransaction"
          },
          {
            "$ref": "#/components/schemas/UserOpPreparedTransaction"
          },
          {
            "$ref": "#/components/schemas/HypercorePreparedTransaction"
          },
          {
            "$ref": "#/components/schemas/HypercoreEip3009PreparedTransaction"
          }
        ],
        "discriminator": {
          "propertyName": "kind",
          "mapping": {
            "raw": "#/components/schemas/RawPreparedTransaction",
            "userop": "#/components/schemas/UserOpPreparedTransaction",
            "hypercore": "#/components/schemas/HypercorePreparedTransaction",
            "hypercore_eip3009": "#/components/schemas/HypercoreEip3009PreparedTransaction"
          }
        }
      },
      "PreparedWithdrawalEntity": {
        "type": "object",
        "properties": {
          "withdrawalDetailId": {
            "type": "string",
            "description": "Per-request ID. Use for submit and status polling."
          },
          "token": {
            "type": "string",
            "description": "JWT quote token. Pass verbatim on submit."
          },
          "prepared": {
            "$ref": "#/components/schemas/PreparedTransaction"
          },
          "summary": {
            "$ref": "#/components/schemas/PreparedWithdrawalSummary"
          }
        }
      },
      "SubmitWithdrawalDto": {
        "type": "object",
        "required": [
          "token",
          "signedTx"
        ],
        "properties": {
          "token": {
            "type": "string",
            "description": "JWT from the prepare response."
          },
          "signedTx": {
            "type": "string",
            "description": "Signed payload for the lane returned by prepare. For `raw` on Solana: base64 co-signed VersionedTransaction. For `userop` on EVM: JSON with `signature` and optional `authorization`. For `hypercore`: EIP-712 signature over `typedData`. For `hypercore_eip3009`: the `sendAsset` signature followed by the transfer authorization signature (without its `0x`), both 65 bytes, as one `0x`-prefixed hex string (`0x` + 260 hex chars)."
          }
        }
      },
      "SubmitWithdrawalEntity": {
        "type": "object",
        "properties": {
          "withdrawalDetailId": {
            "type": "string"
          },
          "txHash": {
            "type": "string",
            "nullable": true,
            "description": "On-chain transaction signature. Null only if broadcast was rejected."
          },
          "state": {
            "$ref": "#/components/schemas/WithdrawalState"
          },
          "broadcastAck": {
            "$ref": "#/components/schemas/BroadcastAck"
          }
        }
      },
      "WithdrawalDetailEntity": {
        "type": "object",
        "properties": {
          "withdrawalDetailId": {
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/WithdrawalState"
          },
          "txHash": {
            "type": "string",
            "nullable": true,
            "description": "Source-chain transaction hash of the withdrawal. For a same-chain withdrawal this is the delivery transaction. Null until the transaction is broadcast."
          },
          "destinationTxHash": {
            "type": "string",
            "nullable": true,
            "description": "Destination-chain delivery transaction hash for cross-chain withdrawals. Null until the withdrawal reaches COMPLETED, and null for same-chain withdrawals (where `txHash` is already the delivery transaction)."
          },
          "broadcastAck": {
            "$ref": "#/components/schemas/BroadcastAck"
          },
          "errorReason": {
            "type": "string",
            "nullable": true,
            "description": "Human-readable error when state is FAILED."
          },
          "customerId": {
            "type": "string",
            "nullable": true,
            "description": "Merchant-defined customer identifier set at prepare time, or null when omitted."
          }
        }
      },
      "WithdrawalDetailEnriched": {
        "type": "object",
        "properties": {
          "withdrawalDetailId": {
            "type": "string",
            "description": "Withdrawal detail ID."
          },
          "state": {
            "$ref": "#/components/schemas/WithdrawalState"
          },
          "sourceChain": {
            "type": "string",
            "description": "Source chain symbol."
          },
          "sourceToken": {
            "type": "string",
            "description": "Source token symbol."
          },
          "sourceAmount": {
            "type": "string",
            "description": "Source amount in atomic units."
          },
          "destinationChain": {
            "type": "string",
            "description": "Destination chain symbol."
          },
          "destinationToken": {
            "type": "string",
            "description": "Destination token symbol."
          },
          "destinationAmount": {
            "type": "string",
            "description": "Destination amount in atomic units."
          },
          "destinationWalletAddress": {
            "type": "string",
            "description": "Destination wallet address."
          },
          "txHash": {
            "type": "string",
            "nullable": true,
            "description": "Most recent transaction hash associated with the withdrawal."
          },
          "broadcastAck": {
            "$ref": "#/components/schemas/BroadcastAck"
          },
          "errorReason": {
            "type": "string",
            "nullable": true,
            "description": "Human-readable error when the withdrawal failed."
          },
          "customerId": {
            "type": "string",
            "nullable": true,
            "description": "Merchant-defined customer identifier set at prepare time, or null when omitted."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "WithdrawalState": {
        "type": "string",
        "enum": [
          "QUOTED",
          "SUBMITTING",
          "SUBMITTED",
          "BRIDGING",
          "COMPLETED",
          "FAILED",
          "FAILED_EXPIRED",
          "EXPIRED",
          "REFUNDED_BY_PROVIDER"
        ]
      },
      "BroadcastAck": {
        "type": "string",
        "nullable": true,
        "enum": [
          "acknowledged",
          "unacknowledged",
          "rejected"
        ],
        "description": "`acknowledged` = confirmed; `unacknowledged` = sent, keep polling; `rejected` = terminal failure."
      },
      "WalletCurrencyBalance": {
        "type": "object",
        "properties": {
          "currencyId": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "mintAddress": {
            "type": "string"
          },
          "balance": {
            "type": "string",
            "nullable": true,
            "description": "Atomic balance."
          },
          "uiBalance": {
            "type": "string",
            "nullable": true,
            "description": "Human-readable balance."
          },
          "maxWithdrawableAmount": {
            "type": "string",
            "nullable": true,
            "description": "Maximum withdrawable amount in atomic units after network or gas fees."
          },
          "uiMaxWithdrawableAmount": {
            "type": "string",
            "nullable": true,
            "description": "Human-readable max withdrawable amount."
          }
        }
      },
      "WithdrawalBalancesResponse": {
        "type": "object",
        "properties": {
          "walletAddress": {
            "type": "string",
            "description": "Address balances were read against."
          },
          "balances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WalletCurrencyBalance"
            }
          }
        }
      },
      "CreateWithdrawalHookByApiKeyDto": {
        "type": "object",
        "required": [
          "name",
          "targetUrl",
          "events"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 64,
            "description": "Webhook name."
          },
          "targetUrl": {
            "type": "string",
            "format": "uri",
            "description": "URL that receives webhook payloads."
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WithdrawalHookEvent"
            },
            "minItems": 1
          }
        }
      },
      "WithdrawalHookEvent": {
        "type": "string",
        "enum": [
          "SUBMITTED",
          "CONFIRMED",
          "FAILED",
          "REFUNDED_BY_PROVIDER"
        ]
      },
      "WithdrawalHookEntity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "targetUrl": {
            "type": "string"
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WithdrawalHookEvent"
            }
          },
          "inactive": {
            "type": "boolean"
          },
          "sharedToken": {
            "type": "string",
            "description": "Bearer token and HMAC key for verifying deliveries."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "TopUpStreamBackendDto": {
        "type": "object",
        "properties": {
          "signedTransaction": {
            "type": "string"
          },
          "time": {
            "type": "string"
          },
          "rateToken": {
            "type": "string"
          },
          "streamToken": {
            "type": "string"
          }
        },
        "required": [
          "signedTransaction",
          "time"
        ]
      },
      "CreateStreamPrepareDto": {
        "type": "object",
        "properties": {
          "paymentAccount": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "startedAt": {
            "type": "string"
          },
          "endedAt": {
            "type": "string"
          },
          "interval": {
            "type": "number"
          },
          "fixedCurrencyRateToken": {
            "type": "string"
          },
          "pricingCurrencyRateToken": {
            "type": "string"
          },
          "paymentRequestId": {
            "type": "string"
          },
          "sender": {
            "type": "string"
          }
        },
        "required": [
          "paymentAccount",
          "currency",
          "startedAt",
          "endedAt",
          "interval",
          "paymentRequestId",
          "sender"
        ]
      },
      "CreateStreamPrepareSwapDto": {
        "type": "object",
        "properties": {
          "paymentAccount": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "startedAt": {
            "type": "string"
          },
          "endedAt": {
            "type": "string"
          },
          "interval": {
            "type": "number"
          },
          "fixedCurrencyRateToken": {
            "type": "string"
          },
          "pricingCurrencyRateToken": {
            "type": "string"
          },
          "paymentRequestId": {
            "type": "string"
          },
          "sender": {
            "type": "string"
          },
          "swapRouteToken": {
            "type": "string"
          }
        },
        "required": [
          "paymentAccount",
          "currency",
          "startedAt",
          "endedAt",
          "interval",
          "paymentRequestId",
          "sender",
          "swapRouteToken"
        ]
      },
      "CancelStreamPrepareDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ]
      },
      "WithdrawStreamPrepareDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          }
        },
        "required": [
          "id"
        ]
      },
      "TopUpStreamPrepareDto": {
        "type": "object",
        "properties": {
          "paystreamTxId": {
            "type": "string"
          },
          "intervalCount": {
            "type": "number"
          }
        },
        "required": [
          "paystreamTxId",
          "intervalCount"
        ]
      },
      "PrepareInvoiceDto": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string"
          },
          "paymentRequestId": {
            "type": "string"
          },
          "sender": {
            "type": "string"
          }
        },
        "required": [
          "currency",
          "paymentRequestId",
          "sender"
        ]
      },
      "PrepareInvoice": {
        "type": "object",
        "properties": {
          "transactionToken": {
            "type": "string"
          },
          "transactionMessage": {
            "type": "string"
          }
        },
        "required": [
          "transactionToken",
          "transactionMessage"
        ]
      },
      "SubmitInvoiceDto": {
        "type": "object",
        "properties": {
          "paymentRequestId": {
            "type": "string"
          },
          "time": {
            "type": "string"
          },
          "rateToken": {
            "type": "string"
          },
          "signedTransaction": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "transactionToken": {
            "type": "string"
          },
          "paymentCheckoutType": {
            "type": "string",
            "default": "REGULAR",
            "enum": [
              "REGULAR",
              "CHARGE"
            ]
          }
        },
        "required": [
          "paymentRequestId",
          "signedTransaction",
          "currency"
        ]
      },
      "OnlyContentAndTransactionPaylink": {
        "type": "object",
        "properties": {
          "content": {
            "$ref": "#/components/schemas/ContentResponse"
          },
          "transactionSignature": {
            "type": "string"
          },
          "redirectUrl": {
            "type": "string"
          },
          "status": {
            "enum": [
              "INITIATED",
              "PENDING",
              "SUCCESS",
              "FAILED",
              "CANCELED",
              "SETTLED"
            ],
            "type": "string"
          },
          "statusToken": {
            "type": "string"
          }
        },
        "required": [
          "content",
          "transactionSignature"
        ]
      },
      "SettleTransactionDto": {
        "type": "object",
        "properties": {
          "transactionStatus": {
            "type": "string",
            "enum": [
              "CANCELED",
              "FAILED"
            ]
          }
        },
        "required": [
          "transactionStatus"
        ]
      },
      "PrepareRefundDto": {
        "type": "object",
        "properties": {
          "paymentRequestTxId": {
            "type": "string"
          },
          "paymentRequestType": {
            "type": "string",
            "enum": [
              "PAYLINK",
              "PAYSTREAM",
              "INVOICE"
            ]
          },
          "senderPK": {
            "type": "string"
          }
        },
        "required": [
          "paymentRequestTxId",
          "paymentRequestType",
          "senderPK"
        ]
      },
      "StoreTwitterTokenDto": {
        "type": "object",
        "properties": {
          "state": {
            "type": "string"
          },
          "code": {
            "type": "string"
          }
        },
        "required": [
          "state",
          "code"
        ]
      },
      "NftEscrowCreateDto": {
        "type": "object",
        "properties": {
          "price": {
            "type": "string"
          },
          "ownerPK": {
            "type": "string"
          },
          "escrowAccountPK": {
            "type": "string"
          },
          "mintAddress": {
            "type": "string"
          },
          "currencyMintAddress": {
            "type": "string"
          }
        },
        "required": [
          "price",
          "ownerPK",
          "escrowAccountPK",
          "mintAddress",
          "currencyMintAddress"
        ]
      },
      "NftEscrowCancelDto": {
        "type": "object",
        "properties": {
          "ownerPK": {
            "type": "string"
          },
          "paymentRequestId": {
            "type": "string"
          },
          "mintAddress": {
            "type": "string"
          }
        },
        "required": [
          "ownerPK",
          "paymentRequestId",
          "mintAddress"
        ]
      },
      "NftEscrowSubmitDto": {
        "type": "object",
        "properties": {
          "signedTransaction": {
            "type": "string"
          },
          "paymentRequestId": {
            "type": "string"
          },
          "transactionToken": {
            "type": "string"
          },
          "escrowAccountPK": {
            "type": "string"
          }
        },
        "required": [
          "signedTransaction",
          "paymentRequestId"
        ]
      },
      "NftSendPrepareDto": {
        "type": "object",
        "properties": {
          "ownerPK": {
            "type": "string"
          },
          "mintAddress": {
            "type": "string"
          },
          "receiverPK": {
            "type": "string"
          },
          "nftType": {
            "type": "string",
            "enum": [
              "NFT",
              "CNFT",
              "CORENFT"
            ]
          }
        },
        "required": [
          "ownerPK",
          "mintAddress",
          "receiverPK",
          "nftType"
        ]
      },
      "NftSendSubmitDto": {
        "type": "object",
        "properties": {
          "signedTransaction": {
            "type": "string"
          },
          "transactionToken": {
            "type": "string"
          },
          "receiverPK": {
            "type": "string"
          },
          "nftType": {
            "type": "string",
            "enum": [
              "NFT",
              "CNFT",
              "CORENFT"
            ]
          }
        },
        "required": [
          "signedTransaction",
          "nftType"
        ]
      },
      "PrepareHelioWalletSendTransactionDto": {
        "type": "object",
        "properties": {}
      },
      "SubmitHelioWalletSendFundsTransactionDto": {
        "type": "object",
        "properties": {
          "quantity": {
            "type": "object",
            "default": 1
          },
          "time": {
            "type": "string"
          },
          "customerDetails": {
            "$ref": "#/components/schemas/CustomerDetailsDto"
          },
          "productDetails": {
            "$ref": "#/components/schemas/ProductDetailsDto"
          },
          "splitRevenue": {
            "type": "boolean"
          },
          "splitWallets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SplitWalletDto"
            }
          },
          "rateToken": {
            "type": "string"
          },
          "discountToken": {
            "type": "string"
          },
          "affiliateCode": {
            "type": "string"
          },
          "addressLookupTableAccounts": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "signedTransaction": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "transactionToken": {
            "type": "string"
          },
          "paymentCheckoutType": {
            "default": "REGULAR",
            "enum": [
              "REGULAR",
              "CHARGE"
            ],
            "type": "string"
          }
        },
        "required": [
          "signedTransaction",
          "currency"
        ]
      },
      "GetFloorPricesDto": {
        "type": "object",
        "properties": {
          "mintAddresses": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CollectionsFloorPriceAndNftAddress": {
        "type": "object",
        "properties": {
          "floorPrice": {
            "format": "int64",
            "type": "integer"
          },
          "address": {
            "type": "string"
          }
        },
        "required": [
          "floorPrice",
          "address"
        ]
      },
      "GenerateDiscordLinkDto": {
        "type": "object",
        "properties": {
          "txId": {
            "type": "string"
          },
          "txType": {
            "type": "string",
            "enum": [
              "PAYLINK",
              "PAYSTREAM",
              "INVOICE"
            ]
          }
        },
        "required": [
          "txId",
          "txType"
        ]
      },
      "ClaimTransactionDto": {
        "type": "object",
        "properties": {
          "txId": {
            "type": "string"
          },
          "txType": {
            "enum": [
              "PAYLINK",
              "PAYSTREAM",
              "INVOICE"
            ],
            "type": "string"
          },
          "username": {
            "type": "string"
          }
        },
        "required": [
          "txId",
          "txType"
        ]
      },
      "GenerateMessageDto": {
        "type": "object",
        "properties": {
          "blockchainEngine": {
            "enum": [
              "EVM",
              "SOL",
              "BTC"
            ],
            "type": "string"
          },
          "publicKey": {
            "type": "string"
          }
        },
        "required": [
          "blockchainEngine",
          "publicKey"
        ]
      },
      "EntryDetailsDto": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "DISCORD",
              "WALLET"
            ]
          },
          "identifier": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "identifier"
        ]
      },
      "CreateRaffleEntryDto": {
        "type": "object",
        "properties": {
          "entryDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntryDetailsDto"
            }
          },
          "paymentRequestId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "sender": {
            "type": "string"
          },
          "ordinalsAddress": {
            "type": "string"
          }
        },
        "required": [
          "entryDetails",
          "paymentRequestId",
          "sender"
        ]
      },
      "EmailSendDto": {
        "type": "object",
        "properties": {
          "paylinkTxId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        },
        "required": [
          "paylinkTxId",
          "email"
        ]
      },
      "ShopifyMerchantDetails": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "shopUrl": {
            "type": "string"
          },
          "scopes": {
            "type": "string"
          },
          "accessToken": {
            "type": "string"
          },
          "lastNonce": {
            "type": "string"
          },
          "acceptedTermsAndConditions": {
            "type": "boolean"
          },
          "acceptedPrivacyPolicy": {
            "type": "boolean"
          },
          "active": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "shopUrl",
          "lastNonce",
          "acceptedTermsAndConditions",
          "acceptedPrivacyPolicy",
          "active"
        ]
      },
      "KYBDetails": {
        "type": "object",
        "properties": {
          "kybInquiry": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "NOT_STARTED",
              "PENDING",
              "APPROVED",
              "REJECTED"
            ]
          },
          "email": {
            "type": "string"
          }
        },
        "required": [
          "kybInquiry",
          "status"
        ]
      },
      "ShopifyMerchantPaylink": {
        "type": "object",
        "properties": {
          "features": {
            "$ref": "#/components/schemas/LinkFeatures"
          },
          "creator": {
            "$ref": "#/components/schemas/User"
          },
          "pricingCurrency": {
            "$ref": "#/components/schemas/Currency"
          },
          "recipients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Recipient"
            }
          }
        },
        "required": [
          "features",
          "creator",
          "pricingCurrency",
          "recipients"
        ]
      },
      "ShopifyMerchant": {
        "type": "object",
        "properties": {
          "shopifyStoreSettingsUrl": {
            "type": "string"
          },
          "merchantDetails": {
            "$ref": "#/components/schemas/ShopifyMerchantDetails"
          },
          "kybDetails": {
            "$ref": "#/components/schemas/KYBDetails"
          },
          "payoutWallet": {
            "type": "object"
          },
          "payLinks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ShopifyMerchantPaylink"
            }
          },
          "companyId": {
            "type": "string"
          }
        },
        "required": [
          "shopifyStoreSettingsUrl",
          "merchantDetails",
          "payoutWallet",
          "payLinks",
          "companyId"
        ]
      },
      "ShopifyMerchantDetailsPublic": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "shopUrl": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "shopUrl"
        ]
      },
      "CreateShopifyMerchantPayoutWalletDto": {
        "type": "object",
        "properties": {
          "pricingCurrency": {
            "type": "string"
          },
          "recipientCurrencies": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "address": {
            "type": "string"
          }
        },
        "required": [
          "recipientCurrencies",
          "address"
        ]
      },
      "ApproveRefundRequestDto": {
        "type": "object",
        "properties": {
          "senderPK": {
            "type": "string"
          }
        },
        "required": [
          "senderPK"
        ]
      },
      "SubmitShopifyRefundDto": {
        "type": "object",
        "properties": {
          "refundRequestId": {
            "type": "string"
          },
          "signedTransaction": {
            "type": "string"
          },
          "paymentRequestTxId": {
            "type": "string"
          },
          "paymentRequestType": {
            "type": "string",
            "enum": [
              "PAYLINK",
              "PAYSTREAM",
              "INVOICE"
            ]
          },
          "transactionToken": {
            "type": "string"
          }
        },
        "required": [
          "refundRequestId",
          "signedTransaction",
          "paymentRequestTxId",
          "paymentRequestType",
          "transactionToken"
        ]
      },
      "SubmitRefundPayload": {
        "type": "object",
        "properties": {
          "transactionSignature": {
            "type": "string"
          },
          "status": {
            "enum": [
              "INITIATED",
              "PENDING",
              "SUCCESS",
              "FAILED",
              "CANCELED",
              "SETTLED"
            ],
            "type": "string"
          },
          "statusToken": {
            "type": "string"
          }
        },
        "required": [
          "transactionSignature",
          "status",
          "statusToken"
        ]
      },
      "ReportLinkDto": {
        "type": "object",
        "properties": {
          "reportedLinkUrl": {
            "type": "string"
          },
          "merchantAddressLink": {
            "type": "string"
          },
          "paylinkId": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "checkoutType": {
            "type": "string"
          }
        },
        "required": [
          "reportedLinkUrl",
          "merchantAddressLink",
          "paylinkId",
          "platform",
          "checkoutType"
        ]
      },
      "CreateStripeSessionDto": {
        "type": "object",
        "properties": {
          "blockchainSymbol": {
            "type": "string",
            "enum": [
              "SOL",
              "ETH",
              "POLYGON",
              "BASE",
              "BITCOIN"
            ]
          },
          "currencySymbol": {
            "type": "string"
          },
          "decimalAmount": {
            "type": "number"
          },
          "publicKey": {
            "type": "string"
          }
        },
        "required": [
          "blockchainSymbol",
          "currencySymbol",
          "decimalAmount",
          "publicKey"
        ]
      },
      "PaymentRequestStats": {
        "type": "object",
        "properties": {}
      },
      "AutocompletePrediction": {
        "type": "object",
        "properties": {}
      },
      "Autocomplete": {
        "type": "object",
        "properties": {
          "suggestions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutocompletePrediction"
            }
          },
          "status": {
            "type": "string"
          },
          "error_message": {
            "type": "string"
          }
        },
        "required": [
          "suggestions",
          "status"
        ]
      },
      "PlaceDetails": {
        "type": "object",
        "properties": {
          "addressComponents": {
            "type": "array",
            "items": {
              "type": "object"
            }
          }
        },
        "required": [
          "addressComponents"
        ]
      },
      "MessageContentResponse": {
        "type": "object",
        "properties": {}
      },
      "DepositCustomerActivityItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of the deposit transaction."
          },
          "transactionSignature": {
            "type": "string",
            "description": "On-chain transaction signature/hash for the deposit."
          },
          "amountSent": {
            "type": "string",
            "description": "Gross amount sent by the customer, in the currency's minimal units (stringified integer)."
          },
          "amountReceived": {
            "type": "string",
            "description": "Net amount received after fees, in the currency's minimal units (stringified integer)."
          },
          "amountReceivedUsd": {
            "type": "string",
            "description": "Net amount received expressed in USD minimal units (stringified integer)."
          },
          "currencySymbol": {
            "type": "string",
            "description": "Symbol of the received currency (e.g. USDC)."
          },
          "currencyDecimals": {
            "type": "number",
            "description": "Number of decimals for the received currency, used to convert the minimal-unit amounts to a human-readable value."
          },
          "sourceNetwork": {
            "type": "string",
            "description": "Blockchain the funds originated from (e.g. SOL, ETH)."
          },
          "destinationNetwork": {
            "type": "string",
            "description": "Blockchain the funds were settled to."
          },
          "status": {
            "type": "string",
            "description": "Current status of the transaction.",
            "enum": [
              "INITIATED",
              "PENDING",
              "BRIDGING",
              "SUCCESS",
              "FAILED",
              "CANCELED",
              "SETTLED",
              "REFUNDED"
            ]
          },
          "deliveryTimeMs": {
            "type": "number",
            "nullable": true,
            "description": "Time in milliseconds between transaction creation and successful settlement. Null when the transaction has not settled successfully."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "ISO 8601 timestamp of when the transaction was created."
          }
        }
      },
      "DepositCustomerActivityResponse": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DepositCustomerActivityItem"
            }
          },
          "total": {
            "type": "number",
            "description": "Total number of activity items matching the query."
          },
          "page": {
            "type": "number",
            "description": "Current page number."
          },
          "limit": {
            "type": "number",
            "description": "Page size used for this response."
          }
        }
      },
      "AssignDepositCustomerWallet": {
        "type": "object",
        "required": [
          "blockchainEngineType"
        ],
        "properties": {
          "blockchainEngineType": {
            "type": "string",
            "description": "The blockchain engine to assign a deposit wallet for.",
            "enum": [
              "EVM",
              "SOL",
              "BTC",
              "TRON",
              "HYPERCORE",
              "DOGE",
              "TON"
            ]
          }
        }
      },
      "DepositWalletEnriched": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of the deposit wallet."
          },
          "publicKey": {
            "type": "string",
            "description": "The wallet address for this blockchain."
          },
          "blockchainEngine": {
            "$ref": "#/components/schemas/BlockchainEngine"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "ISO 8601 timestamp when the wallet was created."
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "ISO 8601 timestamp when the wallet was last updated."
          }
        },
        "required": [
          "id",
          "publicKey",
          "blockchainEngine"
        ]
      },
      "ExternalSignInResponse": {
        "type": "object",
        "description": "Merchant account details returned after a successful external sign-up or sign-in.",
        "properties": {
          "user": {
            "type": "object",
            "description": "The user associated with the merchant account.",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier of the user."
              },
              "email": {
                "type": "string",
                "description": "Email address of the user."
              },
              "userType": {
                "type": "string",
                "nullable": true,
                "description": "Type of the user, if set."
              },
              "name": {
                "type": "string",
                "description": "Full name of the user."
              },
              "discordUsername": {
                "type": "string",
                "description": "Discord handle of the user."
              },
              "payoutWallets": {
                "type": "array",
                "description": "Payout wallets associated with the user.",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Unique identifier of the payout wallet."
                    },
                    "publicKey": {
                      "type": "string",
                      "description": "Public address of the payout wallet."
                    },
                    "name": {
                      "type": "string",
                      "description": "Name or label of the payout wallet."
                    }
                  }
                }
              }
            }
          },
          "company": {
            "type": "object",
            "description": "The company associated with the merchant account.",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier of the company."
              },
              "name": {
                "type": "string",
                "description": "Company name."
              },
              "email": {
                "type": "string",
                "description": "Company contact email address."
              },
              "websiteUrl": {
                "type": "string",
                "description": "URL of the company website."
              },
              "discordUsername": {
                "type": "string",
                "description": "Company's Discord handle."
              },
              "address": {
                "type": "string",
                "description": "Physical address of the company."
              },
              "phoneNumber": {
                "type": "string",
                "description": "Contact phone number for the company."
              },
              "kycVerified": {
                "type": "boolean",
                "description": "Indicates whether the company has passed KYC verification."
              },
              "kybVerified": {
                "type": "boolean",
                "description": "Indicates whether the company has passed KYB verification."
              }
            }
          },
          "redirectUrl": {
            "type": "string",
            "description": "One-time login URL used to redirect the merchant into their Helio dashboard session."
          }
        }
      },
      "HyperCoreWithdrawalLane": {
        "type": "string",
        "enum": [
          "native",
          "eip3009"
        ],
        "description": "HyperCore USDC withdrawals only. `native` (default) returns a `hypercore` prepared transaction. `eip3009` opts into the `hypercore_eip3009` route, which is used only when it's enabled for your account and the destination is routable; otherwise the withdrawal stays `native`. Send the same value on routes, balances and prepare."
      },
      "HypercoreEip3009PreparedTransaction": {
        "type": "object",
        "required": [
          "kind",
          "chain",
          "sendAssetTypedData",
          "transferAuthorizationChain",
          "transferAuthorizationTypedData"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "hypercore_eip3009"
            ]
          },
          "chain": {
            "type": "string",
            "description": "Blockchain symbol for the HyperCore `sendAsset` action (`HYPERCORE`)."
          },
          "sendAssetTypedData": {
            "$ref": "#/components/schemas/PreparedWithdrawalTypedData",
            "description": "EIP-712 typed data for the HyperCore `sendAsset` action. Sign first."
          },
          "transferAuthorizationChain": {
            "type": "string",
            "description": "Blockchain symbol for the transfer authorization (`HYPERLIQUID`, i.e. HyperEVM)."
          },
          "transferAuthorizationTypedData": {
            "$ref": "#/components/schemas/PreparedWithdrawalTypedData",
            "description": "EIP-712 typed data for the HyperEVM USDC `transferWithAuthorization` (EIP-3009). Sign second."
          }
        }
      },
      "DepositSwapProvider": {
        "type": "string",
        "enum": [
          "GLIDE",
          "DECENT",
          "HELIO",
          "MOONPAY",
          "IRON",
          "ONRAMPER"
        ],
        "description": "Who prices (and settles) the quote. `GLIDE`, `DECENT` and `HELIO` are crypto paths chosen server-side from the merchant's deposit wallet provider and the currency pair; they cannot be requested. `MOONPAY`, `IRON` and `ONRAMPER` are fiat paths the client requests explicitly."
      },
      "MoonPaySdkQuote": {
        "type": "object",
        "description": "MOONPAY only. The quote the client already holds from the MoonPay headless SDK. When sent, the server prices from it (applying only Helio fees) instead of fetching its own quote. Decimal strings in MoonPay units: source fiat for `sourceAmount` and fees, crypto for `destinationAmount`.",
        "required": [
          "sourceAmount",
          "destinationAmount"
        ],
        "properties": {
          "sourceAmount": {
            "type": "string",
            "description": "What the customer is charged, including MoonPay fees. Must equal `amountIn` once converted to minimal units.",
            "example": "25.00"
          },
          "destinationAmount": {
            "type": "string",
            "description": "Crypto MoonPay delivers to the deposit wallet, before the Helio sweep. Must be greater than zero.",
            "example": "24.10"
          },
          "moonpayFee": {
            "type": "string",
            "example": "0.65"
          },
          "ecosystemFee": {
            "type": "string",
            "example": "0.00"
          },
          "networkFee": {
            "type": "string",
            "example": "0.25"
          },
          "defiFee": {
            "type": "string",
            "example": "0.00"
          }
        }
      },
      "MoonPayPaymentDisclosure": {
        "type": "object",
        "description": "A compliance disclosure that must be shown verbatim to the customer before they complete the purchase. The canonical text is keyed by `id` + `version`.",
        "required": [
          "id",
          "version"
        ],
        "properties": {
          "id": {
            "type": "string",
            "example": "eea-crypto-asset-risk"
          },
          "version": {
            "type": "string",
            "example": "1"
          }
        }
      },
      "MoonPayQuoteChallenge": {
        "type": "object",
        "description": "A MoonPay-hosted frame the customer must complete before the quote can proceed (e.g. identity verification to raise guest-checkout limits).",
        "required": [
          "kind",
          "url"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "description": "Only `frame` today.",
            "example": "frame"
          },
          "url": {
            "type": "string",
            "description": "Fully formed frame URL. Render directly; do not parse."
          }
        }
      }
    }
  },
  "externalDocs": {
    "description": "Helio product documentation",
    "url": "https://dev.commerce.moonpay.com/"
  }
}
