components:
  schemas:
    ApiError:
      properties:
        code:
          example: ERROR_CODE
          type: string
        details:
          additionalProperties:
            type: string
          example:
            DETAIL_KEY: detail value
          type: object
        message:
          example: Error message
          type: string
    AutoExchangeRuleForm:
      description: Automatic exchange rule form
      properties:
        fromCurrency:
          description: Crypto currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - SOL
          - XPL
          - USDT
          - USDC
          - PEPE
          example: USDT
          type: string
        toCurrency:
          description: Automatically exchange to currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
      required:
      - fromCurrency
      - toCurrency
      type: object
    AutoExchangeRuleOptions:
      description: Automatic exchange options
      properties:
        options:
          additionalProperties:
            items:
              enum:
              - BTC
              - ETH
              - TRX
              - BNB
              - MATIC
              - XPL
              - USDT
              - USDC
              - SOL
              - PEPE
              - EUR
              - USD
              - UAH
              - KZT
              - IDR
              - TRY
              - AZN
              - GBP
              - INR
              type: string
            type: array
            uniqueItems: true
          type: object
      required:
      - options
      type: object
    BlockchainAddressLimit:
      properties:
        current:
          format: int32
          type: integer
        limit:
          format: int32
          type: integer
      required:
      - current
      - limit
      type: object
    BlockchainPayoutUser:
      description: Intent transaction details.
      properties:
        amount:
          description: Transaction amount
          type: number
        blockchain:
          description: Transaction blockchain
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          example: ETHEREUM
          type: string
        cryptoCurrency:
          description: Blockchain crypto currency
          enum:
          - BITCOIN_BTC
          - ETHEREUM_ETH
          - ETHEREUM_USDT
          - ETHEREUM_USDC
          - ETHEREUM_PEPE
          - TRON_TRX
          - TRON_USDT
          - POLYGON_MATIC
          - POLYGON_USDT
          - POLYGON_USDC
          - OPTIMISM_ETH
          - OPTIMISM_USDT
          - OPTIMISM_USDC
          - ARBITRUM_ETH
          - ARBITRUM_USDT
          - ARBITRUM_USDC
          - BSC_BNB
          - BSC_USDT
          - BSC_USDC
          - SOLANA_SOL
          - SOLANA_USDT
          - SOLANA_USDC
          - BASE_ETH
          - BASE_USDC
          - PLASMA_XPL
          - PLASMA_USDT
          example: ETHEREUM_USDT
          type: string
        currency:
          description: Transaction currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USDT
          type: string
        to:
          description: Transaction receiver address
          example: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
          type: string
        tx:
          description: Transaction hash
          example: '0xb20f3674d123cac92c51481f0d75f720e558267ae7b1fa802c706a82a75b78ac'
          type: string
        txCreatedAt:
          description: Transaction creation date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        txLink:
          description: Blockchain explorer transaction link
          example: https://somebtcexplorer.com/tx/c2544dd6e2c53529b827682123d16cff524f2867a57c5cc204e42eb2573e02e0
          type: string
      required:
      - blockchain
      - cryptoCurrency
      - currency
      - to
      type: object
    CallbackUserSettings:
      properties:
        projectId:
          type: string
        secret:
          type: string
        type:
          enum:
          - PAYMENT
          - CRYPTO_ACQUIRING_REQUEST
          - CRYPTO_ACQUIRING_CHECKOUT
          - CRYPTO_ACQUIRING_STATIC_ADDRESS_PAYMENT
          - CRYPTO_RECURRING_AUTHORIZATION
          - CRYPTO_RECURRING_INVOICE
          - CRYPTO_RECURRING_SUBSCRIPTION
          - SUBACCOUNT_KYC
          - MASS_PAYOUT_BATCH
          - MASS_PAYOUT_PAYMENT
          - ON_RAMP_CHECKOUT
          type: string
        url:
          type: string
      required:
      - type
      - url
      type: object
    CallbackUserSettingsForm:
      properties:
        secret:
          type: string
        url:
          type: string
      required:
      - url
      type: object
    CardData:
      description: Card data
      properties:
        cardHolder:
          description: Card holder
          example: John Doe
          type: string
        cvv:
          description: Card validation value
          example: '123'
          type: string
        expMonth:
          description: Expiration month
          example: 3
          format: int32
          type: integer
        expYear:
          description: Expiration year
          example: 2031
          format: int32
          type: integer
        pan:
          description: Card number
          example: '3566002020360505'
          type: string
      required:
      - cardHolder
      - cvv
      - expMonth
      - expYear
      - pan
      type: object
    CardPayH2HRequest:
      description: Payin h2h card data
      properties:
        card:
          $ref: '#/components/schemas/CardData'
        email:
          description: Optional. Bank account holder email.
          example: test@example.com
          type: string
      required:
      - card
      type: object
    CardPayResult:
      description: Card Pay Result
      properties:
        action:
          description: Extra action if needed. If REDIRECT, redirectUrl will be passed.
          enum:
          - REFRESH
          - REDIRECT
          example: REDIRECT
          type: string
        reason:
          description: If status is DENIED, contains extra information
          example: Invalid pan.
          type: string
        redirectUrl:
          description: Redirect url to perform 3D secure actions.
          example: https://example.com/3d
          type: string
        status:
          description: Card pay result status
          enum:
          - DENIED
          - ACCEPTED
          example: ACCEPTED
          type: string
        transactionId:
          description: External id
          example: abcdefgh123456
          type: string
      required:
      - status
      type: object
    CheckoutDeposit:
      description: Deposit details
      properties:
        amount:
          type: number
        balanceAfterPayment:
          type: number
        blockchain:
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          type: string
        createdAt:
          format: date-time
          type: string
        currency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          type: string
        id:
          type: string
        payUrl:
          type: string
        reason:
          type: string
        status:
          enum:
          - NEW
          - SUCCESS
          - PARTIAL_SUCCESS
          - FAILED
          - EXPIRED
          - PENDING
          - CANCELLED
          - FROZEN
          type: string
      required:
      - amount
      - createdAt
      - currency
      - id
      - status
      type: object
    CheckoutExchange:
      description: Exchange details
      properties:
        balanceAfterPayment:
          type: number
        createdAt:
          format: date-time
          type: string
        creditAmount:
          type: number
        creditCurrency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          type: string
        debitAmount:
          type: number
        debitBalanceAfterPayment:
          type: number
        debitCurrency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          type: string
        id:
          type: string
        reason:
          type: string
        status:
          enum:
          - NEW
          - SUCCESS
          - PARTIAL_SUCCESS
          - FAILED
          - EXPIRED
          - PENDING
          - CANCELLED
          - FROZEN
          type: string
      required:
      - createdAt
      - id
      - status
      type: object
    CheckoutTransfer:
      description: Transfer details
      properties:
        amount:
          type: number
        balanceAfterPayment:
          type: number
        createdAt:
          format: date-time
          type: string
        currency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          type: string
        id:
          type: string
        reason:
          type: string
        status:
          enum:
          - NEW
          - SUCCESS
          - PARTIAL_SUCCESS
          - FAILED
          - EXPIRED
          - PENDING
          - CANCELLED
          - FROZEN
          type: string
      required:
      - amount
      - createdAt
      - currency
      - id
      - status
      type: object
    CryptoAcquiringAssetMeta:
      description: Crypto-acquiring asset metadata
      properties:
        blockchain:
          description: Blockchain type
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          example: ETHEREUM
          type: string
        chainId:
          description: Chain ID for EVM networks. Used for wallet connection and transaction
            signing.
          example: '1'
          type: string
        contractAddress:
          description: Contract address. Null for native currency
          example: '0xdAC17F958D2ee523a2206206994597C13D831ec7'
          type: string
        currency:
          description: Asset currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USDT
          type: string
        decimals:
          description: Token decimals for amount conversion
          example: 6
          format: int32
          type: integer
        name:
          description: Blockchain crypto currency
          enum:
          - BITCOIN_BTC
          - ETHEREUM_ETH
          - ETHEREUM_USDT
          - ETHEREUM_USDC
          - ETHEREUM_PEPE
          - TRON_TRX
          - TRON_USDT
          - POLYGON_MATIC
          - POLYGON_USDT
          - POLYGON_USDC
          - OPTIMISM_ETH
          - OPTIMISM_USDT
          - OPTIMISM_USDC
          - ARBITRUM_ETH
          - ARBITRUM_USDT
          - ARBITRUM_USDC
          - BSC_BNB
          - BSC_USDT
          - BSC_USDC
          - SOLANA_SOL
          - SOLANA_USDT
          - SOLANA_USDC
          - BASE_ETH
          - BASE_USDC
          - PLASMA_XPL
          - PLASMA_USDT
          example: ETHEREUM_USDT
          type: string
        tokenStandard:
          description: Token standard. Null for native currency.
          enum:
          - ERC-20
          - TRC-20
          - SPL
          example: ERC-20
          type: string
      required:
      - blockchain
      - currency
      - decimals
      - name
      type: object
    CryptoAcquiringCheckout:
      description: Crypto-acquiring checkout
      properties:
        acquiringUrl:
          description: If redirect flow is used, redirect user to this URL to pay.
          type: string
        autoRedirectSecondsOnFail:
          description: Perform automatic redirect after seconds on fail.
          format: int32
          type: integer
        autoRedirectSecondsOnSuccess:
          description: Perform automatic redirect after seconds on success.
          format: int32
          type: integer
        clientOrderId:
          description: Client order ID
          example: '1234567890'
          type: string
        createdAt:
          description: Checkout created date
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        cryptoCurrencies:
          description: Cryptocurrencies available for user to pay
          items:
            description: Blockchain crypto currency
            enum:
            - BITCOIN_BTC
            - ETHEREUM_ETH
            - ETHEREUM_USDT
            - ETHEREUM_USDC
            - ETHEREUM_PEPE
            - TRON_TRX
            - TRON_USDT
            - POLYGON_MATIC
            - POLYGON_USDT
            - POLYGON_USDC
            - OPTIMISM_ETH
            - OPTIMISM_USDT
            - OPTIMISM_USDC
            - ARBITRUM_ETH
            - ARBITRUM_USDT
            - ARBITRUM_USDC
            - BSC_BNB
            - BSC_USDT
            - BSC_USDC
            - SOLANA_SOL
            - SOLANA_USDT
            - SOLANA_USDC
            - BASE_ETH
            - BASE_USDC
            - PLASMA_XPL
            - PLASMA_USDT
            type: string
          type: array
          uniqueItems: true
        cryptoCurrenciesByBlockchain:
          additionalProperties:
            description: Cryptocurrencies available for user to pay. Grouped by blockchain
            example:
              BITCOIN:
              - BITCOIN_BTC
            items:
              description: Blockchain crypto currency
              enum:
              - BITCOIN_BTC
              - ETHEREUM_ETH
              - ETHEREUM_USDT
              - ETHEREUM_USDC
              - ETHEREUM_PEPE
              - TRON_TRX
              - TRON_USDT
              - POLYGON_MATIC
              - POLYGON_USDT
              - POLYGON_USDC
              - OPTIMISM_ETH
              - OPTIMISM_USDT
              - OPTIMISM_USDC
              - ARBITRUM_ETH
              - ARBITRUM_USDT
              - ARBITRUM_USDC
              - BSC_BNB
              - BSC_USDT
              - BSC_USDC
              - SOLANA_SOL
              - SOLANA_USDT
              - SOLANA_USDC
              - BASE_ETH
              - BASE_USDC
              - PLASMA_XPL
              - PLASMA_USDT
              example: '{"BITCOIN":["BITCOIN_BTC"]}'
              type: string
            type: array
          description: Cryptocurrencies available for user to pay. Grouped by blockchain
          example:
            BITCOIN:
            - BITCOIN_BTC
          type: object
        cryptoCurrencyDetails:
          additionalProperties:
            $ref: '#/components/schemas/CryptoCurrencyDetails'
          description: Cryptocurrencies available for user to pay. With details
          example:
            BITCOIN_BTC:
              blockchain: BITCOIN
              currency: BTC
              decimals: 6
              isToken: true
              tokenStandard: ERC-20
          type: object
        email:
          description: Email of the user. The email can't be changed by the user.
            Email is used only for refund notifications.
          type: string
        estimatedPayAmounts:
          additionalProperties:
            $ref: '#/components/schemas/CryptoAcquiringEstimatedPayAmount'
          description: Estimated pay amounts for each cryptocurrency
          example:
            BITCOIN_BTC:
              convertPair: BTCUSD
              convertRate: 10000
              estimatedPayAmount: 0.0001
              estimatedPayerPlatformFee: 1.0e-05
              payAmountScale: 8
          type: object
        expiresAt:
          description: Checkout expires at date
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        fixedAmount:
          $ref: '#/components/schemas/CryptoAcquiringCheckoutFixedAmountData'
        goods:
          description: List of goods in the checkout
          items:
            $ref: '#/components/schemas/CryptoAcquiringGoodsUser'
          type: array
        hidePayerFee:
          description: Hide payer fee
          example: false
          type: boolean
        id:
          description: Checkout ID
          example: CCO-979d6f5d-f26b-4943-bc4f-eabc65787c6c
          type: string
        integrations:
          description: Integrations data
          items:
            $ref: '#/components/schemas/CryptoAcquiringIntegrationData'
          type: array
        integrationsEstimatedPayAmounts:
          additionalProperties:
            $ref: '#/components/schemas/CryptoAcquiringEstimatedPayAmount'
          description: Estimated pay amounts for each integration
          type: object
        lastUpdatedAt:
          description: Checkout last updated date
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        maxLimits:
          additionalProperties:
            description: Max limits for each cryptocurrency. If type equals NO_PRICE
            type: number
          description: Max limits for each cryptocurrency. If type equals NO_PRICE
          example:
            BITCOIN_BTC: 0.2
            ETHEREUM_ETH: 0.001
          type: object
        merchantDomain:
          description: Domain name
          example: example.com
          type: string
        merchantFixedPlatformFees:
          additionalProperties:
            description: Merchant fixed platform fees for each cryptocurrency
            type: number
          description: Merchant fixed platform fees for each cryptocurrency
          example:
            BITCOIN_BTC: 0.001
          type: object
        merchantMinPlatformFees:
          additionalProperties:
            $ref: '#/components/schemas/CurrencyAmount'
          description: Merchant min platform fees for each cryptocurrency
          example:
            BITCOIN_BTC:
              amount: 10
              currency: EUR
          type: object
        merchantPercentPlatformFees:
          additionalProperties:
            description: Merchant percent platform fees for each cryptocurrency
            type: number
          description: Merchant percent platform fees for each cryptocurrency
          example:
            BITCOIN_BTC: 0.001
          type: object
        minLimits:
          additionalProperties:
            description: Min limits for each cryptocurrency. If type equals NO_PRICE
            type: number
          description: Min limits for each cryptocurrency. If type equals NO_PRICE
          example:
            BITCOIN_BTC: 0.2
            ETHEREUM_ETH: 0.001
          type: object
        name:
          description: Checkout name
          example: My shop checkout
          type: string
        payerFixedPlatformFees:
          additionalProperties:
            description: Payer fixed platform fees for each cryptocurrency
            type: number
          description: Payer fixed platform fees for each cryptocurrency
          example:
            BITCOIN_BTC: 0.2
            ETHEREUM_ETH: 0.001
          type: object
        payerMinPlatformFees:
          additionalProperties:
            $ref: '#/components/schemas/CurrencyAmount'
          description: Payer min platform fees for each cryptocurrency
          example:
            ETHEREUM_ETH:
              amount: 10
              currency: EUR
          type: object
        payerPercentPlatformFees:
          additionalProperties:
            description: Payer percent platform fees for each cryptocurrency
            type: number
          description: Payer percent platform fees for each cryptocurrency
          example:
            BITCOIN_BTC: 0.2
            ETHEREUM_ETH: 0.001
          type: object
        prefilledEmail:
          description: Prefill email for the user. The email can be changed by the
            user.
          type: string
        projectId:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        projectName:
          description: Project name
          example: My test project
          type: string
        reason:
          description: Checkout conflict reason
          enum:
          - UNDERPAID
          - OVERPAID
          - OTHER
          - WRONG_CURRENCY
          example: UNDERPAID
          type: string
        refundWindowEndsAt:
          description: Refund window ends at. Populated when the checkout is refundable
          example: '2023-01-02T00:00:00Z'
          format: date-time
          type: string
        refundable:
          description: Is checkout refundable
          example: true
          type: boolean
        refunded:
          description: Is checkout refunded
          example: false
          type: boolean
        request:
          $ref: '#/components/schemas/CryptoAcquiringRequest'
        returnUrl:
          description: If redirect flow is used, this is the URL to which user will
            be directed after payment. Maximum 512 symbols.
          example: https://example.com/return?clientOrderId=1234567890
          type: string
        status:
          description: Checkout status
          enum:
          - NEW
          - REQUEST_CREATED
          - PAYMENT_DETECTED
          - EXPIRED
          - CONFLICT
          - SUCCESS
          example: CONFLICT
          type: string
        suggestedAmounts:
          $ref: '#/components/schemas/CryptoAcquiringSuggestedAmountsData'
        type:
          description: Checkout type
          enum:
          - NO_PRICE
          - FIXED_PRICE
          - SUGGESTED_FIXED_PRICE
          example: FIXED_AMOUNT
          type: string
        user:
          $ref: '#/components/schemas/CryptoAcquiringEndUser'
      required:
      - clientOrderId
      - createdAt
      - cryptoCurrencies
      - cryptoCurrenciesByBlockchain
      - cryptoCurrencyDetails
      - estimatedPayAmounts
      - expiresAt
      - goods
      - hidePayerFee
      - id
      - integrations
      - integrationsEstimatedPayAmounts
      - maxLimits
      - merchantFixedPlatformFees
      - merchantMinPlatformFees
      - merchantPercentPlatformFees
      - minLimits
      - payerFixedPlatformFees
      - payerMinPlatformFees
      - payerPercentPlatformFees
      - projectId
      - projectName
      - refundable
      - refunded
      - status
      - type
      type: object
    CryptoAcquiringCheckoutFixedAmountData:
      description: Crypto-acquiring checkout fixed amount data
      properties:
        amount:
          description: Amount of the checkout
          example: 100
          type: number
        currency:
          description: Currency of the checkout
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
      required:
      - amount
      - currency
      type: object
    CryptoAcquiringCreateCheckout:
      description: Crypto-acquiring create checkout
      properties:
        clientOrderId:
          description: Client supplied order ID. Should be unique for every request
            in scope of project
          example: '1234567890'
          maxLength: 256
          minLength: 0
          type: string
        expiresAt:
          description: 'Checkout expiration date. Default: now() + 4 hours'
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        fixedAmount:
          $ref: '#/components/schemas/CryptoAcquiringCheckoutFixedAmountData'
        goods:
          description: List of goods in the order
          items:
            $ref: '#/components/schemas/CryptoAcquiringGoodsForm'
          maxItems: 20
          minItems: 0
          type: array
        name:
          description: Checkout name
          example: My shop checkout
          maxLength: 256
          minLength: 0
          type: string
        preselectedCryptoCurrency:
          description: Blockchain crypto currency
          enum:
          - BITCOIN_BTC
          - ETHEREUM_ETH
          - ETHEREUM_USDT
          - ETHEREUM_USDC
          - ETHEREUM_PEPE
          - TRON_TRX
          - TRON_USDT
          - POLYGON_MATIC
          - POLYGON_USDT
          - POLYGON_USDC
          - OPTIMISM_ETH
          - OPTIMISM_USDT
          - OPTIMISM_USDC
          - ARBITRUM_ETH
          - ARBITRUM_USDT
          - ARBITRUM_USDC
          - BSC_BNB
          - BSC_USDT
          - BSC_USDC
          - SOLANA_SOL
          - SOLANA_USDT
          - SOLANA_USDC
          - BASE_ETH
          - BASE_USDC
          - PLASMA_XPL
          - PLASMA_USDT
          example: TRON_USDT
          type: string
        returnUrl:
          description: If redirect flow is used, this is the URL to which user will
            be directed after payment
          example: https://example.com/return
          maxLength: 512
          minLength: 0
          type: string
        type:
          description: Checkout type
          enum:
          - NO_PRICE
          - FIXED_PRICE
          - SUGGESTED_FIXED_PRICE
          example: FIXED_AMOUNT
          type: string
      required:
      - clientOrderId
      - type
      type: object
    CryptoAcquiringCreateRefundUser:
      description: Crypto-acquiring create refund
      properties:
        clientOrderId:
          description: Refund client order ID
          example: '1234567890'
          maxLength: 256
          minLength: 0
          type: string
        cryptoAddress:
          description: Refund address. Required only for on-chain payment methods.
            Use 'Get refund data' to determine which fields are required for the selected
            method.
          example: '0x1234567890'
          type: string
        extractFeeFromBalance:
          description: Deduct fee from account balance or refund amount
          example: false
          type: boolean
        feeCypher:
          description: Locks the network fee calculated by the 'Get refund fee' endpoint.
            Pass the 'feeCypher' value returned there. If omitted, the network fee
            will be recalculated.
          example: encrypted_string
          type: string
      required:
      - extractFeeFromBalance
      type: object
    CryptoAcquiringCreateRequest:
      description: Crypto-acquiring create request
      properties:
        amount:
          description: Requested amount. Null for NO_PRICE request.
          example: 100
          type: number
        amountIn:
          description: Currency of the requested amount
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
        cancelUrl:
          description: Return URL to redirect user after payment is cancelled. Only
            for methodKey = BINANCE_PAY.
          maxLength: 256
          minLength: 0
          type: string
        clientOrderId:
          description: Client supplied order ID. Should be unique for every request
            in scope of project
          example: '1234567890'
          maxLength: 256
          minLength: 0
          type: string
        cryptoCurrency:
          description: Blockchain crypto currency
          enum:
          - BITCOIN_BTC
          - ETHEREUM_ETH
          - ETHEREUM_USDT
          - ETHEREUM_USDC
          - ETHEREUM_PEPE
          - TRON_TRX
          - TRON_USDT
          - POLYGON_MATIC
          - POLYGON_USDT
          - POLYGON_USDC
          - OPTIMISM_ETH
          - OPTIMISM_USDT
          - OPTIMISM_USDC
          - ARBITRUM_ETH
          - ARBITRUM_USDT
          - ARBITRUM_USDC
          - BSC_BNB
          - BSC_USDT
          - BSC_USDC
          - SOLANA_SOL
          - SOLANA_USDT
          - SOLANA_USDC
          - BASE_ETH
          - BASE_USDC
          - PLASMA_XPL
          - PLASMA_USDT
          example: BITCOIN_BTC
          type: string
        goods:
          description: List of goods in the order. Required for methodKey = BINANCE_PAY.
          items:
            $ref: '#/components/schemas/CryptoAcquiringGoodsForm'
          maxItems: 20
          minItems: 0
          type: array
        methodKey:
          description: 'Payment method key. Default: CRYPTOCOIN'
          enum:
          - CRYPTOCOIN
          - BINANCE_PAY
          - BYBIT_PAY
          example: CRYPTOCOIN
          type: string
        returnUrl:
          description: Return URL to redirect user after payment is completed. Only
            for methodKey = BINANCE_PAY.
          maxLength: 256
          minLength: 0
          type: string
      required:
      - clientOrderId
      - methodKey
      type: object
    CryptoAcquiringEndUser:
      description: Crypto-acquiring end user
      properties:
        createdAt:
          description: Date and time of end user creation
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        email:
          description: End user email
          example: user@example.com
          type: string
        id:
          description: End user ID
          example: CAU-5e80bb81-f331-4a98-a022-b48b823750f2
          type: string
      required:
      - createdAt
      - email
      - id
      type: object
    CryptoAcquiringEstimatedPayAmount:
      description: Crypto-acquiring estimated pay amount
      properties:
        convertPair:
          description: Convert pair
          example: BTCUSD
          type: string
        convertRate:
          description: Convert rate
          example: 10000
          type: number
        estimatedPayAmount:
          description: Estimated pay amount
          example: 0.0001
          type: number
        estimatedPayerPlatformFee:
          description: Estimated payer platform fee
          example: 1.0e-05
          type: number
        payAmountScale:
          description: Pay amount scale
          example: 8
          format: int32
          type: integer
      type: object
    CryptoAcquiringExchangeRule:
      description: Crypto-acquiring exchange rule
      properties:
        createdAt:
          description: Date and time of exchange rule creation
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        fromCurrency:
          description: Crypto currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - SOL
          - XPL
          - USDT
          - USDC
          - PEPE
          example: BTC
          type: string
        id:
          description: Exchange rule ID
          example: CAER-5e80bb81-f331-4a98-a022-b48b823750f2
          type: string
        methodKey:
          description: Acquiring method key
          enum:
          - CRYPTOCOIN
          - BINANCE_PAY
          - BYBIT_PAY
          example: CRYPTOCOIN
          type: string
        toCurrency:
          description: Automatically exchange to currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
      required:
      - createdAt
      - fromCurrency
      - id
      - methodKey
      - toCurrency
      type: object
    CryptoAcquiringExchangeRuleForm:
      description: Crypto-acquiring exchange rule form
      properties:
        fromCurrency:
          description: Crypto currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - SOL
          - XPL
          - USDT
          - USDC
          - PEPE
          example: BTC
          type: string
        methodKey:
          description: 'Acquiring method key. Default: CRYPTOCOIN'
          enum:
          - CRYPTOCOIN
          - BINANCE_PAY
          - BYBIT_PAY
          example: CRYPTOCOIN
          type: string
        toCurrency:
          description: Automatically exchange to currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
      required:
      - fromCurrency
      - methodKey
      - toCurrency
      type: object
    CryptoAcquiringExchangeRuleOptions:
      description: Crypto-acquiring project exchange options
      properties:
        options:
          additionalProperties:
            description: Map of available exchange options
            items:
              description: Map of available exchange options
              enum:
              - BTC
              - ETH
              - TRX
              - BNB
              - MATIC
              - XPL
              - USDT
              - USDC
              - SOL
              - PEPE
              - EUR
              - USD
              - UAH
              - KZT
              - IDR
              - TRY
              - AZN
              - GBP
              - INR
              type: string
            type: array
            uniqueItems: true
          description: Map of available exchange options
          type: object
      required:
      - options
      type: object
    CryptoAcquiringExchangeRuleWithProjectInfo:
      description: Crypto-acquiring exchange rule with project info
      properties:
        createdAt:
          description: Date and time of exchange rule creation
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        cryptoAcquiringProjectId:
          description: Crypto-acquiring widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        cryptoAcquiringProjectName:
          description: Crypto-acquiring project name
          example: My crypto-acquiring project
          type: string
        fromCurrency:
          description: Currency of incoming transaction
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: BTC
          type: string
        id:
          description: Exchange rule ID
          example: CAER-5e80bb81-f331-4a98-a022-b48b823750f2
          type: string
        methodKey:
          description: Acquiring method key
          enum:
          - CRYPTOCOIN
          - BINANCE_PAY
          - BYBIT_PAY
          example: CRYPTOCOIN
          type: string
        toCurrency:
          description: Automatically exchange to currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
      required:
      - createdAt
      - cryptoAcquiringProjectId
      - cryptoAcquiringProjectName
      - fromCurrency
      - id
      - methodKey
      - toCurrency
      type: object
    CryptoAcquiringGoodsForm:
      description: Single goods line for crypto-acquiring order
      properties:
        category:
          description: Category code (use OTHER if no suitable category found)
          enum:
          - ELECTRONICS_COMPUTERS
          - BOOKS_MUSIC_MOVIES
          - HOME_GARDEN_TOOLS
          - CLOTHES_SHOES_BAGS
          - TOYS_KIDS_BABY
          - AUTOMOTIVE_ACCESSORIES
          - GAME_RECHARGE
          - ENTERTAINMENT_COLLECTION
          - JEWELRY
          - DOMESTIC_SERVICE
          - BEAUTY_CARE
          - PHARMACY
          - SPORTS_OUTDOORS
          - FOOD_GROCERY_HEALTH
          - PET_SUPPLIES
          - INDUSTRY_SCIENCE
          - OTHER
          example: ELECTRONICS_COMPUTERS
          type: string
        description:
          description: Optional detailed description
          example: Noise-cancelling, Bluetooth 5.3
          maxLength: 256
          minLength: 0
          type: string
        name:
          description: Product name
          example: Wireless Headphones X200
          maxLength: 256
          minLength: 0
          type: string
        productId:
          description: Unique product identifier (SKU / internal ID)
          example: SKU12345
          maxLength: 256
          minLength: 0
          type: string
        quantity:
          description: Quantity of this item
          example: 1
          format: int64
          type: integer
        type:
          description: 'Type of goods: PHYSICAL or VIRTUAL'
          enum:
          - PHYSICAL
          - VIRTUAL
          example: PHYSICAL
          type: string
      required:
      - category
      - name
      - productId
      - quantity
      - type
      type: object
    CryptoAcquiringGoodsUser:
      description: List of goods in the checkout
      properties:
        category:
          description: Category code (Binance goodsCategory standard). Use Z000 when
            no match
          enum:
          - ELECTRONICS_COMPUTERS
          - BOOKS_MUSIC_MOVIES
          - HOME_GARDEN_TOOLS
          - CLOTHES_SHOES_BAGS
          - TOYS_KIDS_BABY
          - AUTOMOTIVE_ACCESSORIES
          - GAME_RECHARGE
          - ENTERTAINMENT_COLLECTION
          - JEWELRY
          - DOMESTIC_SERVICE
          - BEAUTY_CARE
          - PHARMACY
          - SPORTS_OUTDOORS
          - FOOD_GROCERY_HEALTH
          - PET_SUPPLIES
          - INDUSTRY_SCIENCE
          - OTHER
          example: '0000'
          type: string
        description:
          description: Optional detailed description (max 256 symbols)
          example: Noise-cancelling, Bluetooth 5.3
          type: string
        name:
          description: Product name (max 256 symbols)
          example: Wireless Headphones X200
          type: string
        productId:
          description: Unique product identifier (SKU / internal ID). Max 256 symbols
          example: SKU12345
          type: string
        quantity:
          description: Quantity of this item
          example: 2
          format: int64
          type: integer
        type:
          description: 'Type of goods: PHYSICAL (01) or VIRTUAL (02)'
          enum:
          - PHYSICAL
          - VIRTUAL
          example: PHYSICAL
          type: string
      required:
      - category
      - name
      - productId
      - quantity
      - type
      type: object
    CryptoAcquiringIntegrationData:
      description: Crypto-acquiring integration data
      properties:
        amountInOptions:
          additionalProperties:
            $ref: '#/components/schemas/CryptoAcquiringRequestLimit'
          description: "Currency-specific \u201Camount in\u201D presets. When the\
            \ caller supplies an `amountIn` in any supported currency, the service\
            \ converts it to the payment currency. This map lists the valid source\
            \ currencies and their limits."
          type: object
        currency:
          description: Payment currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USDT
          type: string
        maxLimit:
          description: Max limit
          example: 100000
          type: number
        merchantFixedPlatformFees:
          description: Fixed platform fee that the **merchant** pays when `payerPaysPlatformFee
            = false`. Set to 0 when the payer covers the platform fee.
          type: number
        merchantMinPlatformFees:
          description: Minimum platform fee that the **merchant** pays when `payerPaysPlatformFee
            = false`. Set to 0 when the payer covers the platform fee.
          type: number
        merchantPercentPlatformFees:
          description: Percentage platform fee that the **merchant** pays when `payerPaysPlatformFee
            = false`. Set to 0 when the payer covers the platform fee.
          type: number
        methodKey:
          description: Method key
          enum:
          - BINANCE_PAY
          - BYBIT_PAY
          example: BINANCE_PAY
          type: string
        minLimit:
          description: Min limit
          example: 0.5
          type: number
        payerFixedPlatformFees:
          description: Fixed platform fee that the **payer** pays when `payerPaysPlatformFee
            = true`. Set to 0 when the merchant covers the platform fee.
          type: number
        payerMinPlatformFees:
          description: Minimum platform fee that the **payer** pays when `payerPaysPlatformFee
            = true`. Set to 0 when the merchant covers the platform fee.
          type: number
        payerPercentPlatformFees:
          description: Percentage platform fee that the **payer** pays when `payerPaysPlatformFee
            = true`. Set to 0 when the merchant covers the platform fee.
          type: number
      required:
      - amountInOptions
      - currency
      - maxLimit
      - merchantFixedPlatformFees
      - merchantMinPlatformFees
      - merchantPercentPlatformFees
      - methodKey
      - minLimit
      - payerFixedPlatformFees
      - payerMinPlatformFees
      - payerPercentPlatformFees
      type: object
    CryptoAcquiringIntegrationOptions:
      description: Crypto-acquiring integration options available to be enabled for
        project
      properties:
        options:
          additionalProperties:
            items:
              enum:
              - BTC
              - ETH
              - TRX
              - BNB
              - MATIC
              - XPL
              - USDT
              - USDC
              - SOL
              - PEPE
              - EUR
              - USD
              - UAH
              - KZT
              - IDR
              - TRY
              - AZN
              - GBP
              - INR
              type: string
            type: array
            uniqueItems: true
          type: object
      required:
      - options
      type: object
    CryptoAcquiringPaymentSessionUser:
      description: Crypto-acquiring payment session for integrations
      properties:
        cancelUrl:
          description: Return URL to redirect user after payment is cancelled
          example: https://example.com/cancel
          type: string
        deepLink:
          description: Deep link for mobile apps to handle payment
          type: string
        paymentUrl:
          description: Payment URL for web-based payment
          type: string
        qrCodeUrl:
          description: QR code URL for payment
          type: string
        returnUrl:
          description: Return URL to redirect user after payment is completed
          example: https://example.com/return
          type: string
        universalUrl:
          description: Universal URL for payment, can be used in web and mobile apps
          type: string
      type: object
    CryptoAcquiringProjectExchangeRuleOptions:
      description: Crypto-acquiring project exchange options
      properties:
        options:
          additionalProperties:
            description: 'Deprecated: use optionsByMethodKey. Map of available exchange
              options for onchain payments. Key is the currency to exchange from,
              value is a set of currencies to exchange to.'
            items:
              description: 'Deprecated: use optionsByMethodKey. Map of available exchange
                options for onchain payments. Key is the currency to exchange from,
                value is a set of currencies to exchange to.'
              enum:
              - BTC
              - ETH
              - TRX
              - BNB
              - MATIC
              - XPL
              - USDT
              - USDC
              - SOL
              - PEPE
              - EUR
              - USD
              - UAH
              - KZT
              - IDR
              - TRY
              - AZN
              - GBP
              - INR
              type: string
            type: array
            uniqueItems: true
          description: 'Deprecated: use optionsByMethodKey. Map of available exchange
            options for onchain payments. Key is the currency to exchange from, value
            is a set of currencies to exchange to.'
          type: object
        optionsByMethodKey:
          additionalProperties:
            additionalProperties:
              description: Map of available exchange options by method key. Key is
                the method key, value is a map of currencies to exchange from and
                their corresponding set of currencies to exchange to.
              items:
                description: Map of available exchange options by method key. Key
                  is the method key, value is a map of currencies to exchange from
                  and their corresponding set of currencies to exchange to.
                enum:
                - BTC
                - ETH
                - TRX
                - BNB
                - MATIC
                - XPL
                - USDT
                - USDC
                - SOL
                - PEPE
                - EUR
                - USD
                - UAH
                - KZT
                - IDR
                - TRY
                - AZN
                - GBP
                - INR
                type: string
              type: array
              uniqueItems: true
            description: Map of available exchange options by method key. Key is the
              method key, value is a map of currencies to exchange from and their
              corresponding set of currencies to exchange to.
            type: object
          description: Map of available exchange options by method key. Key is the
            method key, value is a map of currencies to exchange from and their corresponding
            set of currencies to exchange to.
          type: object
      required:
      - options
      - optionsByMethodKey
      type: object
    CryptoAcquiringProjectUser:
      description: Crypto-acquiring project
      properties:
        autoRedirectSecondsOnFail:
          description: Perform automatic redirect after seconds on fail. If null then
            no redirect
          example: 5
          format: int32
          type: integer
        autoRedirectSecondsOnSuccess:
          description: Perform automatic redirect after seconds on success. If null
            then no redirect
          example: 5
          format: int32
          type: integer
        createdAt:
          description: Date and time of project creation
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        cryptoCurrencies:
          description: List of crypto currencies enabled in the project
          items:
            description: Blockchain crypto currency
            enum:
            - BITCOIN_BTC
            - ETHEREUM_ETH
            - ETHEREUM_USDT
            - ETHEREUM_USDC
            - ETHEREUM_PEPE
            - TRON_TRX
            - TRON_USDT
            - POLYGON_MATIC
            - POLYGON_USDT
            - POLYGON_USDC
            - OPTIMISM_ETH
            - OPTIMISM_USDT
            - OPTIMISM_USDC
            - ARBITRUM_ETH
            - ARBITRUM_USDT
            - ARBITRUM_USDC
            - BSC_BNB
            - BSC_USDT
            - BSC_USDC
            - SOLANA_SOL
            - SOLANA_USDT
            - SOLANA_USDC
            - BASE_ETH
            - BASE_USDC
            - PLASMA_XPL
            - PLASMA_USDT
            type: string
          type: array
        domain:
          description: Domain associated with the project
          example: mydomain.com
          type: string
        domainId:
          description: ID of approved domain associated with the project
          example: DMN-367e7d92-8908-4624-90cd-e3bea8290861
          type: string
        enabled:
          description: Is project enabled
          example: true
          type: boolean
        hidePayerFee:
          description: Show payer platform fee in widget (if payer pays platform fee)
          example: false
          type: boolean
        id:
          description: ID of crypto-acquiring project
          example: CAP-46dfa46b-6338-4c33-8e1d-cf7062053f22
          type: string
        integrations:
          additionalProperties:
            description: List of enabled integrations. Only for projects of type DYNAMIC_ADDRESSES
            enum:
            - BTC
            - ETH
            - TRX
            - BNB
            - MATIC
            - XPL
            - USDT
            - USDC
            - SOL
            - PEPE
            - EUR
            - USD
            - UAH
            - KZT
            - IDR
            - TRY
            - AZN
            - GBP
            - INR
            type: string
          description: List of enabled integrations. Only for projects of type DYNAMIC_ADDRESSES
          type: object
        modifiedAt:
          description: Date and time of project modification
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        name:
          description: Name of crypto-acquiring project
          example: My project
          type: string
        payerPaysPlatformFee:
          description: Is merchant's user pays platform fee
          example: false
          type: boolean
        suggestedAmounts:
          $ref: '#/components/schemas/CryptoAcquiringSuggestedAmountsData'
        type:
          description: Type of crypto-acquiring project
          enum:
          - STATIC_ADDRESSES
          - DYNAMIC_ADDRESSES
          example: DYNAMIC_ADDRESSES
          type: string
        userId:
          description: ID of user owning the project
          example: OWN-89f46f52-453d-4441-9652-1812c61b235c
          type: string
      required:
      - createdAt
      - cryptoCurrencies
      - enabled
      - hidePayerFee
      - id
      - integrations
      - modifiedAt
      - name
      - payerPaysPlatformFee
      - type
      - userId
      type: object
    CryptoAcquiringProjectUserForm:
      properties:
        autoRedirectSecondsOnFail:
          description: Perform automatic redirect after seconds on fail. If null then
            no redirect
          example: 5
          format: int32
          maximum: 120
          type: integer
        autoRedirectSecondsOnSuccess:
          description: Perform automatic redirect after seconds on success. If null
            then no redirect
          example: 5
          format: int32
          maximum: 120
          type: integer
        cryptoCurrencies:
          description: List of crypto currencies enabled in the project
          items:
            description: Blockchain crypto currency
            enum:
            - BITCOIN_BTC
            - ETHEREUM_ETH
            - ETHEREUM_USDT
            - ETHEREUM_USDC
            - ETHEREUM_PEPE
            - TRON_TRX
            - TRON_USDT
            - POLYGON_MATIC
            - POLYGON_USDT
            - POLYGON_USDC
            - OPTIMISM_ETH
            - OPTIMISM_USDT
            - OPTIMISM_USDC
            - ARBITRUM_ETH
            - ARBITRUM_USDT
            - ARBITRUM_USDC
            - BSC_BNB
            - BSC_USDT
            - BSC_USDC
            - SOLANA_SOL
            - SOLANA_USDT
            - SOLANA_USDC
            - BASE_ETH
            - BASE_USDC
            - PLASMA_XPL
            - PLASMA_USDT
            type: string
          type: array
          uniqueItems: true
        domainId:
          description: ID of approved domain associated with the project
          example: DMN-367e7d92-8908-4624-90cd-e3bea8290861
          type: string
        enabled:
          default: true
          description: Is project enabled
          example: true
          type: boolean
        hidePayerFee:
          default: false
          description: Show payer platform fee in widget (if payer pays platform fee)
          example: false
          type: boolean
        integrations:
          additionalProperties:
            description: Map of enabled integrations. Only for projects of type DYNAMIC_ADDRESSES
            enum:
            - BTC
            - ETH
            - TRX
            - BNB
            - MATIC
            - XPL
            - USDT
            - USDC
            - SOL
            - PEPE
            - EUR
            - USD
            - UAH
            - KZT
            - IDR
            - TRY
            - AZN
            - GBP
            - INR
            type: string
          description: Map of enabled integrations. Only for projects of type DYNAMIC_ADDRESSES
          type: object
        name:
          description: Name of crypto-acquiring project
          example: My project
          maxLength: 100
          minLength: 0
          type: string
        payerPaysPlatformFee:
          default: false
          description: Is merchant's user pays platform fee
          example: false
          type: boolean
        suggestedAmounts:
          $ref: '#/components/schemas/CryptoAcquiringSuggestedAmountsData'
        type:
          default: DYNAMIC_ADDRESSES
          description: Type of crypto-acquiring project
          enum:
          - STATIC_ADDRESSES
          - DYNAMIC_ADDRESSES
          example: DYNAMIC_ADDRESSES
          type: string
      required:
      - cryptoCurrencies
      - name
      - type
      type: object
    CryptoAcquiringRefundDataUser:
      description: Crypto-acquiring refund data
      properties:
        amount:
          description: Refund amount
          example: 10
          type: number
        blockchain:
          description: Refund blockchain
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          example: ETHEREUM
          type: string
        currency:
          description: Refund currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USDT
          type: string
        methodId:
          description: Refund payment method ID
          example: PMD-1c49298c-7eb6-4f29-9b4e3ad08464
          type: string
        methodKey:
          description: Payout payment method key
          enum:
          - CC_VISAMC
          - VA_QR
          - CRYPTOCOIN
          - SWIFT
          - BINANCE_PAY
          example: CRYPTOCOIN
          type: string
        props:
          $ref: '#/components/schemas/PropertyDescriptor'
      required:
      - amount
      - currency
      - methodId
      - methodKey
      - props
      type: object
    CryptoAcquiringRefundUser:
      description: Crypto-acquiring refund
      properties:
        address:
          description: Refund address
          example: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
          type: string
        amount:
          description: Refund amount
          example: 10
          type: number
        blockchain:
          description: Blockchain
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          example: ETHEREUM
          type: string
        clientOrderId:
          description: Client order ID
          example: '1234567890'
          type: string
        createdAt:
          description: Refund created at
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        currency:
          description: Currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USDT
          type: string
        extractFeeFromBalance:
          description: Flag to extract fee from balance
          example: true
          type: boolean
        id:
          description: Refund ID
          example: CAR-1c49298c-7eb6-4f29-9b4e-be6e3ad08464
          type: string
        methodKey:
          description: Payment method key
          enum:
          - CC_VISAMC
          - CRYPTOCOIN
          - SWIFT
          - VA_QR
          - CASH
          - TRANSFER
          - EXCHANGE
          - AGENT
          - BINANCE_PAY
          - BYBIT_PAY
          example: CRYPTOCOIN
          type: string
        modifiedAt:
          description: Refund modified at
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        refundPayment:
          $ref: '#/components/schemas/Payment'
        request:
          $ref: '#/components/schemas/CryptoAcquiringRequest'
        status:
          description: Refund status
          enum:
          - PENDING
          - FAILED
          - SUCCESS
          example: SUCCESS
          type: string
      required:
      - amount
      - createdAt
      - currency
      - extractFeeFromBalance
      - id
      - methodKey
      - request
      - status
      type: object
    CryptoAcquiringRequest:
      description: Crypto-acquiring request
      properties:
        address:
          description: Blockchain address to pay to
          example: tb1qzrdu918vvqnan4cncjdcmlq6xrz8qsaccdql2w
          type: string
        assetMeta:
          $ref: '#/components/schemas/CryptoAcquiringAssetMeta'
        blockchain:
          description: Blokchain of the request
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          example: BITCOIN
          type: string
        checkoutId:
          description: Checkout ID
          example: CCO-979d6f5d-f26b-4943-bc4f-eabc65787c6c
          type: string
        clientOrderId:
          description: Client order ID
          example: '1234567890'
          type: string
        convertPair:
          description: Pair used to convert
          example: BTCUSD
          type: string
        convertRate:
          description: Rate used to convert
          example: 10000
          type: number
        createdAt:
          description: Request created at
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        cryptoAcquiringProjectId:
          description: Widget ID
          example: CAP-82807e80-c76f-4715-afb0-2b64fdc4618c
          type: string
        cryptoAcquiringProjectName:
          description: Project name
          example: Test project
          type: string
        currency:
          description: Currency of the request
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: BTC
          type: string
        expiresAt:
          description: Request expires at
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        goods:
          description: List of goods (products) the merchant is selling.
          items:
            $ref: '#/components/schemas/CryptoAcquiringGoodsUser'
          type: array
        hidePayerFee:
          description: Hide payer fee
          example: false
          type: boolean
        id:
          description: Request ID
          example: CAPD-82807e80-c76f-4715-afb0-2b64fdc4618c
          type: string
        lastUpdatedAt:
          description: Request last updated at
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        maxLimit:
          description: Max pay limit. For NO_PRICE requests
          example: 10
          type: number
        merchantFixedPlatformFee:
          description: Merchant fixed platform fee
          example: 0.0001
          type: number
        merchantPercentPlatformFee:
          description: Merchant percent platform fee
          example: 0.5
          type: number
        merchantPlatformFee:
          description: Merchant platform fee total
          example: 0.0001
          type: number
        methodKey:
          description: Method key
          enum:
          - CRYPTOCOIN
          - BINANCE_PAY
          - BYBIT_PAY
          example: CRYPTOCOIN
          type: string
        minLimit:
          description: Min pay limit. For NO_PRICE requests
          example: 1.0e-05
          type: number
        orderId:
          description: Order ID
          example: ORD-82807e80-c76f-4715-afb0-2b64fdc4618c
          type: string
        overpaid:
          description: User paid more than payAmount
          example: false
          type: boolean
        paidAmount:
          description: Amount end user paid
          example: 0.001
          type: number
        payAmount:
          description: Amount to pay
          example: 0.001
          type: number
        payerFixedPlatformFee:
          description: Payer fixed platform fee
          example: 0.0001
          type: number
        payerPercentPlatformFee:
          description: Payer percent platform fee fixed
          example: 0.5
          type: number
        payerPlatformFee:
          description: Payer platform fee total
          example: 0.0001
          type: number
        payment:
          $ref: '#/components/schemas/Payment'
        paymentId:
          description: Payment ID
          example: PMT-b2e2df8c-281a-4cc1-2bcf-61b803358f0e
          type: string
        paymentSession:
          $ref: '#/components/schemas/CryptoAcquiringPaymentSessionUser'
        paymentStatus:
          description: Status of blockchain payment
          enum:
          - NEW
          - SUCCESS
          - PARTIAL_SUCCESS
          - FAILED
          - EXPIRED
          - PENDING
          - CANCELLED
          - FROZEN
          example: SUCCESS
          type: string
        paymentWindowEndsAt:
          description: Payment windows ends at
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        processingAmount:
          description: Amount that will be debited to merchant's account if payment
            success
          example: 0.001
          type: number
        reason:
          description: Reason of conflict
          enum:
          - UNDERPAID
          - OVERPAID
          - OTHER
          - WRONG_CURRENCY
          example: UNDERPAID
          type: string
        refundPayment:
          $ref: '#/components/schemas/Payment'
        refundWindowEndsAt:
          description: Refund window ends at. Populated when the request is refundable
          example: '2023-01-02T00:00:00Z'
          format: date-time
          type: string
        refundable:
          description: Is the request refundable
          example: true
          type: boolean
        refunded:
          description: Request refunded
          example: false
          type: boolean
        requestAmount:
          description: Request amount
          example: 100
          type: number
        requestAmountConverted:
          description: Request amount converted to pay currency
          example: 0.001
          type: number
        requestAmountIn:
          description: Request amount in
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
        status:
          description: Request status
          enum:
          - WAITING_PAYMENT
          - PENDING_PAYMENT
          - CONFLICT
          - EXPIRED
          - SUCCESS
          example: CONFLICT
          type: string
        txHash:
          description: Transaction hash
          example: c2544dd6e1c53529b877682127d16cff524f2867a57c5cc204e42eb2573e02e0
          type: string
      required:
      - clientOrderId
      - createdAt
      - cryptoAcquiringProjectId
      - cryptoAcquiringProjectName
      - currency
      - expiresAt
      - goods
      - id
      - methodKey
      - orderId
      - overpaid
      - paymentWindowEndsAt
      - refundable
      - refunded
      - status
      type: object
    CryptoAcquiringRequestLimit:
      description: Crypto-acquiring request limit
      properties:
        convertPair:
          description: Convert pair
          example: BTCUSD
          type: string
        convertRate:
          description: Convert rate
          example: 30000
          type: number
        maxLimit:
          description: Max limit
          example: 10
          type: number
        minLimit:
          description: Min limit
          example: 1.0e-05
          type: number
      required:
      - maxLimit
      - minLimit
      type: object
    CryptoAcquiringRequestOptions:
      description: Crypto-acquiring request options
      properties:
        amountInOptions:
          additionalProperties:
            additionalProperties:
              $ref: '#/components/schemas/CryptoAcquiringRequestLimit'
            description: Amount in options for crypto currencies
            type: object
          description: Amount in options for crypto currencies
          type: object
        cryptoCurrencies:
          description: Crypto currencies available to create a deposit request
          items:
            description: Blockchain crypto currency
            enum:
            - BITCOIN_BTC
            - ETHEREUM_ETH
            - ETHEREUM_USDT
            - ETHEREUM_USDC
            - ETHEREUM_PEPE
            - TRON_TRX
            - TRON_USDT
            - POLYGON_MATIC
            - POLYGON_USDT
            - POLYGON_USDC
            - OPTIMISM_ETH
            - OPTIMISM_USDT
            - OPTIMISM_USDC
            - ARBITRUM_ETH
            - ARBITRUM_USDT
            - ARBITRUM_USDC
            - BSC_BNB
            - BSC_USDT
            - BSC_USDC
            - SOLANA_SOL
            - SOLANA_USDT
            - SOLANA_USDC
            - BASE_ETH
            - BASE_USDC
            - PLASMA_XPL
            - PLASMA_USDT
            type: string
          type: array
          uniqueItems: true
        integrations:
          description: Integration options. Empty if no enabled integrations
          items:
            $ref: '#/components/schemas/CryptoAcquiringIntegrationData'
          type: array
        limits:
          additionalProperties:
            $ref: '#/components/schemas/CryptoAcquiringRequestLimit'
          description: Limits for crypto currencies
          type: object
        maxLimits:
          additionalProperties:
            description: Max limits for crypto currencies
            type: number
          description: Max limits for crypto currencies
          type: object
        merchantFixedPlatformFees:
          additionalProperties:
            description: Merchant fixed fees for crypto currencies
            type: number
          description: Merchant fixed fees for crypto currencies
          type: object
        merchantMinPlatformFees:
          additionalProperties:
            $ref: '#/components/schemas/CurrencyAmount'
          description: Merchant min fees for crypto currencies
          type: object
        merchantPercentPlatformFees:
          additionalProperties:
            description: Merchant percent fees for crypto currencies
            type: number
          description: Merchant percent fees for crypto currencies
          type: object
        minLimits:
          additionalProperties:
            description: Min limits for crypto currencies
            type: number
          description: Min limits for crypto currencies
          type: object
        payerFixedPlatformFees:
          additionalProperties:
            description: Payer fixed fees for crypto currencies
            type: number
          description: Payer fixed fees for crypto currencies
          type: object
        payerMinPlatformFees:
          additionalProperties:
            $ref: '#/components/schemas/CurrencyAmount'
          description: Payer min fees for crypto currencies
          type: object
        payerPercentPlatformFees:
          additionalProperties:
            description: Payer percent fees for crypto currencies
            type: number
          description: Payer percent fees for crypto currencies
          type: object
        suggestedAmounts:
          $ref: '#/components/schemas/CryptoAcquiringSuggestedAmountsData'
      required:
      - amountInOptions
      - cryptoCurrencies
      - integrations
      - limits
      - maxLimits
      - merchantFixedPlatformFees
      - merchantMinPlatformFees
      - merchantPercentPlatformFees
      - minLimits
      - payerFixedPlatformFees
      - payerMinPlatformFees
      - payerPercentPlatformFees
      type: object
    CryptoAcquiringStaticAddressBundleLimitsUser:
      description: Crypto-acquiring static address bundle limits
      properties:
        current:
          description: Current amount of static address bundles
          format: int32
          type: integer
        limit:
          description: Limit of static address bundles
          format: int32
          type: integer
      required:
      - current
      - limit
      type: object
    CryptoAcquiringStaticAddressBundleUser:
      description: Crypto-acquiring static address bundle
      properties:
        addresses:
          description: List of static addresses
          items:
            $ref: '#/components/schemas/CryptoAcquiringStaticAddressUser'
          type: array
        addressesByAsset:
          additionalProperties:
            $ref: '#/components/schemas/CryptoAcquiringStaticAddressUser'
          description: Map of static addresses by asset
          type: object
        assetsMeta:
          additionalProperties:
            $ref: '#/components/schemas/CryptoAcquiringAssetMeta'
          description: Assets metadata
          type: object
        createdAt:
          description: Bundle creation date
          example: '2024-09-01T12:00:00Z'
          format: date-time
          type: string
        deactivatedAddresses:
          description: List of deactivated static addresses
          items:
            $ref: '#/components/schemas/CryptoAcquiringStaticAddressUser'
          type: array
        deactivatedAddressesByAsset:
          additionalProperties:
            description: Map of deactivated static addresses by asset
            items:
              $ref: '#/components/schemas/CryptoAcquiringStaticAddressUser'
            type: array
          description: Map of deactivated static addresses by asset
          type: object
        id:
          description: Static address bundle ID
          example: CASB-22dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        referenceId:
          description: User supplied reference ID
          example: '1234567890'
          type: string
      required:
      - addresses
      - addressesByAsset
      - assetsMeta
      - createdAt
      - deactivatedAddresses
      - deactivatedAddressesByAsset
      - id
      - referenceId
      type: object
    CryptoAcquiringStaticAddressUser:
      description: Crypto-acquiring static address
      properties:
        active:
          description: If can handle deposit on this address
          example: true
          type: boolean
        address:
          description: Crypto address
          example: '0x1234567890abcdef1234567890abcdef12345678'
          type: string
        asset:
          description: Blockchain crypto currency
          enum:
          - BITCOIN_BTC
          - ETHEREUM_ETH
          - ETHEREUM_USDT
          - ETHEREUM_USDC
          - ETHEREUM_PEPE
          - TRON_TRX
          - TRON_USDT
          - POLYGON_MATIC
          - POLYGON_USDT
          - POLYGON_USDC
          - OPTIMISM_ETH
          - OPTIMISM_USDT
          - OPTIMISM_USDC
          - ARBITRUM_ETH
          - ARBITRUM_USDT
          - ARBITRUM_USDC
          - BSC_BNB
          - BSC_USDT
          - BSC_USDC
          - SOLANA_SOL
          - SOLANA_USDT
          - SOLANA_USDC
          - BASE_ETH
          - BASE_USDC
          - PLASMA_XPL
          - PLASMA_USDT
          example: ETHEREUM_USDT
          type: string
        createdAt:
          description: Address creation date
          example: '2024-09-01T12:00:00Z'
          format: date-time
          type: string
        id:
          description: Static address ID
          example: UBADR-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        values:
          $ref: '#/components/schemas/CryptoAcquiringStaticAddressValues'
      required:
      - active
      - address
      - asset
      - createdAt
      - id
      type: object
    CryptoAcquiringStaticAddressValues:
      description: Crypto-acquiring static address values
      properties:
        fixedFee:
          description: Fixed fee
          example: 0.3
          type: number
        fixedFeeCurrency:
          description: Fixed fee currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: EUR
          type: string
        minLimit:
          description: Min limit
          example: 1
          type: number
        networkFeeEstimate:
          description: Estimated network fee cost to process deposit
          example: 0.5
          type: number
        percentFee:
          description: Percent fee
          example: 0.1
          type: number
      required:
      - fixedFee
      - minLimit
      - networkFeeEstimate
      - percentFee
      type: object
    CryptoAcquiringStaticBundleRequest:
      description: Crypto-acquiring static address bundle request
      properties:
        allEnabledAssets:
          description: Flag to create static addresses for all enabled assets in the
            project.
          type: boolean
        assets:
          description: List of assets for which to create static addresses.
          items:
            description: Blockchain crypto currency
            enum:
            - BITCOIN_BTC
            - ETHEREUM_ETH
            - ETHEREUM_USDT
            - ETHEREUM_USDC
            - ETHEREUM_PEPE
            - TRON_TRX
            - TRON_USDT
            - POLYGON_MATIC
            - POLYGON_USDT
            - POLYGON_USDC
            - OPTIMISM_ETH
            - OPTIMISM_USDT
            - OPTIMISM_USDC
            - ARBITRUM_ETH
            - ARBITRUM_USDT
            - ARBITRUM_USDC
            - BSC_BNB
            - BSC_USDT
            - BSC_USDC
            - SOLANA_SOL
            - SOLANA_USDT
            - SOLANA_USDC
            - BASE_ETH
            - BASE_USDC
            - PLASMA_XPL
            - PLASMA_USDT
            type: string
          type: array
          uniqueItems: true
        referenceId:
          description: User supplied reference ID
          example: '1234567890'
          type: string
      required:
      - allEnabledAssets
      - referenceId
      type: object
    CryptoAcquiringStaticUniversalAddressUser:
      description: Crypto-acquiring static address
      properties:
        address:
          description: Universal address
          example: '0x1234567890abcdef1234567890abcdef12345678'
          type: string
        addressType:
          description: Address type
          enum:
          - ETHEREUM
          - BITCOIN
          - TRON
          - SOLANA
          example: ETHEREUM
          type: string
        assets:
          description: List of assets meta for which the address is relevant
          items:
            $ref: '#/components/schemas/CryptoAcquiringAssetMeta'
          type: array
          uniqueItems: true
        createdAt:
          description: Creation date
          example: '2024-09-01T12:00:00Z'
          format: date-time
          type: string
        expiredAt:
          description: Expiration date
          example: '2026-09-01T12:00:00Z'
          format: date-time
          type: string
        id:
          description: Static address ID
          example: UBADR-22dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        isDeactivated:
          description: Is deactivate
          example: false
          type: boolean
        referenceId:
          description: User supplied reference ID
          example: '1234567890'
          type: string
      required:
      - address
      - addressType
      - assets
      - createdAt
      - expiredAt
      - id
      - isDeactivated
      - referenceId
      type: object
    CryptoAcquiringSuggestedAmountsData:
      description: Crypto-acquiring checkout suggested amounts data
      properties:
        allowAnyAmount:
          description: Allow the user to enter any amount. If false, the user can
            only choose from the suggested amounts.
          example: true
          type: boolean
        amounts:
          description: Amount options of the checkout
          example: []
          items:
            description: Amount options of the checkout
            type: number
          type: array
        currency:
          description: Currency of the checkout
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
      required:
      - allowAnyAmount
      - amounts
      - currency
      type: object
    CryptoAcquiringSupportedCryptoCurrencies:
      description: Crypto-acquiring supported crypto currencies
      properties:
        active:
          description: Crypto currencies that can be used in project
          items:
            description: Blockchain crypto currency
            enum:
            - BITCOIN_BTC
            - ETHEREUM_ETH
            - ETHEREUM_USDT
            - ETHEREUM_USDC
            - ETHEREUM_PEPE
            - TRON_TRX
            - TRON_USDT
            - POLYGON_MATIC
            - POLYGON_USDT
            - POLYGON_USDC
            - OPTIMISM_ETH
            - OPTIMISM_USDT
            - OPTIMISM_USDC
            - ARBITRUM_ETH
            - ARBITRUM_USDT
            - ARBITRUM_USDC
            - BSC_BNB
            - BSC_USDT
            - BSC_USDC
            - SOLANA_SOL
            - SOLANA_USDT
            - SOLANA_USDC
            - BASE_ETH
            - BASE_USDC
            - PLASMA_XPL
            - PLASMA_USDT
            type: string
          type: array
          uniqueItems: true
      required:
      - active
      type: object
    CryptoCurrencyDetails:
      description: Cryptocurrencies available for user to pay. With details
      example:
        BITCOIN_BTC:
          blockchain: BITCOIN
          currency: BTC
          decimals: 6
          isToken: true
          tokenStandard: ERC-20
      properties:
        blockchain:
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          type: string
        currency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          type: string
        decimals:
          format: int32
          type: integer
        isToken:
          type: boolean
        tokenStandard:
          enum:
          - ERC-20
          - TRC-20
          - SPL
          type: string
      required:
      - blockchain
      - currency
      - decimals
      - isToken
      type: object
    CryptoCurrencyOptions:
      description: Crypto currencies available to be enabled
      properties:
        options:
          additionalProperties:
            $ref: '#/components/schemas/WalletCryptoCurrencyDetailsEnriched'
          description: Map of crypto currencies with their details
          type: object
      required:
      - options
      type: object
    CryptoRecurringAuthorizationBalanceUser:
      description: Crypto-recurring authorization balance
      properties:
        approval:
          description: Approved balance to spend
          example: 0.3
          type: number
        balance:
          description: Wallet balance
          example: 0.5
          type: number
        blockchain:
          description: Wallet blockchain
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          example: ETHEREUM
          type: string
        cryptoCurrency:
          description: Blockchain recurring crypto currency
          enum:
          - ETHEREUM_USDT
          - ETHEREUM_USDC
          - ETHEREUM_PEPE
          - TRON_USDT
          - POLYGON_USDT
          - POLYGON_USDC
          - OPTIMISM_USDT
          - OPTIMISM_USDC
          - ARBITRUM_USDT
          - ARBITRUM_USDC
          - BSC_USDT
          - BSC_USDC
          - SOLANA_USDT
          - SOLANA_USDC
          - BASE_USDC
          example: ETHEREUM_USDT
          type: string
        currency:
          description: Crypto currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - SOL
          - XPL
          - USDT
          - USDC
          - PEPE
          example: USDT
          type: string
        transferable:
          description: Transferable amount. Min of balance and approval.
          example: 0.3
          type: number
        wallet:
          description: Authorization wallet
          example: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
          type: string
      required:
      - approval
      - balance
      - blockchain
      - cryptoCurrency
      - currency
      - transferable
      - wallet
      type: object
    CryptoRecurringAuthorizationUser:
      description: Crypto-recurring authorization
      properties:
        clientOrderId:
          description: Client supplied order ID. Should be unique for every request
            in scope of project. Maximum 256 symbols
          example: '1234567890'
          type: string
        cryptoCurrency:
          description: Blockchain recurring crypto currency
          enum:
          - ETHEREUM_USDT
          - ETHEREUM_USDC
          - ETHEREUM_PEPE
          - TRON_USDT
          - POLYGON_USDT
          - POLYGON_USDC
          - OPTIMISM_USDT
          - OPTIMISM_USDC
          - ARBITRUM_USDT
          - ARBITRUM_USDC
          - BSC_USDT
          - BSC_USDC
          - SOLANA_USDT
          - SOLANA_USDC
          - BASE_USDC
          example: ETHEREUM_ETH
          type: string
        id:
          description: Authorization ID
          example: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
          type: string
        initApprovalTx:
          description: Approval transaction hash
          example: c2544dd6e1c53529b877682127d16cff524f2867a57c5cc204e42eb2573e02e0
          type: string
        planId:
          description: Plan ID
          example: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
          type: string
        planName:
          description: Plan name
          example: Test plan
          type: string
        projectId:
          description: Crypto-recurring project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        status:
          description: Authorization status. One of GRANTED, REVOKED, REVOKED_BY_MERCHANT
          enum:
          - GRANTED
          - REVOKED
          - REVOKED_BY_MERCHANT
          example: GRANTED
          type: string
        subscriptionId:
          description: Subscription ID
          example: SUB-c42e310f-1d05-4790-9293-27edbbecb3d9
          type: string
        wallet:
          description: Authorization wallet
          example: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
          type: string
      required:
      - cryptoCurrency
      - id
      - initApprovalTx
      - planId
      - projectId
      - status
      - wallet
      type: object
    CryptoRecurringAuthorizationWeb3:
      properties:
        clientOrderId:
          type: string
        cryptoCurrency:
          description: Blockchain recurring crypto currency
          enum:
          - ETHEREUM_USDT
          - ETHEREUM_USDC
          - ETHEREUM_PEPE
          - TRON_USDT
          - POLYGON_USDT
          - POLYGON_USDC
          - OPTIMISM_USDT
          - OPTIMISM_USDC
          - ARBITRUM_USDT
          - ARBITRUM_USDC
          - BSC_USDT
          - BSC_USDC
          - SOLANA_USDT
          - SOLANA_USDC
          - BASE_USDC
          type: string
        id:
          type: string
        planId:
          type: string
        status:
          enum:
          - GRANTED
          - REVOKED
          - REVOKED_BY_MERCHANT
          type: string
        subscriptionId:
          type: string
        wallet:
          type: string
      required:
      - cryptoCurrency
      - id
      - planId
      - status
      - wallet
      type: object
    CryptoRecurringCreateInvoiceRequest:
      description: Crypto-recurring invoice
      properties:
        amount:
          description: Invoice amount.
          example: 0.5
          type: number
        authorizationId:
          description: Authorization ID
          example: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
          type: string
        clientOrderId:
          description: Client supplied order ID. Should be unique for every request
            in scope of project. Maximum 256 symbols
          example: '1234567890'
          maxLength: 256
          minLength: 0
          pattern: ^\S*$
          type: string
        currency:
          description: Invoice currency.
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: ETH
          type: string
        expiredAt:
          description: An optional expiration date for the invoice. Must be paid by
            this date or the invoice will expire.
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        failFast:
          description: If true, only one payment intent will be created for the invoice.
          type: boolean
      required:
      - amount
      - authorizationId
      - currency
      - failFast
      type: object
    CryptoRecurringExchangeRule:
      description: Crypto-recurring exchange rule
      properties:
        createdAt:
          description: Date and time of exchange rule creation
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        fromCurrency:
          description: Crypto currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - SOL
          - XPL
          - USDT
          - USDC
          - PEPE
          example: USDT
          type: string
        id:
          description: Exchange rule ID
          example: CRER-5e80bb81-f331-4a98-a022-b48b823750f2
          type: string
        toCurrency:
          description: Automatically exchange to currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
      required:
      - createdAt
      - fromCurrency
      - id
      - toCurrency
      type: object
    CryptoRecurringExchangeRuleWithProjectInfo:
      description: Crypto-recurring exchange rule with project info
      properties:
        createdAt:
          description: Date and time of exchange rule creation
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        cryptoRecurringProjectId:
          description: Crypto-recurring project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        cryptoRecurringProjectName:
          description: Crypto-recurring project name
          example: My crypto-recurring project
          type: string
        fromCurrency:
          description: Currency of incoming transaction
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USDT
          type: string
        id:
          description: Exchange rule ID
          example: CRER-5e80bb81-f331-4a98-a022-b48b823750f2
          type: string
        toCurrency:
          description: Automatically exchange to currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
      required:
      - createdAt
      - cryptoRecurringProjectId
      - cryptoRecurringProjectName
      - fromCurrency
      - id
      - toCurrency
      type: object
    CryptoRecurringInvoiceUser:
      description: Crypto-recurring invoice
      properties:
        amount:
          description: Invoice amount.
          example: 0.5
          type: number
        authorizationId:
          description: Authorization ID
          example: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
          type: string
        authorizationWallet:
          description: Authorization wallet
          example: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
          type: string
        clientOrderId:
          description: Client supplied order ID. Should be unique for every request
            in scope of project. Maximum 256 symbols
          example: '1234567890'
          type: string
        createdAt:
          description: Creation date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        currency:
          description: Invoice currency.
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: ETH
          type: string
        expiredAt:
          description: Expiration date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        failFast:
          description: Fail fast
          type: boolean
        id:
          description: Invoice id
          example: INV-d43aca53-8e55-4721-b64f-af71af812aa6
          type: string
        modifiedAt:
          description: Last modification date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        paymentIntents:
          description: Payment intents for invoice
          items:
            $ref: '#/components/schemas/CryptoRecurringPaymentIntentUser'
          type: array
        planId:
          description: Plan ID
          example: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
          type: string
        planName:
          description: Plan name
          example: Test plan
          type: string
        projectId:
          description: Crypto-recurring project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        reason:
          description: Invoice fail reason.
          enum:
          - INTERNAL
          - INSUFFICIENT_BALANCE
          - INSUFFICIENT_ALLOWANCE
          - PAYMENT_FAILED
          example: INSUFFICIENT_BALANCE
          type: string
        status:
          description: Invoice status. One of NEW, PENDING, SUCCESS, FAILED
          enum:
          - NEW
          - PENDING
          - SUCCESS
          - FAILED
          example: SUCCESS
          type: string
      required:
      - amount
      - authorizationId
      - createdAt
      - currency
      - expiredAt
      - failFast
      - id
      - modifiedAt
      - paymentIntents
      - planId
      - planName
      - projectId
      - status
      type: object
    CryptoRecurringPaymentIntentUser:
      description: Crypto-recurring intent
      properties:
        amount:
          description: Intent amount.
          example: 1500
          type: number
        createdAt:
          description: Creation date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        currency:
          description: Blockchain recurring crypto currency
          enum:
          - ETHEREUM_USDT
          - ETHEREUM_USDC
          - ETHEREUM_PEPE
          - TRON_USDT
          - POLYGON_USDT
          - POLYGON_USDC
          - OPTIMISM_USDT
          - OPTIMISM_USDC
          - ARBITRUM_USDT
          - ARBITRUM_USDC
          - BSC_USDT
          - BSC_USDC
          - SOLANA_USDT
          - SOLANA_USDC
          - BASE_USDC
          example: USDT
          type: string
        id:
          description: Intent id
          example: INTENT-b870f5f4-417c-466a-b630-f6b81724b951
          type: string
        invoiceId:
          description: Invoice id
          example: INV-d43aca53-8e55-4721-b64f-af71af812aa6
          type: string
        modifiedAt:
          description: Last modification date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        pair:
          description: Convert pair
          example: ETHUSDT
          type: string
        payoutId:
          description: Internal transaction id
          example: BPAY-62ddf64b-2474-4379-8c83-566ba52dfc44
          type: string
        planId:
          description: Plan ID
          example: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
          type: string
        planName:
          description: Plan name
          example: Test plan
          type: string
        projectId:
          description: Crypto-recurring project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        rate:
          description: Convert rate
          example: 30000
          type: number
        reason:
          description: Payment intent fail reason.
          enum:
          - INTERNAL
          - INSUFFICIENT_BALANCE
          - INSUFFICIENT_ALLOWANCE
          - PAYMENT_FAILED
          example: INSUFFICIENT_BALANCE
          type: string
        status:
          description: Intent status. One of NEW, PENDING, SUCCESS, FAILED
          enum:
          - NEW
          - PENDING
          - SUCCESS
          - FAILED
          example: SUCCESS
          type: string
        transaction:
          $ref: '#/components/schemas/BlockchainPayoutUser'
      required:
      - amount
      - createdAt
      - currency
      - id
      - invoiceId
      - modifiedAt
      - planId
      - planName
      - projectId
      - status
      type: object
    CryptoRecurringPlanForm:
      description: Crypto-recurring plan form
      properties:
        amount:
          description: Invoice amount.
          example: 0.5
          type: number
        currency:
          description: Invoice currency.
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: ETH
          type: string
        gracePeriodMinutes:
          description: Plan write-off grace period. The length of time a subscription
            remains active if it is not paid on time.
          example: 1440
          format: int32
          type: integer
        name:
          description: Plan name
          example: Test plan
          maxLength: 100
          minLength: 0
          type: string
        period:
          description: Plan write-off period. One of HOURLY, DAILY, WEEKLY, MONTHLY,
            YEARLY
          enum:
          - HOURLY
          - DAILY
          - WEEKLY
          - MONTHLY
          - YEARLY
          example: MONTHLY
          type: string
        periodMultiplier:
          description: Plan write-off period multiplier. Multiply period by this value.
          example: 5
          format: int32
          type: integer
        returnUrl:
          description: Return URL for 'Back to merchant site' button on the recurring
            widget.
          example: https://merchant.com/subscriptions
          maxLength: 2000
          minLength: 0
          type: string
        type:
          description: Plan type. One of SUBSCRIPTION, ON_DEMAND
          enum:
          - SUBSCRIPTION
          - ON_DEMAND
          example: SUBSCRIPTION
          type: string
      required:
      - name
      - type
      type: object
    CryptoRecurringPlanUpdateForm:
      description: Crypto-recurring plan update form
      properties:
        gracePeriodMinutes:
          description: Plan write-off grace period. The length of time a subscription
            remains active if it is not paid on time.
          example: 1440
          format: int32
          type: integer
        returnUrl:
          description: Return URL for 'Back to merchant site' button on the recurring
            widget.
          example: https://merchant.com/subscriptions
          maxLength: 2000
          minLength: 0
          type: string
        status:
          description: Plan status. One of ACTIVE, ON_HOLD, CANCELLED
          enum:
          - ACTIVE
          - ON_HOLD
          - CANCELLED
          example: ACTIVE
          type: string
      type: object
    CryptoRecurringPlanUser:
      description: Crypto-recurring plan
      properties:
        amount:
          description: Invoice amount.
          example: 0.5
          type: number
        createdAt:
          description: Creation date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        currency:
          description: Invoice currency.
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USDT
          type: string
        gracePeriodMinutes:
          description: Plan write-off grace period. The length of time a subscription
            remains active if it is not paid on time.
          example: 1440
          format: int32
          type: integer
        id:
          description: Plan ID
          example: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
          type: string
        modifiedAt:
          description: Last modification date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        name:
          description: Plan name
          example: Test plan
          type: string
        pageUrl:
          description: Plan url.
          example: https://example.com/plans/PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
          type: string
        period:
          description: Plan write-off period. One of HOURLY, DAILY, WEEKLY, MONTHLY,
            YEARLY
          enum:
          - HOURLY
          - DAILY
          - WEEKLY
          - MONTHLY
          - YEARLY
          example: MONTHLY
          type: string
        periodMultiplier:
          description: Plan write-off period multiplier. Multiply period by this value.
          example: 5
          format: int32
          type: integer
        projectId:
          description: Crypto-recurring project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        returnUrl:
          description: Return URL for 'Back to merchant site' button on the recurring
            widget.
          example: https://merchant.com/subscriptions
          type: string
        status:
          description: Plan status. One of ACTIVE, ON_HOLD, CANCELLED
          enum:
          - ACTIVE
          - ON_HOLD
          - CANCELLED
          example: ACTIVE
          type: string
        type:
          description: Plan type. One of SUBSCRIPTION, ON_DEMAND
          enum:
          - SUBSCRIPTION
          - ON_DEMAND
          example: SUBSCRIPTION
          type: string
      required:
      - createdAt
      - id
      - modifiedAt
      - name
      - pageUrl
      - projectId
      - status
      - type
      type: object
    CryptoRecurringProjectForm:
      description: Crypto-recurring project form
      properties:
        currencies:
          description: Supported currencies
          example: '[ETHEREUM_USDT, POLYGON_USDT, BSC_USDT, ETHEREUM_USDC, POLYGON_USDC,
            BSC_USDC]'
          items:
            description: Blockchain recurring crypto currency
            enum:
            - ETHEREUM_USDT
            - ETHEREUM_USDC
            - ETHEREUM_PEPE
            - TRON_USDT
            - POLYGON_USDT
            - POLYGON_USDC
            - OPTIMISM_USDT
            - OPTIMISM_USDC
            - ARBITRUM_USDT
            - ARBITRUM_USDC
            - BSC_USDT
            - BSC_USDC
            - SOLANA_USDT
            - SOLANA_USDC
            - BASE_USDC
            example: '[ETHEREUM_USDT, POLYGON_USDT, BSC_USDT, ETHEREUM_USDC, POLYGON_USDC,
              BSC_USDC]'
            type: string
          type: array
        name:
          description: Project name
          example: Test project
          maxLength: 100
          minLength: 0
          type: string
      required:
      - currencies
      - name
      type: object
    CryptoRecurringProjectUser:
      description: Crypto-recurring project
      properties:
        createdAt:
          description: Creation date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        currencies:
          description: Supported currencies
          example: '[ETHEREUM_USDT, POLYGON_USDT, BSC_USDT, ETHEREUM_USDC, POLYGON_USDC,
            BSC_USDC]'
          items:
            description: Blockchain recurring crypto currency
            enum:
            - ETHEREUM_USDT
            - ETHEREUM_USDC
            - ETHEREUM_PEPE
            - TRON_USDT
            - POLYGON_USDT
            - POLYGON_USDC
            - OPTIMISM_USDT
            - OPTIMISM_USDC
            - ARBITRUM_USDT
            - ARBITRUM_USDC
            - BSC_USDT
            - BSC_USDC
            - SOLANA_USDT
            - SOLANA_USDC
            - BASE_USDC
            example: '[ETHEREUM_USDT, POLYGON_USDT, BSC_USDT, ETHEREUM_USDC, POLYGON_USDC,
              BSC_USDC]'
            type: string
          type: array
        id:
          description: Crypto-recurring project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        modifiedAt:
          description: Last modification date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        name:
          description: Project name
          example: Test project
          type: string
      required:
      - createdAt
      - currencies
      - id
      - modifiedAt
      - name
      type: object
    CryptoRecurringProjectWebhookSetting:
      description: Crypto-recurring webhook setting
      properties:
        createdAt:
          description: Date and time of webhook setting creation
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        id:
          description: Webhook ID
          example: CRWS-16f742bb-e92b-42ea-8ec3-5928eaddddbb
          type: string
        lastUpdatedAt:
          description: Date and time of webhook setting last update
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        projectId:
          description: Project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        secret:
          description: Webhook secret
          example: Secret phrase
          type: string
        type:
          description: Webhook type. One of PAYMENT, CRYPTO_ACQUIRING_REQUEST, CRYPTO_ACQUIRING_CHECKOUT,
            CRYPTO_RECURRING_AUTHORIZATION, CRYPTO_RECURRING_INVOICE, CRYPTO_RECURRING_SUBSCRIPTION
          enum:
          - PAYMENT
          - CRYPTO_ACQUIRING_REQUEST
          - CRYPTO_ACQUIRING_CHECKOUT
          - CRYPTO_ACQUIRING_STATIC_ADDRESS_PAYMENT
          - CRYPTO_RECURRING_AUTHORIZATION
          - CRYPTO_RECURRING_INVOICE
          - CRYPTO_RECURRING_SUBSCRIPTION
          - SUBACCOUNT_KYC
          - MASS_PAYOUT_BATCH
          - MASS_PAYOUT_PAYMENT
          - ON_RAMP_CHECKOUT
          example: CRYPTO_ACQUIRING_REQUEST
          type: string
        url:
          description: The URL to which the webhook is sent
          example: https://example.com/return
          type: string
      required:
      - id
      - projectId
      - type
      - url
      type: object
    CryptoRecurringProjectWebhookSettingForm:
      description: Crypto-recurring callback form
      properties:
        secret:
          description: Callback secret
          example: Secret phrase
          type: string
        type:
          description: Callback type. One of PAYMENT, CRYPTO_ACQUIRING_REQUEST, CRYPTO_ACQUIRING_CHECKOUT,
            CRYPTO_RECURRING_AUTHORIZATION, CRYPTO_RECURRING_INVOICE, CRYPTO_RECURRING_SUBSCRIPTION
          enum:
          - PAYMENT
          - CRYPTO_ACQUIRING_REQUEST
          - CRYPTO_ACQUIRING_CHECKOUT
          - CRYPTO_ACQUIRING_STATIC_ADDRESS_PAYMENT
          - CRYPTO_RECURRING_AUTHORIZATION
          - CRYPTO_RECURRING_INVOICE
          - CRYPTO_RECURRING_SUBSCRIPTION
          - SUBACCOUNT_KYC
          - MASS_PAYOUT_BATCH
          - MASS_PAYOUT_PAYMENT
          - ON_RAMP_CHECKOUT
          example: CRYPTO_ACQUIRING_REQUEST
          type: string
        url:
          description: The URL to which the callback is sent. Should be valid url
          example: https://example.com/return
          type: string
      required:
      - type
      - url
      type: object
    CryptoRecurringSubscriptionUser:
      description: Crypto-recurring subscription
      properties:
        activeInvoice:
          $ref: '#/components/schemas/CryptoRecurringInvoiceUser'
        authorizationIds:
          description: Subscription current active invoice
          example: '[AGR-55502ab7-d322-465e-b856-51f0ca077dd2, AGR-45502ab7-d322-465e-b856-51f0ca077dd1]'
          items:
            description: Subscription current active invoice
            example: '[AGR-55502ab7-d322-465e-b856-51f0ca077dd2, AGR-45502ab7-d322-465e-b856-51f0ca077dd1]'
            type: string
          type: array
        authorizationWallet:
          description: The wallet to which the subscription is linked
          example: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
          type: string
        clientOrderId:
          description: Client supplied order ID. Should be unique for every request
            in scope of project. Maximum 256 symbols
          example: '1234567890'
          type: string
        createdAt:
          description: Subscription creation date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        endAt:
          description: Subscription end date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        id:
          description: Subscription ID
          example: SUB-c42e310f-1d05-4790-9293-27edbbecb3d9
          type: string
        modifiedAt:
          description: Subscription last updated date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        nextWriteOffAt:
          description: Subscription next write off date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        planId:
          description: Plan ID
          example: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
          type: string
        planName:
          description: Plan name
          example: Test plan
          type: string
        projectId:
          description: Crypto-recurring project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        startedAt:
          description: Subscription start date
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        status:
          description: Subscription status. One of INITIATED, ACTIVE, CANCELLED, EXPIRED
          enum:
          - INITIATED
          - ACTIVE
          - CANCELLED
          - EXPIRED
          example: ACTIVE
          type: string
        subStatus:
          description: Subscription sub-status. One of GRACE_PERIOD, CANCELLED_BY_USER,
            CANCELLED_BY_MERCHANT, CANCELLED_PLAN, RENEWING, UNPAID
          enum:
          - GRACE_PERIOD
          - CANCELLED_BY_USER
          - CANCELLED_BY_MERCHANT
          - CANCELLED_PLAN
          - RENEWING
          - UNPAID
          example: GRACE_PERIOD
          type: string
        userId:
          description: Crypto-recurring project ID
          example: OWN-89f46f52-453d-4441-9652-1812c61b235c
          type: string
      required:
      - createdAt
      - id
      - modifiedAt
      - planId
      - planName
      - projectId
      - status
      - userId
      type: object
    CryptoRecurringSupportedPlanCurrenciesUser:
      description: Crypto-recurring supported plan currencies
      properties:
        active:
          description: Currencies that can be used in plan
          example: '[USDT,USDC,ETH,USD,EUR,BNB,MATIC]'
          items:
            description: Currencies that can be used in plan
            enum:
            - BTC
            - ETH
            - TRX
            - BNB
            - MATIC
            - XPL
            - USDT
            - USDC
            - SOL
            - PEPE
            - EUR
            - USD
            - UAH
            - KZT
            - IDR
            - TRY
            - AZN
            - GBP
            - INR
            example: '[USDT,USDC,ETH,USD,EUR,BNB,MATIC]'
            type: string
          type: array
      required:
      - active
      type: object
    CurrencyAmount:
      description: Currency amount
      example:
        ETHEREUM_ETH:
          amount: 10
          currency: EUR
      properties:
        amount:
          description: Amount
          example: 10.5
          type: number
        currency:
          description: Currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USDT
          type: string
      required:
      - amount
      - currency
      type: object
    CurrencyAmountDetailedWithNetworkFee:
      description: Currency amount with detailed fee breakdown and optional network
        fee
      properties:
        amount:
          description: Total fees
          example: 2
          type: number
        currency:
          description: Currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USDT
          type: string
        fixedFee:
          description: Fixed fee component
          example: 0.3
          type: number
        networkFee:
          description: Blockchain network fee, if applicable
          example: 0.0005
          type: number
        percentFee:
          description: Percentage fee component (value, not %)
          example: 1.7
          type: number
      required:
      - amount
      - currency
      - fixedFee
      - percentFee
      type: object
    CurrencyBalance:
      description: Currency balance
      properties:
        balance:
          example: 0.1
          type: number
        convertedTo:
          additionalProperties:
            $ref: '#/components/schemas/CurrencyBalanceConverted'
          description: Balance converted to requested currency
          type: object
        currency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: BTC
          type: string
      required:
      - balance
      - convertedTo
      - currency
      type: object
    CurrencyBalanceConverted:
      description: Converted currency balance
      properties:
        balance:
          example: 300.0
          type: number
        currency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
        success:
          example: true
          type: boolean
      required:
      - currency
      - success
      type: object
    CurrencyOptions:
      description: Currencies available to be used
      properties:
        cryptoOptions:
          additionalProperties:
            $ref: '#/components/schemas/OnRampWalletCryptoCurrencyDetails'
          description: Map of crypto currencies with their details
          type: object
        fiatOptions:
          additionalProperties:
            $ref: '#/components/schemas/WalletCurrencyDetailsEnriched'
          description: Map of fiat currencies with their details
          type: object
      required:
      - cryptoOptions
      - fiatOptions
      type: object
    CurrencyPairRate:
      description: Currency pair rate
      properties:
        ask:
          description: Ask price
          example: 30000.0
          type: number
        baseAsset:
          description: Base asset
          example: BTC
          type: string
        baseScale:
          description: Base asset scale
          example: 8
          format: int32
          type: integer
        bid:
          description: Bid price
          example: 29950.0
          type: number
        pair:
          description: Symbol pair
          example: BTCUSD
          type: string
        quoteAsset:
          description: Quote asset
          example: USD
          type: string
        quoteScale:
          description: Quote asset scale
          example: 2
          format: int32
          type: integer
        scale:
          description: Scale of price
          example: 6
          format: int32
          type: integer
      required:
      - ask
      - baseAsset
      - bid
      - pair
      - quoteAsset
      - scale
      type: object
    Domain:
      properties:
        createdAt:
          description: Date and time of domain creation
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        id:
          description: Id of domain
          example: DMN-d59f4987-d5dc-47a4-8459-19656f71ada7
          type: string
        name:
          description: Name of domain
          example: mydomain.com
          type: string
        status:
          description: Status of domain
          enum:
          - APPROVED
          - PENDING
          - REJECTED
          example: APPROVED
          type: string
        userId:
          description: Id of user owning the domain
          example: OWN-89f46f52-453d-4441-9652-1812c61b235c
          type: string
      required:
      - createdAt
      - id
      - name
      - status
      - userId
      type: object
    DomainForm:
      description: Domain form
      properties:
        name:
          description: Name of domain (without https:// prefix)
          example: mydomain.com
          type: string
      required:
      - name
      type: object
    ExchangeLimits:
      description: Exchange limits
      properties:
        maxLimit:
          description: Max limit
          example: 10.0
          type: number
        minLimit:
          description: Min limit
          example: 0.1
          type: number
        symbolPair:
          description: Symbol pair
          example: BTCUSD
          type: string
      required:
      - maxLimit
      - minLimit
      - symbolPair
      type: object
    ExchangeRequest:
      description: Exchange request
      properties:
        amount:
          description: Amount to exchange
          example: 0.1
          type: number
        clientOrderId:
          description: Client supplied order ID. Should be unique for every request
            in scope of project
          example: '1234567890'
          maxLength: 256
          minLength: 0
          type: string
        side:
          description: Side of exchange
          enum:
          - BUY
          - SELL
          example: BUY
          type: string
        symbolPair:
          description: Symbol pair
          example: BTCUSD
          maxLength: 32
          minLength: 0
          type: string
      required:
      - amount
      - side
      - symbolPair
      type: object
    KycDetails:
      properties:
        applicantType:
          enum:
          - individual
          - company
          type: string
        createdAt:
          format: date-time
          type: string
        id:
          type: string
        moderationComment:
          type: string
        reviewAnswer:
          type: string
        reviewRejectType:
          type: string
        reviewStatus:
          enum:
          - init
          - pending
          - prechecked
          - queued
          - completed
          - onHold
          type: string
      required:
      - createdAt
      type: object
    MerchantShareUserData:
      description: Merchant share user data
      properties:
        email:
          description: User email in merchant system
          example: user@example.com
          type: string
        shareToken:
          description: Share token for user data sharing
          example: share_token_abc123
          type: string
      required:
      - email
      type: object
    OnRampCheckout:
      description: On-ramp checkout details
      properties:
        clientOrderId:
          description: Client supplied order ID
          example: '1234567890'
          type: string
        createdAt:
          description: Checkout creation date
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        deposit:
          $ref: '#/components/schemas/CheckoutDeposit'
        endUserId:
          description: End user ID
          example: OWN-12345678-1234-1234-1234-123456789012
          type: string
        exchange:
          $ref: '#/components/schemas/CheckoutExchange'
        expiresAt:
          description: Checkout expiration date
          example: '2023-01-02T00:00:00Z'
          format: date-time
          type: string
        id:
          description: Checkout ID
          example: ORCO-979d6f5d-f26b-4943-bc4f-eabc65787c6c
          type: string
        merchantId:
          description: Merchant ID
          example: MCT-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        methodSubKey:
          description: VISA or MC.
          enum:
          - VISA
          - MC
          example: MC
          type: string
        modifiedAt:
          description: Checkout last modified date
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        name:
          description: Checkout name
          example: My checkout
          type: string
        onRampUrl:
          description: On-ramp URL for payment
          example: https://onramp.example.com/checkout/ORCO-979d6f5d-f26b-4943-bc4f-eabc65787c6c
          type: string
        orderId:
          description: Order ID
          example: ORD-ec9735a4-2098-479d-9f00-b142db4adfff
          type: string
        platformFee:
          description: Platform fee
          example: 0.5
          type: number
        projectId:
          description: On-ramp project ID
          example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        projectName:
          description: On-ramp project name
          example: My on-ramp project
          type: string
        returnUrl:
          description: Return URL after checkout complete
          example: https://merchant.com/orders/abcde/success
          type: string
        sourceAmount:
          description: Source amount in fiat
          example: 100.0
          type: number
        sourceCurrency:
          description: Fiat currency
          enum:
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
        status:
          description: Checkout status
          enum:
          - NEW
          - PENDING
          - FAILED
          - EXPIRED
          - SUCCESS
          example: PENDING
          type: string
        targetAmount:
          description: Target amount in crypto
          example: 99.5
          type: number
        targetCurrency:
          description: Crypto currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - SOL
          - XPL
          - USDT
          - USDC
          - PEPE
          example: USDC
          type: string
        transfer:
          $ref: '#/components/schemas/CheckoutTransfer'
        type:
          description: Checkout type
          enum:
          - NO_PRICE
          - FIXED_PRICE
          example: FIXED_PRICE
          type: string
        userId:
          description: User ID
          example: OWN-89f46f52-453d-4441-9652-1812c61b235c
          type: string
      required:
      - createdAt
      - expiresAt
      - id
      - merchantId
      - projectId
      - projectName
      - status
      - type
      - userId
      type: object
    OnRampCheckoutFixedAmountData:
      description: On-ramp checkout fixed amount data
      properties:
        amount:
          description: Amount of the checkout
          example: 100
          maximum: 10000000000
          type: number
        currency:
          description: Currency of the checkout
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
      required:
      - amount
      - currency
      type: object
    OnRampCheckoutMerchantUserForm:
      description: On-ramp checkout request
      properties:
        clientOrderId:
          description: Client supplied order ID. Should be unique for every request
            in scope of project
          example: '1234567890'
          maxLength: 128
          minLength: 0
          type: string
        expiresAt:
          description: Checkout expires at date
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        fixedAmount:
          $ref: '#/components/schemas/OnRampCheckoutFixedAmountData'
        merchantShareUserData:
          $ref: '#/components/schemas/MerchantShareUserData'
        methodSubKey:
          description: VISA or MC
          enum:
          - VISA
          - MC
          example: MC
          type: string
        name:
          description: Checkout name
          example: My shop checkout
          maxLength: 32
          minLength: 0
          type: string
        returnUrl:
          description: If redirect flow is used, this is the URL to which user will
            be directed after payment. Maximum 512 symbols.
          example: https://example.com/return?clientOrderId=1234567890
          type: string
        type:
          description: Checkout type
          enum:
          - NO_PRICE
          - FIXED_PRICE
          example: FIXED_PRICE
          type: string
      required:
      - methodSubKey
      - type
      type: object
    OnRampProject:
      description: On-ramp project
      properties:
        archived:
          description: Is project archived. Cannot be updated. Ask support to unarchive
            project.
          example: true
          type: boolean
        autoRedirectSecondsOnFail:
          description: Perform automatic redirect after seconds on fail. If null then
            no redirect
          example: 5
          format: int32
          type: integer
        autoRedirectSecondsOnSuccess:
          description: Perform automatic redirect after seconds on success. If null
            then no redirect
          example: 5
          format: int32
          type: integer
        checkDomain:
          description: Is project domain check enabled
          example: true
          type: boolean
        createdAt:
          description: Date and time of project creation
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        currencyOptions:
          $ref: '#/components/schemas/CurrencyOptions'
        domain:
          description: Domain associated with the project
          example: mydomain.com
          type: string
        domainId:
          description: ID of approved domain associated with the project
          example: DMN-367e7d92-8908-4624-90cd-e3bea8290861
          type: string
        enabled:
          description: Is project enabled
          example: true
          type: boolean
        id:
          description: ID of on-ramp project
          example: ORP-46dfa46b-6338-4c33-8e1d-cf7062053f22
          type: string
        modifiedAt:
          description: Date and time of project modification
          example: '2023-01-01T00:00:00Z'
          format: date-time
          type: string
        name:
          description: Name of on-ramp project
          example: My project
          type: string
        userId:
          description: ID of user owning the project
          example: OWN-89f46f52-453d-4441-9652-1812c61b235c
          type: string
      required:
      - archived
      - checkDomain
      - createdAt
      - currencyOptions
      - enabled
      - id
      - modifiedAt
      - name
      - userId
      type: object
    OnRampProjectForm:
      description: On-ramp project form
      properties:
        autoRedirectSecondsOnFail:
          description: Perform automatic redirect after seconds on fail. If null then
            no redirect
          example: 5
          format: int32
          maximum: 120
          type: integer
        autoRedirectSecondsOnSuccess:
          description: Perform automatic redirect after seconds on success. If null
            then no redirect
          example: 5
          format: int32
          maximum: 120
          type: integer
        domainId:
          description: ID of approved domain associated with the project
          example: DMN-367e7d92-8908-4624-90cd-e3bea8290861
          type: string
        enabled:
          default: true
          description: Is project enabled
          example: true
          type: boolean
        name:
          description: Name of on-ramp project
          example: My project
          maxLength: 100
          minLength: 0
          type: string
      required:
      - name
      type: object
    OnRampWalletCryptoCurrencyDetails:
      description: Map of crypto currencies with their details
      properties:
        address:
          type: string
        blockchain:
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          type: string
        currency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          type: string
        exchangeOptions:
          items:
            description: Fiat currency
            enum:
            - EUR
            - USD
            - UAH
            - KZT
            - IDR
            - TRY
            - AZN
            - GBP
            - INR
            type: string
          type: array
          uniqueItems: true
        limitsAndFees:
          $ref: '#/components/schemas/OptionsWithLimitsAndFees'
      required:
      - blockchain
      - currency
      - exchangeOptions
      type: object
    OptionsWithLimitsAndFees:
      properties:
        currency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          type: string
        fixedPlatformFee:
          type: number
        includeNetworkFee:
          type: boolean
        maxLimit:
          type: number
        minLimit:
          type: number
        minPlatformFee:
          $ref: '#/components/schemas/CurrencyAmount'
        percentPlatformFee:
          type: number
        scale:
          format: int32
          type: integer
        termsLink:
          type: string
      required:
      - currency
      - fixedPlatformFee
      - includeNetworkFee
      - maxLimit
      - minLimit
      - percentPlatformFee
      - scale
      type: object
    Organisation:
      properties:
        adminUserId:
          type: string
        createdAt:
          format: date-time
          type: string
        id:
          type: string
        modifiedAt:
          format: date-time
          type: string
        name:
          type: string
        ownerUserId:
          type: string
        usersCount:
          format: int32
          type: integer
      required:
      - adminUserId
      - createdAt
      - id
      - name
      - ownerUserId
      type: object
    OrganisationRole:
      properties:
        createdAt:
          format: date-time
          type: string
        id:
          type: string
        modifiedAt:
          format: date-time
          type: string
        name:
          type: string
        organisationId:
          type: string
        owner:
          type: boolean
        permissions:
          items:
            description: Organisation permission
            enum:
            - BALANCE
            - HISTORY
            - PAYIN
            - PAYOUT
            - TRANSFER
            - EXCHANGE
            - WHITELIST_READ
            - WHITELIST_MANAGE
            - ORGANISATION_USER_READ
            - ORGANISATION_USER_MANAGE
            - ORGANISATION_ROLE_READ
            - ORGANISATION_ROLE_MANAGE
            - ACQUIRING_READ
            - ACQUIRING_MANAGE
            - ACQUIRING_REFUND
            - RECURRING_READ
            - RECURRING_MANAGE
            - MASS_PAYOUT_READ
            - MASS_PAYOUT_MANAGE
            - ONRAMP_READ
            - ONRAMP_MANAGE
            type: string
          type: array
          uniqueItems: true
      required:
      - createdAt
      - id
      - name
      - organisationId
      - owner
      - permissions
      type: object
    OrganisationUserForm:
      properties:
        organisationRoleId:
          type: string
      type: object
    PageCryptoAcquiringCheckout:
      properties:
        content:
          items:
            $ref: '#/components/schemas/CryptoAcquiringCheckout'
          type: array
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          format: int32
          type: integer
        sort:
          $ref: '#/components/schemas/SortObject'
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    PageCryptoAcquiringRefundUser:
      properties:
        content:
          items:
            $ref: '#/components/schemas/CryptoAcquiringRefundUser'
          type: array
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          format: int32
          type: integer
        sort:
          $ref: '#/components/schemas/SortObject'
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    PageCryptoAcquiringRequest:
      properties:
        content:
          items:
            $ref: '#/components/schemas/CryptoAcquiringRequest'
          type: array
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          format: int32
          type: integer
        sort:
          $ref: '#/components/schemas/SortObject'
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    PageCryptoAcquiringStaticAddressBundleUser:
      properties:
        content:
          items:
            $ref: '#/components/schemas/CryptoAcquiringStaticAddressBundleUser'
          type: array
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          format: int32
          type: integer
        sort:
          $ref: '#/components/schemas/SortObject'
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    PageCryptoAcquiringStaticUniversalAddressUser:
      properties:
        content:
          items:
            $ref: '#/components/schemas/CryptoAcquiringStaticUniversalAddressUser'
          type: array
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          format: int32
          type: integer
        sort:
          $ref: '#/components/schemas/SortObject'
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    PageCryptoRecurringAuthorizationUser:
      properties:
        content:
          items:
            $ref: '#/components/schemas/CryptoRecurringAuthorizationUser'
          type: array
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          format: int32
          type: integer
        sort:
          $ref: '#/components/schemas/SortObject'
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    PageCryptoRecurringInvoiceUser:
      properties:
        content:
          items:
            $ref: '#/components/schemas/CryptoRecurringInvoiceUser'
          type: array
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          format: int32
          type: integer
        sort:
          $ref: '#/components/schemas/SortObject'
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    PageCryptoRecurringPaymentIntentUser:
      properties:
        content:
          items:
            $ref: '#/components/schemas/CryptoRecurringPaymentIntentUser'
          type: array
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          format: int32
          type: integer
        sort:
          $ref: '#/components/schemas/SortObject'
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    PageCryptoRecurringSubscriptionUser:
      properties:
        content:
          items:
            $ref: '#/components/schemas/CryptoRecurringSubscriptionUser'
          type: array
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          format: int32
          type: integer
        sort:
          $ref: '#/components/schemas/SortObject'
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    PageOnRampCheckout:
      properties:
        content:
          items:
            $ref: '#/components/schemas/OnRampCheckout'
          type: array
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          format: int32
          type: integer
        sort:
          $ref: '#/components/schemas/SortObject'
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    PageOnRampProject:
      properties:
        content:
          items:
            $ref: '#/components/schemas/OnRampProject'
          type: array
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          format: int32
          type: integer
        sort:
          $ref: '#/components/schemas/SortObject'
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    PagePayment:
      properties:
        content:
          items:
            $ref: '#/components/schemas/Payment'
          type: array
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          format: int32
          type: integer
        sort:
          $ref: '#/components/schemas/SortObject'
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    PageUserDetails:
      properties:
        content:
          items:
            $ref: '#/components/schemas/UserDetails'
          type: array
        empty:
          type: boolean
        first:
          type: boolean
        last:
          type: boolean
        number:
          format: int32
          type: integer
        numberOfElements:
          format: int32
          type: integer
        pageable:
          $ref: '#/components/schemas/PageableObject'
        size:
          format: int32
          type: integer
        sort:
          $ref: '#/components/schemas/SortObject'
        totalElements:
          format: int64
          type: integer
        totalPages:
          format: int32
          type: integer
      type: object
    PageableObject:
      properties:
        offset:
          format: int64
          type: integer
        pageNumber:
          format: int32
          type: integer
        pageSize:
          format: int32
          type: integer
        paged:
          type: boolean
        sort:
          $ref: '#/components/schemas/SortObject'
        unpaged:
          type: boolean
      type: object
    PayinH2HRequest:
      description: Payin h2h create payment
      properties:
        amount:
          description: Amount of payment
          example: 0.1
          type: number
        clientOrderId:
          description: Client supplied order ID. Should be unique for every request
            in scope of project. Maximum 256 symbols
          example: '1234567890'
          type: string
        comment:
          description: User supplied comment
          example: User supplied comment
          type: string
        currency:
          description: Fiat currency
          enum:
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
        method:
          description: Payin payment method key
          enum:
          - CC_VISAMC
          - VA_QR
          - SWIFT
          - BINANCE_PAY
          - BYBIT_PAY
          example: CC_VISAMC
          type: string
        returnUrl:
          description: Return URL for payment form
          example: https://example.com/return
          type: string
      required:
      - amount
      type: object
    PayinRequest:
      description: Payin request
      properties:
        amount:
          description: Payin amount
          example: 100
          type: number
        cardNumber:
          description: Card number
          example: '1234567890123456'
          type: string
        channelCode:
          description: Channel code (for IDR only)
          enum:
          - CIMB
          - BNI
          - BCA
          - PERMATA
          example: PERMATA
          type: string
        clientOrderId:
          description: Client supplied order ID. Should be unique for every request
            in scope of project. Maximum 256 symbols
          example: '1234567890'
          type: string
        comment:
          description: User comment
          example: User comment
          maxLength: 300
          minLength: 0
          type: string
        currency:
          description: Fiat currency
          enum:
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
        dateOfBirth:
          description: Date of birth
          example: '1996-01-05'
          format: date
          type: string
        extractFeeFromBalance:
          description: Deduct fee from account balance or payment amount
          example: true
          type: boolean
        firstName:
          description: First name
          example: John
          type: string
        lastName:
          description: Last name
          example: Doe
          type: string
        method:
          description: Payin payment method key
          enum:
          - CC_VISAMC
          - VA_QR
          - SWIFT
          - BINANCE_PAY
          - BYBIT_PAY
          example: CC_VISAMC
          type: string
        paymentMethodId:
          type: string
        returnUrl:
          description: Return URL for payment form
          example: https://example.com/return
          type: string
      required:
      - amount
      type: object
    Payment:
      description: Payment
      properties:
        addressLink:
          description: Blockchain explorer target address link
          example: https://somebtcexplorer.com/address/tb1qtlekazvzsganfs47sxm0urkez2l2gqkkxszjn1
          type: string
        amount:
          description: Amount of payment
          example: 0.1
          type: number
        authorUserId:
          description: Payment author
          example: OWN-89f46f52-453d-4441-9652-1812c61b235c
          type: string
        balanceAfterPayment:
          description: User balance after payment
          example: 0.12345678
          type: number
        blockchain:
          description: Blockchain of payment
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          example: BITCOIN
          type: string
        callbackUrl:
          description: Callback url. Override callback.url user settings.
          example: https://example.com/callback/1234567890
          type: string
        clientOrderId:
          description: User supplied id
          example: '1234567890'
          type: string
        comment:
          description: User supplied comment
          example: User supplied comment
          type: string
        createdAt:
          description: Payment created at
          example: '2022-12-01T12:00:00Z'
          format: date-time
          type: string
        cryptoAcquiringBundleId:
          description: Crypto-acquiring static address bundle ID
          example: CASB-55807e80-c76f-4715-afb1-2b64fdc4618c
          type: string
        cryptoAcquiringCheckoutId:
          description: Crypto-acquiring checkout associated with a payment
          example: CCO-929d6f5d-f26b-3943-bc4f-eabc65781c6c
          type: string
        cryptoAcquiringDepositRequestId:
          description: Crypto-acquiring request associated with a payment
          example: CAPD-32807e80-c76f-4715-afb1-2b64fdc4618c
          type: string
        cryptoAcquiringProjectId:
          description: Crypto-acquiring project associated with a payment
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        cryptoAcquiringReferenceId:
          description: Crypto-acquiring static address reference ID
          example: '1234567890'
          type: string
        currency:
          description: Currency of payment
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: BTC
          type: string
        effectivePayoutAmount:
          description: Actual payout amount user received after fees (if applicable)
          example: 95.0
          type: number
        exchangeRate:
          description: Exchange rate at the time of fix
          example: 29327.1
          type: number
        externalId:
          description: External payment ID. In case of blockchain payment transaction
            hash is specified.
          example: c2544dd6e1c53529b877682127d16cff524f2867a57c5cc204e42eb2573e02e0
          type: string
        finalStatusAt:
          description: Payment finalized at
          example: '2022-12-01T12:05:00Z'
          format: date-time
          type: string
        fixedFeeAmount:
          description: Fixed fee amount (in payment currency)
          example: 1.5
          type: number
        id:
          description: Payment ID
          example: PMT-b2e2df8c-281a-4cc1-2bcf-61b803358f0e
          type: string
        initialAmount:
          description: Initial amount of trigger event. Eg. incoming crypto transaction
            amount or user request amount
          example: 0.1
          type: number
        isH2H:
          description: Payment is H2H
          example: true
          type: boolean
        method:
          description: Payment method type
          enum:
          - CC_VISAMC
          - CRYPTOCOIN
          - SWIFT
          - VA_QR
          - CASH
          - TRANSFER
          - EXCHANGE
          - AGENT
          - BINANCE_PAY
          - BYBIT_PAY
          example: CRYPTOCOIN
          type: string
        networkFeeAmount:
          description: Network fee amount paid by user (in payment currency)
          example: 0.5
          type: number
        onRampCheckoutId:
          description: On-ramp checkout ID
          example: ORCO-979d6f5d-f26b-4943-bc4f-eabc65787c6c
          type: string
        onRampProjectId:
          description: On-ramp project ID
          example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
        orderId:
          description: Order ID
          example: ORD-b40c5710-c419-432b-9814-bac03cb4fe1c
          type: string
        orderType:
          description: Type of order
          enum:
          - PAYIN
          - PAYOUT
          - EXCHANGE
          - TRANSFER
          example: PAYIN
          type: string
        payUrl:
          description: Payment page URL. For fiat acquiring
          example: https://hpp.inqud.com/PMT-b2e2df8c-281a-4cc1-2bcf-61b803358f0e
          type: string
        payinBankAccount:
          description: Target payment bank account number
          example: '123456789'
          type: string
        paymentLink:
          description: Blockchain explorer transaction link
          example: https://somebtcexplorer.com/tx/c2544dd6e2c53529b827682123d16cff524f2867a57c5cc204e42eb2573e02e0
          type: string
        payoutCardNumber:
          description: Target payment card number
          example: '123456123241234'
          type: string
        payoutCryptoAddress:
          description: Target payment crypto address
          example: tb1qtlekazvzsganfs47sxm0urkez2l2gqkkxszjn1
          type: string
        percentFeeAmount:
          description: Percent fee amount (in payment currency)
          example: 2.0
          type: number
        productType:
          description: Type of product
          enum:
          - PAYMENT
          - ACQUIRING
          - ACQUIRING_STATIC
          - RECURRING
          - MASS_PAYOUT
          - REFUND
          - BUY_CRYPTO
          - ON_RAMP
          - AGENT_PAYMENT
          example: ACQUIRING
          type: string
        reason:
          description: Payment fail reason
          example: Not enough funds
          type: string
        recipient:
          description: Payment recipient
          example: tb1qtlekazvzsganfs47sxm0urkez2l2gqkkxszjn1
          type: string
        requestedAmount:
          description: User requested payout amount
          example: 0.1
          type: number
        returnUrl:
          description: Return URL for payment form
          example: https://example.com/return
          type: string
        status:
          description: Status of payment
          enum:
          - NEW
          - SUCCESS
          - PARTIAL_SUCCESS
          - FAILED
          - EXPIRED
          - PENDING
          - CANCELLED
          - FROZEN
          example: SUCCESS
          type: string
        totalFeeAmount:
          description: Total fee amount (in payment currency)
          example: 4.0
          type: number
        transactionType:
          description: Type of transaction
          enum:
          - CREDIT
          - DEBIT
          example: DEBIT
          type: string
        transferFrom:
          description: Transfer from account ID
          example: OWN-89f46f52-453d-4441-9652-1812c61b235c
          type: string
        transferTo:
          description: Transfer to account ID
          example: OWN-69f46f53-153f-6341-265v-5512c61b235x
          type: string
        whitelistName:
          description: Name from whitelist, if present
          example: My Binance Wallet
          type: string
      required:
      - amount
      - createdAt
      - currency
      - id
      - method
      - orderId
      - orderType
      - status
      - transactionType
      type: object
    PaymentFeeDetailsUser:
      description: Payment fee details
      properties:
        extractFeeFromAmount:
          $ref: '#/components/schemas/UserPayUserReceive'
        extractFeeFromBalance:
          $ref: '#/components/schemas/UserPayUserReceive'
        feeCypher:
          description: Cypher value to lock blockchain network fee
          example: encrypted_string
          type: string
        feeCypherExpiresAt:
          description: Cypher expiration time in epoch milliseconds
          example: 1704067200000
          format: int64
          type: integer
        fixedFeeConversionRate:
          description: Exchange rate used for fixed fee currency conversion
          type: number
        fixedFeeCurrency:
          description: Original currency of the fixed fee before conversion
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          type: string
        totalFee:
          $ref: '#/components/schemas/CurrencyAmountDetailedWithNetworkFee'
        userPay:
          $ref: '#/components/schemas/CurrencyAmount'
        userReceive:
          $ref: '#/components/schemas/CurrencyAmount'
      required:
      - extractFeeFromAmount
      - extractFeeFromBalance
      - totalFee
      - userPay
      - userReceive
      type: object
    PaymentMethodWithLimits:
      description: Payment method
      properties:
        blockchain:
          description: Blockchain of payment method
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          example: BITCOIN
          type: string
        currency:
          description: Currency of payment method
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: BTC
          type: string
        fixed:
          description: Fixed fee
          example: 0.0001
          type: number
        fixedFeeCurrency:
          description: Fixed fee currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: EUR
          type: string
        hasNetworkFee:
          description: Has network fee
          example: true
          type: boolean
        id:
          description: Internal ID of payment method
          example: PMD-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
        maxLimit:
          description: Max limit
          example: 10
          type: number
        methodKey:
          description: Type of payment method
          enum:
          - CC_VISAMC
          - CRYPTOCOIN
          - SWIFT
          - VA_QR
          - CASH
          - TRANSFER
          - EXCHANGE
          - AGENT
          - BINANCE_PAY
          - BYBIT_PAY
          example: CRYPTOCOIN
          type: string
        minFeeAmount:
          description: Min fee
          example: 1
          type: number
        minFeeCurrency:
          description: Min fee currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: EUR
          type: string
        minLimit:
          description: Min limit
          example: 0.0001
          type: number
        name:
          description: Name of payment method
          example: bitcoin payin
          type: string
        orderType:
          description: Type of order
          enum:
          - PAYIN
          - PAYOUT
          - EXCHANGE
          - TRANSFER
          example: PAYIN
          type: string
        percent:
          description: Percent fee
          example: 0.1
          type: number
        productType:
          description: Type of product
          enum:
          - PAYMENT
          - ACQUIRING
          - ACQUIRING_STATIC
          - RECURRING
          - MASS_PAYOUT
          - REFUND
          - BUY_CRYPTO
          - ON_RAMP
          - AGENT_PAYMENT
          example: PAYMENT
          type: string
        properties:
          $ref: '#/components/schemas/PropertyDescriptor'
        scale:
          description: Scale of payment method
          example: 6
          format: int32
          type: integer
        scaleStrategy:
          description: Scale strategy. If REJECT, wrong scale payment will be rejected,
            if TRIM - automatically adjusted dropping extra numbers
          enum:
          - REJECT
          - TRIM
          example: REJECT
          type: string
        verificationLevel:
          description: Verification level needed to use payment method
          example: 3
          format: int32
          type: integer
      required:
      - currency
      - fixed
      - hasNetworkFee
      - id
      - maxLimit
      - methodKey
      - minLimit
      - name
      - orderType
      - percent
      - productType
      - properties
      - scale
      - scaleStrategy
      - verificationLevel
      type: object
    PayoutRequest:
      description: Payout request
      properties:
        amount:
          description: Payout amount
          example: 100
          type: number
        bankAccount:
          description: Bank account number (for IDR only)
          example: '213123231'
          type: string
        bankCode:
          description: Bank code
          enum:
          - BT
          - I1
          - M1
          - RI
          - QRIS
          example: PERMATA
          type: string
        blockchain:
          description: Payment blockchain
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          example: ETHEREUM
          type: string
        callbackUrl:
          description: Callback url. Override callback.url user settings.
          example: https://example.com/callback/1234567890
          type: string
        cardNumber:
          description: Card number
          example: '1234567890123456'
          type: string
        clientOrderId:
          description: Client supplied order ID. Should be unique for every request
            in scope of project. Maximum 256 symbols
          example: '1234567890'
          type: string
        comment:
          description: User comment
          example: User comment
          maxLength: 300
          minLength: 0
          type: string
        companyName:
          type: string
        contractNumber:
          type: string
        crossPayoutAsset:
          description: Cross payout asset
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USD
          type: string
        cryptoAddress:
          description: Blockchain crypto address
          example: '0x1234567890ABCDEF'
          type: string
        currency:
          description: Payout currency
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: USDT
          type: string
        dateOfBirth:
          description: Date of birth
          example: '1996-01-05'
          format: date
          type: string
        description:
          type: string
        extractFeeFromBalance:
          description: Deduct fee from account balance or payment amount
          example: true
          type: boolean
        firstName:
          description: User first name
          example: John
          type: string
        iban:
          type: string
        lastName:
          description: User last name
          example: Doe
          type: string
        method:
          description: Payout payment method key
          enum:
          - CC_VISAMC
          - VA_QR
          - CRYPTOCOIN
          - SWIFT
          - BINANCE_PAY
          example: CRYPTOCOIN
          type: string
        paymentMethodId:
          description: Payment method ID
          example: PMD-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
        phoneNumber:
          description: Phone number
          example: '123123123'
          type: string
        purposeOfPayment:
          type: string
        receiverName:
          type: string
        receiverType:
          description: Receiver Name
          enum:
          - REGULAR
          - BUSINESS
          example: Jane Doe
          type: string
        taxNumber:
          type: string
      required:
      - amount
      type: object
    PropertyDescriptor:
      description: Property descriptor
      properties:
        optional:
          description: Optional properties
          example:
          - email
          items:
            description: Optional properties
            example: '["email"]'
            type: string
          type: array
        options:
          additionalProperties:
            description: Value options for fields
            example:
              iban: '12345679'
            items:
              description: Value options for fields
              example: '{"iban":"12345679"}'
              type: string
            type: array
            uniqueItems: true
          description: Value options for fields
          example:
            iban: '12345679'
          type: object
        required:
          description: Required properties
          example:
          - firstName
          - lastName
          items:
            description: Required properties
            example: '["firstName","lastName"]'
            type: string
          type: array
        requisites:
          additionalProperties:
            description: Read-only properties
            example: '{"iban":"12345679"}'
            type: string
          description: Read-only properties
          example:
            iban: '12345679'
          type: object
      required:
      - optional
      - options
      - required
      - requisites
      type: object
    PublicCodeVerification:
      properties:
        expiredAt:
          format: date-time
          type: string
        resendAfter:
          format: date-time
          type: string
        resendAfterSeconds:
          format: int64
          type: integer
        vid:
          type: string
      required:
      - resendAfterSeconds
      - vid
      type: object
    RateUser:
      description: Rate
      properties:
        ask:
          description: Ask price
          example: 100100.2
          type: number
        baseAsset:
          description: Base asset
          example: BTC
          type: string
        bid:
          description: Bid price
          example: 100100.0
          type: number
        quoteAsset:
          description: Quote asset
          example: USD
          type: string
        rate:
          description: Rate
          example: 100100.1
          type: number
      required:
      - ask
      - baseAsset
      - bid
      - quoteAsset
      - rate
      type: object
    Settings:
      description: Settings request
      properties:
        name:
          description: Name of the setting
          example: notification.payment.email.enabled
          type: string
        value:
          description: Value of the setting
          example: 'false'
          type: string
      required:
      - name
      - value
      type: object
    SignupOrganisationUserForm:
      properties:
        email:
          type: string
        organisationRoleId:
          type: string
      required:
      - email
      - organisationRoleId
      type: object
    SortObject:
      properties:
        empty:
          type: boolean
        sorted:
          type: boolean
        unsorted:
          type: boolean
      type: object
    TransferLimits:
      description: Transfer limits
      properties:
        currency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: BTC
          type: string
        maxLimit:
          example: 10
          type: number
        minLimit:
          example: 1.0e-06
          type: number
      required:
      - currency
      - maxLimit
      - minLimit
      type: object
    TransferUserRequest:
      description: Transfer request
      properties:
        amount:
          example: 0.1
          type: number
        clientOrderId:
          description: Client supplied order ID. Should be unique for every request
            in scope of project. Maximum 256 symbols
          example: '1234567890'
          type: string
        comment:
          example: User comment
          type: string
        currency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          example: BTC
          type: string
        target:
          description: User ID of recipient
          example: OWN-89f46f52-453d-4441-9652-1812c61b235c
          type: string
      required:
      - amount
      - currency
      - target
      type: object
    UniversalBlockchainAddress:
      description: Universal blockchain address
      properties:
        active:
          description: Is blockchain address active
          example: true
          type: boolean
        address:
          description: Blockchain address to use for pay-in
          example: tb1qzrdu918vvqnan4cncjdcmlq6xrz8qsaccdql2w
          type: string
        addressType:
          description: Blockchain address type
          enum:
          - ETHEREUM
          - BITCOIN
          - TRON
          - SOLANA
          example: ETHEREUM
          type: string
        createdAt:
          description: Date when blockchain address was created
          example: '2021-01-01T00:00:00Z'
          format: date-time
          type: string
        expiredAt:
          description: Date when blockchain address expires
          example: '2025-01-01T00:00:00Z'
          format: date-time
          type: string
        id:
          description: Internal ID of blockchain address
          example: BADR-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
        supportedBlockchains:
          description: List of blockchains supported by the address
          items:
            description: List of blockchains supported by the address
            enum:
            - BITCOIN
            - ETHEREUM
            - TRON
            - POLYGON
            - BSC
            - OPTIMISM
            - ARBITRUM
            - SOLANA
            - BASE
            - PLASMA
            type: string
          type: array
          uniqueItems: true
        supportedCryptoCurrencies:
          description: Supported crypto currencies
          items:
            description: Blockchain crypto currency
            enum:
            - BITCOIN_BTC
            - ETHEREUM_ETH
            - ETHEREUM_USDT
            - ETHEREUM_USDC
            - ETHEREUM_PEPE
            - TRON_TRX
            - TRON_USDT
            - POLYGON_MATIC
            - POLYGON_USDT
            - POLYGON_USDC
            - OPTIMISM_ETH
            - OPTIMISM_USDT
            - OPTIMISM_USDC
            - ARBITRUM_ETH
            - ARBITRUM_USDT
            - ARBITRUM_USDC
            - BSC_BNB
            - BSC_USDT
            - BSC_USDC
            - SOLANA_SOL
            - SOLANA_USDT
            - SOLANA_USDC
            - BASE_ETH
            - BASE_USDC
            - PLASMA_XPL
            - PLASMA_USDT
            type: string
          type: array
          uniqueItems: true
      required:
      - active
      - address
      - addressType
      - createdAt
      - expiredAt
      - id
      - supportedBlockchains
      - supportedCryptoCurrencies
      type: object
    UniversalBlockchainAddressCreateRequest:
      description: Create universal blockchain address request
      properties:
        addressType:
          description: Address Type. If not passed then derived from Blockchain
          enum:
          - ETHEREUM
          - BITCOIN
          - TRON
          - SOLANA
          example: ETHEREUM
          type: string
        blockchain:
          description: Blockchain
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          example: ETHEREUM
          type: string
        expiredAt:
          description: Expires at
          format: date-time
          type: string
      required:
      - expiredAt
      type: object
    UniversalBlockchainAddressLimitsSummary:
      description: Universal blockchain address limits
      properties:
        byAddressType:
          additionalProperties:
            $ref: '#/components/schemas/BlockchainAddressLimit'
          type: object
        byBlockchain:
          additionalProperties:
            $ref: '#/components/schemas/BlockchainAddressLimit'
          type: object
      required:
      - byAddressType
      - byBlockchain
      type: object
    UserDetails:
      properties:
        amlEnabled:
          type: boolean
        canCreateSubaccounts:
          type: boolean
        codeVerification:
          $ref: '#/components/schemas/PublicCodeVerification'
        companyName:
          type: string
        createdAt:
          format: date-time
          type: string
        crossPayoutEnabled:
          type: boolean
        disposableLoginUsed:
          type: boolean
        email:
          type: string
        emailActivated:
          type: boolean
        emailActivatedAt:
          format: date-time
          type: string
        enabled:
          type: boolean
        externalId:
          type: string
        firstName:
          type: string
        groupId:
          type: string
        id:
          type: string
        invitedBy:
          type: string
        isAdmin:
          type: boolean
        isOwner:
          type: boolean
        kyc:
          $ref: '#/components/schemas/KycDetails'
        lastName:
          type: string
        locale:
          properties:
            country:
              type: string
            displayCountry:
              type: string
            displayLanguage:
              type: string
            displayName:
              type: string
            displayScript:
              type: string
            displayVariant:
              type: string
            extensionKeys:
              items:
                type: string
              type: array
              uniqueItems: true
            iso3Country:
              type: string
            iso3Language:
              type: string
            language:
              type: string
            script:
              type: string
            unicodeLocaleAttributes:
              items:
                type: string
              type: array
              uniqueItems: true
            unicodeLocaleKeys:
              items:
                type: string
              type: array
              uniqueItems: true
            variant:
              type: string
          type: object
        merchantId:
          type: string
        mfaEnabled:
          type: boolean
        modifiedAt:
          format: date-time
          type: string
        name:
          type: string
        oidcProvider:
          enum:
          - GOOGLE
          - FACEBOOK
          type: string
        organisation:
          $ref: '#/components/schemas/Organisation'
        organisationRole:
          $ref: '#/components/schemas/OrganisationRole'
        parentId:
          type: string
        pendingCompanyRename:
          type: boolean
        phone:
          type: string
        privileges:
          items:
            type: string
          type: array
        projectId:
          type: string
        referralCode:
          type: string
        referredBy:
          type: string
        roles:
          items:
            type: string
          type: array
        sessionDuration:
          format: int32
          type: integer
        subaccount:
          type: boolean
        telegramChatId:
          format: int64
          type: integer
        test:
          type: boolean
        trueName:
          type: string
        userType:
          enum:
          - REGULAR
          - BUSINESS
          type: string
        utm:
          additionalProperties:
            type: string
          type: object
        verificationLevel:
          format: int32
          type: integer
      required:
      - canCreateSubaccounts
      - createdAt
      - crossPayoutEnabled
      - enabled
      - groupId
      - id
      - merchantId
      - mfaEnabled
      - privileges
      - referralCode
      - roles
      - sessionDuration
      - subaccount
      - test
      - userType
      - verificationLevel
      type: object
    UserPayUserReceive:
      description: User pays and receives amounts
      properties:
        userPay:
          $ref: '#/components/schemas/CurrencyAmount'
        userReceive:
          $ref: '#/components/schemas/CurrencyAmount'
      required:
      - userPay
      - userReceive
      type: object
    WalletCryptoCurrencyDetails:
      properties:
        balanceModel:
          enum:
          - UTXO
          - ACCOUNT
          type: string
        blockchain:
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          type: string
        currency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          type: string
        networkCryptoCurrency:
          description: Blockchain crypto currency
          enum:
          - BITCOIN_BTC
          - ETHEREUM_ETH
          - ETHEREUM_USDT
          - ETHEREUM_USDC
          - ETHEREUM_PEPE
          - TRON_TRX
          - TRON_USDT
          - POLYGON_MATIC
          - POLYGON_USDT
          - POLYGON_USDC
          - OPTIMISM_ETH
          - OPTIMISM_USDT
          - OPTIMISM_USDC
          - ARBITRUM_ETH
          - ARBITRUM_USDT
          - ARBITRUM_USDC
          - BSC_BNB
          - BSC_USDT
          - BSC_USDC
          - SOLANA_SOL
          - SOLANA_USDT
          - SOLANA_USDC
          - BASE_ETH
          - BASE_USDC
          - PLASMA_XPL
          - PLASMA_USDT
          type: string
        networkCurrency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          type: string
        tokenStandard:
          type: string
      required:
      - balanceModel
      - blockchain
      - currency
      - networkCryptoCurrency
      - networkCurrency
      type: object
    WalletCryptoCurrencyDetailsEnriched:
      description: Map of crypto currencies with their details
      properties:
        balanceModel:
          enum:
          - UTXO
          - ACCOUNT
          type: string
        blockchain:
          enum:
          - BITCOIN
          - ETHEREUM
          - TRON
          - POLYGON
          - BSC
          - OPTIMISM
          - ARBITRUM
          - SOLANA
          - BASE
          - PLASMA
          type: string
        currency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          type: string
        limitsAndFees:
          $ref: '#/components/schemas/OptionsWithLimitsAndFees'
        networkCryptoCurrency:
          description: Blockchain crypto currency
          enum:
          - BITCOIN_BTC
          - ETHEREUM_ETH
          - ETHEREUM_USDT
          - ETHEREUM_USDC
          - ETHEREUM_PEPE
          - TRON_TRX
          - TRON_USDT
          - POLYGON_MATIC
          - POLYGON_USDT
          - POLYGON_USDC
          - OPTIMISM_ETH
          - OPTIMISM_USDT
          - OPTIMISM_USDC
          - ARBITRUM_ETH
          - ARBITRUM_USDT
          - ARBITRUM_USDC
          - BSC_BNB
          - BSC_USDT
          - BSC_USDC
          - SOLANA_SOL
          - SOLANA_USDT
          - SOLANA_USDC
          - BASE_ETH
          - BASE_USDC
          - PLASMA_XPL
          - PLASMA_USDT
          type: string
        networkCurrency:
          enum:
          - BTC
          - ETH
          - TRX
          - BNB
          - MATIC
          - XPL
          - USDT
          - USDC
          - SOL
          - PEPE
          - EUR
          - USD
          - UAH
          - KZT
          - IDR
          - TRY
          - AZN
          - GBP
          - INR
          type: string
        tokenStandard:
          type: string
      required:
      - balanceModel
      - blockchain
      - currency
      - networkCryptoCurrency
      - networkCurrency
      type: object
    WalletCurrencyDetailsEnriched:
      description: Map of fiat currencies with their details
      properties:
        exchangeOptions:
          items:
            description: Crypto currency
            enum:
            - BTC
            - ETH
            - TRX
            - BNB
            - MATIC
            - SOL
            - XPL
            - USDT
            - USDC
            - PEPE
            type: string
          type: array
          uniqueItems: true
        limitsAndFees:
          $ref: '#/components/schemas/OptionsWithLimitsAndFees'
      required:
      - exchangeOptions
      - limitsAndFees
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: X-Token-API-Id
      type: apiKey
    ApiSecretAuth:
      in: header
      name: X-Token-API-Secret
      type: apiKey
    HmacSignatureAuth:
      in: header
      name: X-HMAC-SHA256-Signature
      type: apiKey
    SaltAuth:
      in: header
      name: X-Salt
      type: apiKey
info:
  title: Inqud API Documentation
  version: v1
openapi: 3.0.1
paths:
  /v1/public/user/blockchain/addresses/universal:
    get:
      operationId: user_get-universal-blockchain-addresses
      parameters: []
      responses:
        '200':
          content:
            '*/*':
              examples:
                UNIVERSAL_ADDRESS_LIST:
                  description: Single Ethereum address list
                  summary: Universal address list
                  value:
                  - active: true
                    address: '0x000000000000000000000000000000000000dEaD'
                    addressType: ETHEREUM
                    createdAt: '2026-05-06T12:08:46.336236329Z'
                    expiredAt: '2026-05-06T12:08:46.336213115Z'
                    id: BADR-2eb51bd4-6117-437b-b933-502538a9662a
                    supportedBlockchains:
                    - ETHEREUM
                    supportedCryptoCurrencies:
                    - ETHEREUM_USDT
              schema:
                items:
                  $ref: '#/components/schemas/UniversalBlockchainAddress'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get universal blockchain addresses
      tags:
      - crypto
    post:
      operationId: user_create-universal-blockchain-address
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UniversalBlockchainAddressCreateRequest'
        required: true
      responses:
        '200':
          content:
            '*/*':
              examples:
                UNIVERSAL_ADDRESS:
                  description: Universal Ethereum address
                  summary: Universal address
                  value:
                    active: true
                    address: '0x000000000000000000000000000000000000dEaD'
                    addressType: ETHEREUM
                    createdAt: '2026-05-06T12:08:35.963355035Z'
                    expiredAt: '2026-05-06T12:08:35.963335028Z'
                    id: BADR-2eb51bd4-6117-437b-b933-502538a9662a
                    supportedBlockchains:
                    - ETHEREUM
                    supportedCryptoCurrencies:
                    - ETHEREUM_USDT
              schema:
                $ref: '#/components/schemas/UniversalBlockchainAddress'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create universal blockchain address
      tags:
      - crypto
  /v1/public/user/blockchain/addresses/universal/limits:
    get:
      operationId: user_get-universal-blockchain-addresses-limits
      parameters: []
      responses:
        '200':
          content:
            '*/*':
              examples:
                UNIVERSAL_ADDRESS_LIMITS:
                  description: Universal Ethereum address limits
                  summary: Universal address limits
                  value:
                    byAddressType:
                      ETHEREUM:
                        current: 1
                        limit: 10
                    byBlockchain:
                      ETHEREUM:
                        current: 1
                        limit: 10
              schema:
                $ref: '#/components/schemas/UniversalBlockchainAddressLimitsSummary'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get universal blockchain addresses limits
      tags:
      - crypto
  /v1/user/callbacks/payments:
    delete:
      description: Delete payment webhook
      operationId: user_payment_delete-webhook
      parameters: []
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete payment webhook
      tags:
      - payment-webhooks
    get:
      description: Get payment webhook
      operationId: user_payment_get-webhook
      parameters: []
      responses:
        '200':
          content:
            '*/*':
              examples:
                PAYMENT_WEBHOOK:
                  description: Payment webhook
                  summary: Payment webhook
                  value:
                    projectId: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    secret: '************'
                    type: PAYMENT
                    url: https://example.com/return/payment
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get payment webhook
      tags:
      - payment-webhooks
    put:
      callbacks:
        payment:
          userDefinedUrl:
            post:
              description: Payment webhook
              requestBody:
                content:
                  application/json:
                    examples:
                      USDT payout SUCCESS:
                        description: Payment USDT payout SUCCESS
                        summary: USDT payout SUCCESS
                        value:
                          amount: -100
                          balanceAfterPayment: 52202.7245
                          blockchain: ETHEREUM
                          createdAt: '2024-07-17T07:36:12.076857Z'
                          currency: USDT
                          externalId: '0xd5ecac060c6eae0a4f451bd13d313c97f23dd6c40aca5262967ad99742338c24'
                          finalStatusAt: '2024-07-17T07:37:05.085611087Z'
                          id: PMT-3c1344d3-575b-4498-99dd-6896c0102f31
                          initialAmount: -100
                          method: CRYPTOCOIN
                          orderId: ORD-bba1e0a4-0785-407e-9f13-da1cc02ce715
                          orderType: PAYOUT
                          payoutCryptoAddress: '0x74d94632c97f30f5ae124ad25c12c47a27558009'
                          productType: PAYMENT
                          recipient: '0x74d94632c97f30f5ae124ad25c12c47a27558009'
                          requestedAmount: -100
                          status: SUCCESS
                          transactionType: CREDIT
                    schema:
                      $ref: '#/components/schemas/Payment'
                description: Payment model
              responses:
                '200':
                  description: Return this code if the webhook processed successfully
      description: Create payment webhook
      operationId: user_payment_create-webhook
      parameters: []
      requestBody:
        content:
          application/json:
            examples:
              PAYMENT_WEBHOOK:
                description: Payment webhook
                summary: Payment webhook
                value:
                  secret: Secret phrase
                  url: https://example.com/return/payment
            schema:
              $ref: '#/components/schemas/CallbackUserSettingsForm'
        required: true
      responses:
        '200':
          content:
            '*/*':
              examples:
                PAYMENT_WEBHOOK:
                  description: Payment webhook
                  summary: Payment webhook
                  value:
                    projectId: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    secret: '************'
                    type: PAYMENT
                    url: https://example.com/return/payment
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create payment webhook
      tags:
      - payment-webhooks
  /v1/user/crypto-acquiring:
    get:
      description: List of all user's crypto-acquiring widgets
      operationId: user_crypto-acquiring_list-projects
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CryptoAcquiringProjectUser'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get all widgets
      tags:
      - crypto-acquiring-projects
    post:
      description: Create crypto-acquiring widget
      operationId: user_crypto-acquiring_create-project
      parameters: []
      requestBody:
        content:
          application/json:
            examples:
              DYNAMIC_PROJECT_BINANCE_PAY:
                description: Dynamic addresses project with crypto + Binance Pay
                summary: Dynamic addresses project (crypto + Binance Pay)
                value:
                  autoRedirectSecondsOnFail: 15
                  autoRedirectSecondsOnSuccess: 15
                  cryptoCurrencies:
                  - TRON_USDT
                  - ETHEREUM_USDT
                  - BSC_USDT
                  - SOLANA_USDT
                  - POLYGON_USDT
                  - ARBITRUM_USDT
                  - OPTIMISM_USDT
                  enabled: true
                  hidePayerFee: true
                  integrations:
                    BINANCE_PAY: USDT
                  name: Sample project (Crypto + Binance Pay)
                  payerPaysPlatformFee: true
                  type: DYNAMIC_ADDRESSES
              DYNAMIC_PROJECT_CRYPTO:
                description: Dynamic addresses project with crypto only
                summary: Dynamic addresses project (crypto)
                value:
                  autoRedirectSecondsOnFail: 15
                  autoRedirectSecondsOnSuccess: 15
                  cryptoCurrencies:
                  - TRON_USDT
                  - ETHEREUM_USDT
                  - BSC_USDT
                  - SOLANA_USDT
                  - POLYGON_USDT
                  - ARBITRUM_USDT
                  - OPTIMISM_USDT
                  enabled: true
                  hidePayerFee: true
                  name: Sample project (Crypto)
                  payerPaysPlatformFee: true
                  type: DYNAMIC_ADDRESSES
              STATIC_PROJECT:
                description: Static addresses project with crypto only
                summary: Static addresses project (crypto)
                value:
                  cryptoCurrencies:
                  - TRON_USDT
                  - ETHEREUM_USDT
                  - BSC_USDT
                  - SOLANA_USDT
                  - POLYGON_USDT
                  - ARBITRUM_USDT
                  - OPTIMISM_USDT
                  enabled: true
                  name: Sample project (Crypto static addresses)
                  type: STATIC_ADDRESSES
            schema:
              $ref: '#/components/schemas/CryptoAcquiringProjectUserForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                DYNAMIC_PROJECT_BINANCE_PAY:
                  description: Dynamic addresses project with crypto + Binance Pay
                  summary: Dynamic addresses project (crypto + Binance Pay)
                  value:
                    autoRedirectSecondsOnFail: 15
                    autoRedirectSecondsOnSuccess: 15
                    createdAt: '2026-05-06T12:08:34.023462161Z'
                    cryptoCurrencies:
                    - TRON_USDT
                    - ETHEREUM_USDT
                    - BSC_USDT
                    - SOLANA_USDT
                    - POLYGON_USDT
                    - ARBITRUM_USDT
                    - OPTIMISM_USDT
                    enabled: true
                    hidePayerFee: true
                    id: CAP-46dfa46b-6338-4c33-8e1d-cf7062053f22
                    integrations:
                      BINANCE_PAY: USDT
                    modifiedAt: '2026-05-06T12:08:34.023471879Z'
                    name: Sample project (Crypto + Binance Pay)
                    payerPaysPlatformFee: true
                    type: DYNAMIC_ADDRESSES
                    userId: OWN-89f46f52-453d-4441-9652-1812c61b235c
                DYNAMIC_PROJECT_CRYPTO:
                  description: Dynamic addresses project with crypto only
                  summary: Dynamic addresses project (crypto)
                  value:
                    autoRedirectSecondsOnFail: 15
                    autoRedirectSecondsOnSuccess: 15
                    createdAt: '2026-05-06T12:08:34.022162662Z'
                    cryptoCurrencies:
                    - TRON_USDT
                    - ETHEREUM_USDT
                    - BSC_USDT
                    - SOLANA_USDT
                    - POLYGON_USDT
                    - ARBITRUM_USDT
                    - OPTIMISM_USDT
                    enabled: true
                    hidePayerFee: true
                    id: CAP-46dfa46b-6338-4c33-8e1d-cf7062053f22
                    integrations: {}
                    modifiedAt: '2026-05-06T12:08:34.0221934Z'
                    name: Sample project (Crypto)
                    payerPaysPlatformFee: true
                    type: DYNAMIC_ADDRESSES
                    userId: OWN-89f46f52-453d-4441-9652-1812c61b235c
                STATIC_PROJECT:
                  description: Static addresses project with crypto only
                  summary: Static addresses project (crypto)
                  value:
                    createdAt: '2026-05-06T12:08:34.023747185Z'
                    cryptoCurrencies:
                    - TRON_USDT
                    - ETHEREUM_USDT
                    - BSC_USDT
                    - SOLANA_USDT
                    - POLYGON_USDT
                    - ARBITRUM_USDT
                    - OPTIMISM_USDT
                    enabled: true
                    hidePayerFee: false
                    id: CAP-46dfa46b-6338-4c33-8e1d-cf7062053f22
                    integrations: {}
                    modifiedAt: '2026-05-06T12:08:34.023754239Z'
                    name: Sample project (Crypto static addresses)
                    payerPaysPlatformFee: false
                    type: STATIC_ADDRESSES
                    userId: OWN-89f46f52-453d-4441-9652-1812c61b235c
              schema:
                $ref: '#/components/schemas/CryptoAcquiringProjectUser'
          description: OK
        '400':
          content:
            application/json:
              examples:
                INVALID_VALUE:
                  summary: INVALID_VALUE
                  value:
                    code: INVALID_VALUE
                    details: null
                    message: Incorrect body format. Parameter 'value' is not allowed.
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Domain with [DMN-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '409':
          content:
            application/json:
              examples:
                ALREADY_EXISTS:
                  summary: ALREADY_EXISTS
                  value:
                    code: ALREADY_EXISTS
                    details: null
                    message: Crypto acquiring project with [Already-existing name]
                      already exists
                CONFLICT:
                  summary: CONFLICT
                  value:
                    code: CONFLICT
                    details: null
                    message: Domain is not approved
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
        '422':
          content:
            application/json:
              examples:
                VALIDATION_FAILED:
                  summary: VALIDATION_FAILED
                  value:
                    code: VALIDATION_FAILED
                    details:
                      LIMIT: '5'
                    message: Validation failed
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNPROCESSABLE_ENTITY
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create widget
      tags:
      - crypto-acquiring-projects
  /v1/user/crypto-acquiring/checkouts:
    get:
      description: Get a list of all user's checkouts
      operationId: user_crypto-acquiring_list-checkouts
      parameters:
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: address
        required: false
        schema:
          description: Search by address
          example: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
          type: string
      - in: query
        name: clientOrderId
        required: false
        schema:
          description: Search by client order ID
          example: '1234567890'
          type: string
      - in: query
        name: createdAt
        required: false
        schema:
          description: Search by creation date range
          example:
          - '2022-01-01T12:00:00.000Z'
          - '2023-01-01T12:00:00.000Z'
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: currency
        required: false
        schema:
          description: Search by currency
          example:
          - BTC
          items:
            type: string
          type: array
      - in: query
        name: id
        required: false
        schema:
          description: Search by checkout ID
          example: CCO-929d6f5d-f26b-3943-bc4f-eabc65781c6c
          type: string
      - in: query
        name: integration
        required: false
        schema:
          description: Search by integration
          enum:
          - CRYPTOCOIN
          - BINANCE_PAY
          - BYBIT_PAY
          example: BINANCE_PAY
          type: string
      - in: query
        name: projectId
        required: false
        schema:
          description: Search by widget ID
          example: CAP-323ab869-95ab-4b3d-a26b-3184140f6f50
          type: string
      - in: query
        name: reason
        required: false
        schema:
          description: Search by reason
          enum:
          - UNDERPAID
          - OVERPAID
          - OTHER
          - WRONG_CURRENCY
          example: UNDERPAID
          type: string
      - in: query
        name: refunded
        required: false
        schema:
          description: Search by refunded flag
          example: true
          type: boolean
      - in: query
        name: requestId
        required: false
        schema:
          description: Search by request ID
          example: CAPD-e6fab090-aa43-4950-8ce1-bfa859d73b1e
          type: string
      - in: query
        name: requestOrderId
        required: false
        schema:
          description: Search by request order ID
          example: ORD-3daf3f32-04f9-480e-9c14-6d49b5708c8b
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any params
          example: '1234567890123456'
          type: string
      - in: query
        name: status
        required: false
        schema:
          description: Search by status
          example:
          - CONFLICT
          items:
            type: string
          type: array
      - in: query
        name: tx
        required: false
        schema:
          description: Search by transaction hash
          example: '0xb20f3674d123cac92c51481f0d75f720e558267ae7b1fa802c706a82a75b78ac'
          type: string
      - in: query
        name: type
        required: false
        schema:
          description: Search by type
          enum:
          - NO_PRICE
          - FIXED_PRICE
          - SUGGESTED_FIXED_PRICE
          example: FIXED_PRICE
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageCryptoAcquiringCheckout'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get list of checkouts
      tags:
      - crypto-acquiring-checkouts
  /v1/user/crypto-acquiring/checkouts/{checkoutId}:
    get:
      operationId: user_crypto-acquiring_get-checkout
      parameters:
      - description: Checkout ID
        example: CCO-929d6f5d-f26b-3943-bc4f-eabc65781c6c
        in: path
        name: checkoutId
        required: true
        schema:
          description: Checkout ID
          example: CCO-929d6f5d-f26b-3943-bc4f-eabc65781c6c
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoAcquiringCheckout'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto acquiring checkout with [CCO-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get checkout by ID
      tags:
      - crypto-acquiring-checkouts
  /v1/user/crypto-acquiring/checkouts/{checkoutId}/refunds:
    post:
      description: Initiate a refund process for a specific crypto-acquiring checkout
      operationId: user_crypto-acquiring_checkout_create-refund
      parameters:
      - description: Checkout ID
        example: CCO-929d6f5d-f26b-3943-bc4f-eabc65781c6c
        in: path
        name: checkoutId
        required: true
        schema:
          description: Checkout ID
          example: CCO-929d6f5d-f26b-3943-bc4f-eabc65781c6c
          type: string
      requestBody:
        content:
          application/json:
            examples:
              BINANCE_USDC_REFUND:
                description: Refund to a Binance account with fee deducted from refund
                  amount
                summary: 'Crypto: Binance Pay USDC Refund'
                value:
                  clientOrderId: '1234567890'
                  extractFeeFromBalance: false
              ETHEREUM_USDT_REFUND:
                description: Refund to an Ethereum address with fee deducted from
                  merchant's balance
                summary: 'Crypto: Ethereum USDT Refund'
                value:
                  clientOrderId: '1234567890'
                  cryptoAddress: '0x123456'
                  extractFeeFromBalance: true
            schema:
              $ref: '#/components/schemas/CryptoAcquiringCreateRefundUser'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                BINANCE_USDC_REFUND:
                  description: Refund to a Binance account with fee deducted from
                    refund amount
                  summary: Binance Pay USDC Refund
                  value:
                    amount: 0.04
                    clientOrderId: asdasdasdcz
                    createdAt: '2025-10-16T14:20:47.13166083Z'
                    currency: USDT
                    extractFeeFromBalance: true
                    id: CAR-cd7f57a9-1886-4172-a8ce-8c3fe503ed07
                    methodKey: BINANCE_PAY
                    refundPayment:
                      amount: -0.04
                      authorUserId: OWN-b9b88002-93a7-48df-856c-b9be73dbd5eb
                      clientOrderId: 1x23456789as0s
                      createdAt: '2025-10-16T14:20:47.11387367Z'
                      currency: USDT
                      id: PMT-29696dac-f730-483d-b997-aecd98673cb3
                      initialAmount: -0.04
                      method: BINANCE_PAY
                      orderId: ORD-f00b5c37-9490-455e-a350-7910b97652d7
                      orderType: PAYOUT
                      productType: REFUND
                      status: NEW
                      transactionType: CREDIT
                    request:
                      checkoutId: CCO-196aa3bc-efcd-49cb-8980-e2550001bad0
                      clientOrderId: asdasdasdcz
                      convertPair: USDTUSD
                      convertRate: 0.9994
                      createdAt: '2025-10-16T14:18:33.934991Z'
                      cryptoAcquiringProjectId: CAP-44efa21c-2f5f-44d5-ada2-a65e3d68bf0b
                      cryptoAcquiringProjectName: Binance Pay Refunds
                      currency: USDT
                      expiresAt: '2025-10-16T15:18:31.932205Z'
                      goods: []
                      hidePayerFee: false
                      id: CAPD-bff8e6fc-3979-47ea-a2f0-ec337134910f
                      lastUpdatedAt: '2025-10-16T14:19:23.100382Z'
                      merchantPlatformFee: 0
                      methodKey: BINANCE_PAY
                      orderId: ORD-d43912b2-33f9-47b5-b4ac-9ec0b8645c42
                      overpaid: false
                      paidAmount: 0.04
                      payAmount: 0.04
                      payerPlatformFee: 0
                      payment:
                        amount: 0.04
                        balanceAfterPayment: 24.319
                        createdAt: '2025-10-16T14:18:33.017934Z'
                        cryptoAcquiringCheckoutId: CCO-196aa3bc-efcd-49cb-8980-e2550001bad0
                        cryptoAcquiringDepositRequestId: CAPD-bff8e6fc-3979-47ea-a2f0-ec337134910f
                        cryptoAcquiringProjectId: CAP-44efa21c-2f5f-44d5-ada2-a65e3d68bf0b
                        currency: USDT
                        externalId: '392533195375173633'
                        finalStatusAt: '2025-10-16T14:19:22.390787Z'
                        h2H: false
                        id: PMT-dce5de16-8d45-424c-a47c-8ddf0e662076
                        initialAmount: 0.04
                        method: BINANCE_PAY
                        orderId: ORD-d43912b2-33f9-47b5-b4ac-9ec0b8645c42
                        orderType: PAYIN
                        payUrl: https://pay.binance.com/en/checkout/1213123123
                        productType: ACQUIRING
                        returnUrl: https://paycrypto.inqud.com/checkout/CCO-196aa3bc-efcd-49cb-8980-e2550001bad0
                        status: SUCCESS
                        transactionType: DEBIT
                      paymentId: PMT-dce5de16-8d45-424c-a47c-8ddf0e662076
                      paymentStatus: SUCCESS
                      paymentWindowEndsAt: '2025-10-16T15:18:31.932205Z'
                      processingAmount: 0.04
                      refundable: true
                      refunded: false
                      requestAmount: 0.03
                      requestAmountConverted: 0.04
                      requestAmountIn: USD
                      status: SUCCESS
                      user:
                        createdAt: '2024-11-15T16:54:28.000754Z'
                        email: test@example.com
                        id: CAU-d9de0fd8-d215-4235-9bc2-0060b5d1a215
                    status: PENDING
                ETHEREUM_USDT_REFUND:
                  description: Refund to an Ethereum address with fee deducted from
                    merchant's balance
                  summary: Ethereum USDT Refund
                  value:
                    address: '0x123123'
                    amount: 19.02
                    blockchain: ETHEREUM
                    clientOrderId: 12asdasdasd
                    createdAt: '2025-10-16T14:05:39.123363217Z'
                    currency: USDT
                    extractFeeFromBalance: true
                    id: CAR-4da09cf2-82ce-46aa-9207-f902d2557a7b
                    methodKey: CRYPTOCOIN
                    refundPayment:
                      amount: -19.02
                      authorUserId: OWN-b9b88002-93a7-48df-856c-b9be73dbd5eb
                      clientOrderId: 1x23456789as0
                      createdAt: '2025-10-16T14:05:39.085340557Z'
                      currency: USDT
                      id: PMT-39aeb718-9502-4f40-a73e-cc4d6504c272
                      initialAmount: -19.02
                      method: CRYPTOCOIN
                      orderId: ORD-605df1d2-2105-4758-9868-eab49e23ba4c
                      orderType: PAYOUT
                      productType: REFUND
                      status: NEW
                      transactionType: CREDIT
                    request:
                      address: '0x15215232'
                      blockchain: BSC
                      checkoutId: CCO-d136ea9f-4092-439f-a25e-d72d4e3d1bef
                      clientOrderId: 12asdasdasd
                      convertPair: USDTUSD
                      convertRate: 0.9993
                      createdAt: '2025-10-16T11:34:12.08854Z'
                      cryptoAcquiringProjectId: CAP-44efa21c-2f5f-44d5-ada2-a65e3d68bf0b
                      cryptoAcquiringProjectName: Binance Pay Refunds
                      currency: USDT
                      expiresAt: '2025-10-16T11:44:12.088538Z'
                      goods: []
                      hidePayerFee: false
                      id: CAPD-d10b8928-dd97-4b6e-8b5d-6493f37a17eb
                      lastUpdatedAt: '2025-10-16T11:37:08.489951Z'
                      merchantPlatformFee: 3.01
                      methodKey: CRYPTOCOIN
                      orderId: ORD-dd30e1fb-a242-40be-80bf-d1c7b0a7949b
                      overpaid: false
                      paidAmount: 20.02
                      payAmount: 20.02
                      payerPlatformFee: 0
                      payment:
                        amount: 19.02
                        balanceAfterPayment: 46.619
                        blockchain: ETHEREUM
                        clientOrderId: 12asdasdasd
                        createdAt: '2025-10-16T11:36:05.478761Z'
                        cryptoAcquiringCheckoutId: CCO-d136ea9f-4092-439f-a25e-d72d4e3d1bef
                        cryptoAcquiringDepositRequestId: CAPD-d10b8928-dd97-4b6e-8b5d-6493f37a17eb
                        cryptoAcquiringProjectId: CAP-44efa21c-2f5f-44d5-ada2-a65e3d68bf0b
                        currency: USDT
                        externalId: '0x123532'
                        finalStatusAt: '2025-10-16T11:37:07.299203Z'
                        id: PMT-ac7841b5-8410-41b9-bb7e-b96b263c132e
                        initialAmount: 20.02
                        method: CRYPTOCOIN
                        orderId: ORD-dd30e1fb-a242-40be-80bf-d1c7b0a7949b
                        orderType: PAYIN
                        productType: ACQUIRING
                        recipient: '0x123123'
                        status: SUCCESS
                        transactionType: DEBIT
                      paymentId: PMT-ac7841b5-8410-41b9-bb7e-b96b263c132e
                      paymentStatus: SUCCESS
                      paymentWindowEndsAt: '2025-10-16T11:44:12.088502Z'
                      processingAmount: 17.01
                      reason: WRONG_CURRENCY
                      refundable: true
                      refunded: false
                      requestAmount: 20
                      requestAmountConverted: 20.02
                      requestAmountIn: USD
                      status: CONFLICT
                      txHash: '0x643263'
                    status: PENDING
              schema:
                $ref: '#/components/schemas/CryptoAcquiringRefundUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: 'Checkout: Create refund'
      tags:
      - crypto-acquiring-refunds
  /v1/user/crypto-acquiring/checkouts/{checkoutId}/refunds/data:
    get:
      description: Get information required to create a refund for a specific crypto-acquiring
        checkout
      operationId: user_crypto-acquiring_checkout_get-refund-data
      parameters:
      - description: Checkout ID
        example: CCO-929d6f5d-f26b-3943-bc4f-eabc65781c6c
        in: path
        name: checkoutId
        required: true
        schema:
          description: Checkout ID
          example: CCO-929d6f5d-f26b-3943-bc4f-eabc65781c6c
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                BINANCE_PAY_USDC_REFUND:
                  description: Data for refund to a Binance account
                  summary: Binance Pay USDC Refund
                  value:
                    amount: 10
                    currency: USDC
                    methodId: PMD-3f49298c-7eb6-4f29-9b4e3ad08464
                    methodKey: BINANCE_PAY
                    props:
                      optional: []
                      options: {}
                      required: []
                      requisites: {}
                ETHEREUM_USDT_REFUND:
                  description: Data for refund to an Ethereum address
                  summary: Ethereum USDT Refund
                  value:
                    amount: 10
                    blockchain: ETHEREUM
                    currency: USDT
                    methodId: PMD-1c49298c-7eb6-4f29-9b4e3ad08464
                    methodKey: CRYPTOCOIN
                    props:
                      optional: []
                      options: {}
                      required:
                      - cryptoAddress
                      requisites: {}
              schema:
                $ref: '#/components/schemas/CryptoAcquiringRefundDataUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: 'Checkout: Get refund data'
      tags:
      - crypto-acquiring-refunds
  /v1/user/crypto-acquiring/checkouts/{checkoutId}/refunds/fees:
    get:
      description: Calculate the fee associated with processing a refund for a specific
        crypto-acquiring checkout
      operationId: user_crypto-acquiring_checkout_calculate-refund-fee
      parameters:
      - description: Checkout ID
        example: CCO-929d6f5d-f26b-3943-bc4f-eabc65781c6c
        in: path
        name: checkoutId
        required: true
        schema:
          description: Checkout ID
          example: CCO-929d6f5d-f26b-3943-bc4f-eabc65781c6c
          type: string
      - description: Refund address
        in: query
        name: cryptoAddress
        required: false
        schema:
          description: Refund address
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                BINANCE_PAY_USDC_REFUND:
                  description: Payment fee details for Binance Pay USDC refund
                  summary: Binance Pay USDC Refund
                  value:
                    extractFeeFromAmount:
                      userPay:
                        amount: 11
                        currency: USDC
                      userReceive:
                        amount: 9
                        currency: USDC
                    extractFeeFromBalance:
                      userPay:
                        amount: 10
                        currency: USDC
                      userReceive:
                        amount: 9
                        currency: USDC
                    totalFee:
                      amount: 1
                      currency: USDC
                      fixedFee: 0.3
                      percentFee: 0.7
                    userPay:
                      amount: 10
                      currency: USDC
                    userReceive:
                      amount: 9
                      currency: USDC
                ETHEREUM_USDT_REFUND:
                  description: Payment fee details for Ethereum USDT refund
                  summary: Ethereum USDT Refund
                  value:
                    extractFeeFromAmount:
                      userPay:
                        amount: 12
                        currency: USDT
                      userReceive:
                        amount: 8
                        currency: USDT
                    extractFeeFromBalance:
                      userPay:
                        amount: 10
                        currency: USDT
                      userReceive:
                        amount: 8
                        currency: USDT
                    feeCypher: encrypted_string
                    feeCypherExpiresAt: 1704067200000
                    totalFee:
                      amount: 2
                      currency: USDT
                      fixedFee: 0.3
                      networkFee: 0.2
                      percentFee: 1.5
                    userPay:
                      amount: 10
                      currency: USDT
                    userReceive:
                      amount: 8
                      currency: USDT
              schema:
                $ref: '#/components/schemas/PaymentFeeDetailsUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: 'Checkout: Get refund fee'
      tags:
      - crypto-acquiring-refunds
  /v1/user/crypto-acquiring/crypto-currencies:
    get:
      deprecated: true
      description: Get cryptocurrencies that can be used in crypto-acquiring widgets
      operationId: user_crypto-acquiring_get-crypto-currencies
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoAcquiringSupportedCryptoCurrencies'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get available cryptocurrencies
      tags:
      - crypto-acquiring-projects
  /v1/user/crypto-acquiring/crypto-currencies/options:
    get:
      description: Returns the cryptocurrencies that can be enabled for the project.
      operationId: user_crypto-acquiring_crypto-currency-options
      parameters: []
      responses:
        '200':
          content:
            application/json:
              examples:
                PROJECT_CRYPTO_CURRENCY_OPTIONS:
                  description: Crypto currencies available to be enabled for project
                  summary: Crypto currency options
                  value:
                    options:
                      BITCOIN_BTC:
                        balanceModel: UTXO
                        blockchain: BITCOIN
                        currency: BTC
                        networkCryptoCurrency: BITCOIN_BTC
                        networkCurrency: BTC
                      BSC_BNB:
                        balanceModel: ACCOUNT
                        blockchain: BSC
                        currency: BNB
                        networkCryptoCurrency: BSC_BNB
                        networkCurrency: BNB
                        tokenStandard: BEP20
                      BSC_USDT:
                        balanceModel: ACCOUNT
                        blockchain: BSC
                        currency: USDT
                        networkCryptoCurrency: BSC_BNB
                        networkCurrency: BNB
                        tokenStandard: BEP20
                      ETHEREUM_ETH:
                        balanceModel: ACCOUNT
                        blockchain: ETHEREUM
                        currency: ETH
                        networkCryptoCurrency: ETHEREUM_ETH
                        networkCurrency: ETH
                        tokenStandard: ERC20
                      ETHEREUM_USDT:
                        balanceModel: ACCOUNT
                        blockchain: ETHEREUM
                        currency: USDT
                        networkCryptoCurrency: ETHEREUM_ETH
                        networkCurrency: ETH
                        tokenStandard: ERC20
                      TRON_TRX:
                        balanceModel: ACCOUNT
                        blockchain: TRON
                        currency: TRX
                        networkCryptoCurrency: TRON_TRX
                        networkCurrency: TRX
                        tokenStandard: TRC20
                      TRON_USDT:
                        balanceModel: ACCOUNT
                        blockchain: TRON
                        currency: USDT
                        networkCryptoCurrency: TRON_TRX
                        networkCurrency: TRX
                        tokenStandard: TRC20
              schema:
                $ref: '#/components/schemas/CryptoCurrencyOptions'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: List available cryptocurrencies
      tags:
      - crypto-acquiring-projects
  /v1/user/crypto-acquiring/exchange-options:
    get:
      description: List of all exchange options available to be configured in widgets
      operationId: user_crypto-acquiring_list-exchange-options
      parameters: []
      responses:
        '200':
          content:
            application/json:
              examples:
                exchange-options:
                  description: Crypto-acquiring automatic exchange options
                  summary: Exchange options
                  value:
                    options:
                      BTC:
                      - USD
                      - EUR
                      ETH:
                      - USD
                      - EUR
                      TRX:
                      - USD
                      - EUR
                      USDT:
                      - USD
                      - EUR
              schema:
                $ref: '#/components/schemas/CryptoAcquiringExchangeRuleOptions'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get list of exchange options
      tags:
      - crypto-acquiring-exchange
  /v1/user/crypto-acquiring/exchange-rules:
    get:
      description: List of exchange settings of all user's widgets
      operationId: user_crypto-acquiring_list-exchange-rules
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CryptoAcquiringExchangeRuleWithProjectInfo'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get list of exchange settings
      tags:
      - crypto-acquiring-exchange
  /v1/user/crypto-acquiring/integrations/options:
    get:
      description: Returns the integrations that can be enabled for the project.
      operationId: user_crypto-acquiring_integration-options
      parameters: []
      responses:
        '200':
          content:
            application/json:
              examples:
                PROJECT_INTEGRATION_OPTIONS:
                  description: Integrations available to be enabled for project
                  summary: Integration options
                  value:
                    options:
                      BINANCE_PAY:
                      - USDT
              schema:
                $ref: '#/components/schemas/CryptoAcquiringIntegrationOptions'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: List available integrations
      tags:
      - crypto-acquiring-projects
  /v1/user/crypto-acquiring/rates:
    get:
      description: Get all rates for crypto-acquiring
      operationId: user_crypto-acquiring-rates
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/RateUser'
                type: array
                uniqueItems: true
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get all rates
      tags:
      - crypto-acquiring-rates
  /v1/user/crypto-acquiring/rates/{baseAsset}/{quoteAsset}:
    get:
      description: Get single rate for crypto-acquiring
      operationId: user_crypto-acquiring-rate
      parameters:
      - description: Base asset
        example: BTC
        in: path
        name: baseAsset
        required: true
        schema:
          description: Base asset
          example: BTC
          type: string
      - description: Quote asset
        example: BTC
        in: path
        name: quoteAsset
        required: true
        schema:
          description: Quote asset
          example: BTC
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get rate
      tags:
      - crypto-acquiring-rates
  /v1/user/crypto-acquiring/refunds:
    get:
      description: Get a list of all user's crypto-acquiring refunds
      operationId: user_crypto-acquiring_list-refunds
      parameters:
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: address
        required: false
        schema:
          description: Search by address
          example: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
          type: string
      - in: query
        name: blockchain
        required: false
        schema:
          description: Search by blockchain
          example:
          - BITCOIN
          items:
            type: string
          type: array
      - in: query
        name: checkoutId
        required: false
        schema:
          description: Search by checkout ID
          example: CCO-e0d33283-3358-4d57-b03b-852137624490
          type: string
      - in: query
        name: clientOrderId
        required: false
        schema:
          description: Search by client order ID
          example: '1234567890'
          type: string
      - in: query
        name: createdAt
        required: false
        schema:
          description: Search by created in time range
          example:
          - '2022-01-01T12:00:00.000Z'
          - '2023-01-01T12:00:00.000Z'
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: currency
        required: false
        schema:
          description: Search by currency
          example:
          - USDT
          items:
            type: string
          type: array
      - in: query
        name: id
        required: false
        schema:
          description: Search by refund ID
          example: CAR-32807e80-c76f-4715-afb1-2b64fdc4618c
          type: string
      - in: query
        name: methodKey
        required: false
        schema:
          description: Search by method key
          example:
          - CRYPTOCOIN
          items:
            type: string
          type: array
      - in: query
        name: projectId
        required: false
        schema:
          description: Search by project ID
          example: CAP-323ab869-95ab-4b3d-a26b-3184140f6f50
          type: string
      - in: query
        name: refundOrderId
        required: false
        schema:
          description: Search by refund order ID
          example: ORD-32807e80-c76f-4715-afb1-2b64fdc4618c
          type: string
      - in: query
        name: refundPaymentId
        required: false
        schema:
          description: Search by refund payment ID
          example: PMT-32807e80-c76f-4715-afb1-2b64fdc4618c
          type: string
      - in: query
        name: requestId
        required: false
        schema:
          description: Search by request ID
          example: CAPD-32807e80-c76f-4715-afb1-2b64fdc4618c
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any params
          example: '1234567890123456'
          type: string
      - in: query
        name: status
        required: false
        schema:
          description: Search by status
          example:
          - PENDING
          items:
            type: string
          type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageCryptoAcquiringRefundUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get all refunds
      tags:
      - crypto-acquiring-refunds
  /v1/user/crypto-acquiring/refunds/{id}:
    get:
      description: Get detailed information about a specific user's crypto-acquiring
        refund
      operationId: user_crypto-acquiring_get-refund
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoAcquiringRefundUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get refund
      tags:
      - crypto-acquiring-refunds
  /v1/user/crypto-acquiring/requests:
    get:
      description: Get a list of all user's crypto-acquiring requests
      operationId: user_crypto-acquiring_list-requests
      parameters:
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: address
        required: false
        schema:
          description: Search by address
          example: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
          type: string
      - in: query
        name: blockchain
        required: false
        schema:
          description: Search by blockchain
          example:
          - BITCOIN
          items:
            type: string
          type: array
      - in: query
        name: checkoutId
        required: false
        schema:
          description: Search by checkout ID
          example: CCO-e0d33283-3358-4d57-b03b-852137624490
          type: string
      - in: query
        name: clientOrderId
        required: false
        schema:
          description: Search by client order ID
          example: '1234567890'
          type: string
      - in: query
        name: createdAt
        required: false
        schema:
          description: Search by created in time range
          example:
          - '2022-01-01T12:00:00.000Z'
          - '2023-01-01T12:00:00.000Z'
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: currency
        required: false
        schema:
          description: Search by currency
          example:
          - BTC
          items:
            type: string
          type: array
      - in: query
        name: id
        required: false
        schema:
          description: Search by request ID
          example: CAPD-32807e80-c76f-4715-afb1-2b64fdc4618c
          type: string
      - in: query
        name: orderId
        required: false
        schema:
          description: Search by order ID
          example: ORD-32807e80-c76f-4715-afb1-2b64fdc4618c
          type: string
      - in: query
        name: projectId
        required: false
        schema:
          description: Search by widget ID
          example: CAP-323ab869-95ab-4b3d-a26b-3184140f6f50
          type: string
      - in: query
        name: projectName
        required: false
        schema:
          description: Search by project name
          example: Project 1
          type: string
      - in: query
        name: reason
        required: false
        schema:
          description: Search by reason
          enum:
          - UNDERPAID
          - OVERPAID
          - OTHER
          - WRONG_CURRENCY
          example: UNDERPAID
          type: string
      - in: query
        name: refunded
        required: false
        schema:
          description: Search by refunded flag
          example: true
          type: boolean
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any params
          example: '1234567890123456'
          type: string
      - in: query
        name: status
        required: false
        schema:
          description: Search by status
          example:
          - CONFLICT
          items:
            type: string
          type: array
      - in: query
        name: tx
        required: false
        schema:
          description: Search by transaction hash
          example: '0xb20f3674d123cac92c51481f0d75f720e558267ae7b1fa802c706a82a75b78ac'
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageCryptoAcquiringRequest'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get all requests
      tags:
      - crypto-acquiring-requests
  /v1/user/crypto-acquiring/requests/{requestId}/refunds:
    post:
      description: Initiate a refund for a specific crypto-acquiring request
      operationId: user_crypto-acquiring_request_create-refund
      parameters:
      - description: Request ID
        example: CAPD-82807e80-c76f-4715-afb0-2b64fdc4618c
        in: path
        name: requestId
        required: true
        schema:
          description: Request ID
          example: CAPD-82807e80-c76f-4715-afb0-2b64fdc4618c
          type: string
      requestBody:
        content:
          application/json:
            examples:
              BINANCE_USDC_REFUND:
                description: Refund to a Binance account with fee deducted from refund
                  amount
                summary: 'Crypto: Binance Pay USDC Refund'
                value:
                  clientOrderId: '1234567890'
                  extractFeeFromBalance: false
              ETHEREUM_USDT_REFUND:
                description: Refund to an Ethereum address with fee deducted from
                  merchant's balance
                summary: 'Crypto: Ethereum USDT Refund'
                value:
                  clientOrderId: '1234567890'
                  cryptoAddress: '0x123456'
                  extractFeeFromBalance: true
            schema:
              $ref: '#/components/schemas/CryptoAcquiringCreateRefundUser'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                BINANCE_USDC_REFUND:
                  description: Refund to a Binance account with fee deducted from
                    refund amount
                  summary: Binance Pay USDC Refund
                  value:
                    amount: 0.04
                    clientOrderId: asdasdasdcz
                    createdAt: '2025-10-16T14:20:47.13166083Z'
                    currency: USDT
                    extractFeeFromBalance: true
                    id: CAR-cd7f57a9-1886-4172-a8ce-8c3fe503ed07
                    methodKey: BINANCE_PAY
                    refundPayment:
                      amount: -0.04
                      authorUserId: OWN-b9b88002-93a7-48df-856c-b9be73dbd5eb
                      clientOrderId: 1x23456789as0s
                      createdAt: '2025-10-16T14:20:47.11387367Z'
                      currency: USDT
                      id: PMT-29696dac-f730-483d-b997-aecd98673cb3
                      initialAmount: -0.04
                      method: BINANCE_PAY
                      orderId: ORD-f00b5c37-9490-455e-a350-7910b97652d7
                      orderType: PAYOUT
                      productType: REFUND
                      status: NEW
                      transactionType: CREDIT
                    request:
                      checkoutId: CCO-196aa3bc-efcd-49cb-8980-e2550001bad0
                      clientOrderId: asdasdasdcz
                      convertPair: USDTUSD
                      convertRate: 0.9994
                      createdAt: '2025-10-16T14:18:33.934991Z'
                      cryptoAcquiringProjectId: CAP-44efa21c-2f5f-44d5-ada2-a65e3d68bf0b
                      cryptoAcquiringProjectName: Binance Pay Refunds
                      currency: USDT
                      expiresAt: '2025-10-16T15:18:31.932205Z'
                      goods: []
                      hidePayerFee: false
                      id: CAPD-bff8e6fc-3979-47ea-a2f0-ec337134910f
                      lastUpdatedAt: '2025-10-16T14:19:23.100382Z'
                      merchantPlatformFee: 0
                      methodKey: BINANCE_PAY
                      orderId: ORD-d43912b2-33f9-47b5-b4ac-9ec0b8645c42
                      overpaid: false
                      paidAmount: 0.04
                      payAmount: 0.04
                      payerPlatformFee: 0
                      payment:
                        amount: 0.04
                        balanceAfterPayment: 24.319
                        createdAt: '2025-10-16T14:18:33.017934Z'
                        cryptoAcquiringCheckoutId: CCO-196aa3bc-efcd-49cb-8980-e2550001bad0
                        cryptoAcquiringDepositRequestId: CAPD-bff8e6fc-3979-47ea-a2f0-ec337134910f
                        cryptoAcquiringProjectId: CAP-44efa21c-2f5f-44d5-ada2-a65e3d68bf0b
                        currency: USDT
                        externalId: '392533195375173633'
                        finalStatusAt: '2025-10-16T14:19:22.390787Z'
                        h2H: false
                        id: PMT-dce5de16-8d45-424c-a47c-8ddf0e662076
                        initialAmount: 0.04
                        method: BINANCE_PAY
                        orderId: ORD-d43912b2-33f9-47b5-b4ac-9ec0b8645c42
                        orderType: PAYIN
                        payUrl: https://pay.binance.com/en/checkout/1213123123
                        productType: ACQUIRING
                        returnUrl: https://paycrypto.inqud.com/checkout/CCO-196aa3bc-efcd-49cb-8980-e2550001bad0
                        status: SUCCESS
                        transactionType: DEBIT
                      paymentId: PMT-dce5de16-8d45-424c-a47c-8ddf0e662076
                      paymentStatus: SUCCESS
                      paymentWindowEndsAt: '2025-10-16T15:18:31.932205Z'
                      processingAmount: 0.04
                      refundable: true
                      refunded: false
                      requestAmount: 0.03
                      requestAmountConverted: 0.04
                      requestAmountIn: USD
                      status: SUCCESS
                      user:
                        createdAt: '2024-11-15T16:54:28.000754Z'
                        email: test@example.com
                        id: CAU-d9de0fd8-d215-4235-9bc2-0060b5d1a215
                    status: PENDING
                ETHEREUM_USDT_REFUND:
                  description: Refund to an Ethereum address with fee deducted from
                    merchant's balance
                  summary: Ethereum USDT Refund
                  value:
                    address: '0x123123'
                    amount: 19.02
                    blockchain: ETHEREUM
                    clientOrderId: 12asdasdasd
                    createdAt: '2025-10-16T14:05:39.123363217Z'
                    currency: USDT
                    extractFeeFromBalance: true
                    id: CAR-4da09cf2-82ce-46aa-9207-f902d2557a7b
                    methodKey: CRYPTOCOIN
                    refundPayment:
                      amount: -19.02
                      authorUserId: OWN-b9b88002-93a7-48df-856c-b9be73dbd5eb
                      clientOrderId: 1x23456789as0
                      createdAt: '2025-10-16T14:05:39.085340557Z'
                      currency: USDT
                      id: PMT-39aeb718-9502-4f40-a73e-cc4d6504c272
                      initialAmount: -19.02
                      method: CRYPTOCOIN
                      orderId: ORD-605df1d2-2105-4758-9868-eab49e23ba4c
                      orderType: PAYOUT
                      productType: REFUND
                      status: NEW
                      transactionType: CREDIT
                    request:
                      address: '0x15215232'
                      blockchain: BSC
                      checkoutId: CCO-d136ea9f-4092-439f-a25e-d72d4e3d1bef
                      clientOrderId: 12asdasdasd
                      convertPair: USDTUSD
                      convertRate: 0.9993
                      createdAt: '2025-10-16T11:34:12.08854Z'
                      cryptoAcquiringProjectId: CAP-44efa21c-2f5f-44d5-ada2-a65e3d68bf0b
                      cryptoAcquiringProjectName: Binance Pay Refunds
                      currency: USDT
                      expiresAt: '2025-10-16T11:44:12.088538Z'
                      goods: []
                      hidePayerFee: false
                      id: CAPD-d10b8928-dd97-4b6e-8b5d-6493f37a17eb
                      lastUpdatedAt: '2025-10-16T11:37:08.489951Z'
                      merchantPlatformFee: 3.01
                      methodKey: CRYPTOCOIN
                      orderId: ORD-dd30e1fb-a242-40be-80bf-d1c7b0a7949b
                      overpaid: false
                      paidAmount: 20.02
                      payAmount: 20.02
                      payerPlatformFee: 0
                      payment:
                        amount: 19.02
                        balanceAfterPayment: 46.619
                        blockchain: ETHEREUM
                        clientOrderId: 12asdasdasd
                        createdAt: '2025-10-16T11:36:05.478761Z'
                        cryptoAcquiringCheckoutId: CCO-d136ea9f-4092-439f-a25e-d72d4e3d1bef
                        cryptoAcquiringDepositRequestId: CAPD-d10b8928-dd97-4b6e-8b5d-6493f37a17eb
                        cryptoAcquiringProjectId: CAP-44efa21c-2f5f-44d5-ada2-a65e3d68bf0b
                        currency: USDT
                        externalId: '0x123532'
                        finalStatusAt: '2025-10-16T11:37:07.299203Z'
                        id: PMT-ac7841b5-8410-41b9-bb7e-b96b263c132e
                        initialAmount: 20.02
                        method: CRYPTOCOIN
                        orderId: ORD-dd30e1fb-a242-40be-80bf-d1c7b0a7949b
                        orderType: PAYIN
                        productType: ACQUIRING
                        recipient: '0x123123'
                        status: SUCCESS
                        transactionType: DEBIT
                      paymentId: PMT-ac7841b5-8410-41b9-bb7e-b96b263c132e
                      paymentStatus: SUCCESS
                      paymentWindowEndsAt: '2025-10-16T11:44:12.088502Z'
                      processingAmount: 17.01
                      reason: WRONG_CURRENCY
                      refundable: true
                      refunded: false
                      requestAmount: 20
                      requestAmountConverted: 20.02
                      requestAmountIn: USD
                      status: CONFLICT
                      txHash: '0x643263'
                    status: PENDING
              schema:
                $ref: '#/components/schemas/CryptoAcquiringRefundUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: 'Request: Create refund'
      tags:
      - crypto-acquiring-refunds
  /v1/user/crypto-acquiring/requests/{requestId}/refunds/data:
    get:
      description: Get information required to create a refund for a specific crypto-acquiring
        request
      operationId: user_crypto-acquiring_request_get-refund-data
      parameters:
      - description: Request ID
        example: CAPD-82807e80-c76f-4715-afb0-2b64fdc4618c
        in: path
        name: requestId
        required: true
        schema:
          description: Request ID
          example: CAPD-82807e80-c76f-4715-afb0-2b64fdc4618c
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                BINANCE_PAY_USDC_REFUND:
                  description: Data for refund to a Binance account
                  summary: Binance Pay USDC Refund
                  value:
                    amount: 10
                    currency: USDC
                    methodId: PMD-3f49298c-7eb6-4f29-9b4e3ad08464
                    methodKey: BINANCE_PAY
                    props:
                      optional: []
                      options: {}
                      required: []
                      requisites: {}
                ETHEREUM_USDT_REFUND:
                  description: Data for refund to an Ethereum address
                  summary: Ethereum USDT Refund
                  value:
                    amount: 10
                    blockchain: ETHEREUM
                    currency: USDT
                    methodId: PMD-1c49298c-7eb6-4f29-9b4e3ad08464
                    methodKey: CRYPTOCOIN
                    props:
                      optional: []
                      options: {}
                      required:
                      - cryptoAddress
                      requisites: {}
              schema:
                $ref: '#/components/schemas/CryptoAcquiringRefundDataUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: 'Request: Get refund data'
      tags:
      - crypto-acquiring-refunds
  /v1/user/crypto-acquiring/requests/{requestId}/refunds/fees:
    get:
      description: Calculate the fee for a refund request
      operationId: user_crypto-acquiring_request_calculate-refund-fee
      parameters:
      - description: Request ID
        example: CAPD-82807e80-c76f-4715-afb0-2b64fdc4618c
        in: path
        name: requestId
        required: true
        schema:
          description: Request ID
          example: CAPD-82807e80-c76f-4715-afb0-2b64fdc4618c
          type: string
      - in: query
        name: cryptoAddress
        required: false
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                BINANCE_PAY_USDC_REFUND:
                  description: Payment fee details for Binance Pay USDC refund
                  summary: Binance Pay USDC Refund
                  value:
                    extractFeeFromAmount:
                      userPay:
                        amount: 11
                        currency: USDC
                      userReceive:
                        amount: 9
                        currency: USDC
                    extractFeeFromBalance:
                      userPay:
                        amount: 10
                        currency: USDC
                      userReceive:
                        amount: 9
                        currency: USDC
                    totalFee:
                      amount: 1
                      currency: USDC
                      fixedFee: 0.3
                      percentFee: 0.7
                    userPay:
                      amount: 10
                      currency: USDC
                    userReceive:
                      amount: 9
                      currency: USDC
                ETHEREUM_USDT_REFUND:
                  description: Payment fee details for Ethereum USDT refund
                  summary: Ethereum USDT Refund
                  value:
                    extractFeeFromAmount:
                      userPay:
                        amount: 12
                        currency: USDT
                      userReceive:
                        amount: 8
                        currency: USDT
                    extractFeeFromBalance:
                      userPay:
                        amount: 10
                        currency: USDT
                      userReceive:
                        amount: 8
                        currency: USDT
                    feeCypher: encrypted_string
                    feeCypherExpiresAt: 1704067200000
                    totalFee:
                      amount: 2
                      currency: USDT
                      fixedFee: 0.3
                      networkFee: 0.2
                      percentFee: 1.5
                    userPay:
                      amount: 10
                      currency: USDT
                    userReceive:
                      amount: 8
                      currency: USDT
              schema:
                $ref: '#/components/schemas/PaymentFeeDetailsUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: 'Request: Get refund fee'
      tags:
      - crypto-acquiring-refunds
  /v1/user/crypto-acquiring/{projectId}:
    delete:
      description: Delete crypto-acquiring widget
      operationId: user_crypto-acquiring_delete-project
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto acquiring project with [CAP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete widget
      tags:
      - crypto-acquiring-projects
    get:
      description: Get crypto-acquiring widget by id
      operationId: user_crypto-acquiring_get-project
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                DYNAMIC_PROJECT_BINANCE_PAY:
                  description: Dynamic addresses project with crypto + Binance Pay
                  summary: Dynamic addresses project (crypto + Binance Pay)
                  value:
                    autoRedirectSecondsOnFail: 15
                    autoRedirectSecondsOnSuccess: 15
                    createdAt: '2026-05-06T12:08:43.947241738Z'
                    cryptoCurrencies:
                    - TRON_USDT
                    - ETHEREUM_USDT
                    - BSC_USDT
                    - SOLANA_USDT
                    - POLYGON_USDT
                    - ARBITRUM_USDT
                    - OPTIMISM_USDT
                    enabled: true
                    hidePayerFee: true
                    id: CAP-46dfa46b-6338-4c33-8e1d-cf7062053f22
                    integrations:
                      BINANCE_PAY: USDT
                    modifiedAt: '2026-05-06T12:08:43.947248421Z'
                    name: Sample project (Crypto + Binance Pay)
                    payerPaysPlatformFee: true
                    type: DYNAMIC_ADDRESSES
                    userId: OWN-89f46f52-453d-4441-9652-1812c61b235c
                DYNAMIC_PROJECT_CRYPTO:
                  description: Dynamic addresses project with crypto only
                  summary: Dynamic addresses project (crypto)
                  value:
                    autoRedirectSecondsOnFail: 15
                    autoRedirectSecondsOnSuccess: 15
                    createdAt: '2026-05-06T12:08:43.947003271Z'
                    cryptoCurrencies:
                    - TRON_USDT
                    - ETHEREUM_USDT
                    - BSC_USDT
                    - SOLANA_USDT
                    - POLYGON_USDT
                    - ARBITRUM_USDT
                    - OPTIMISM_USDT
                    enabled: true
                    hidePayerFee: true
                    id: CAP-46dfa46b-6338-4c33-8e1d-cf7062053f22
                    integrations: {}
                    modifiedAt: '2026-05-06T12:08:43.947016696Z'
                    name: Sample project (Crypto)
                    payerPaysPlatformFee: true
                    type: DYNAMIC_ADDRESSES
                    userId: OWN-89f46f52-453d-4441-9652-1812c61b235c
                STATIC_PROJECT:
                  description: Static addresses project with crypto only
                  summary: Static addresses project (crypto)
                  value:
                    createdAt: '2026-05-06T12:08:43.947304135Z'
                    cryptoCurrencies:
                    - TRON_USDT
                    - ETHEREUM_USDT
                    - BSC_USDT
                    - SOLANA_USDT
                    - POLYGON_USDT
                    - ARBITRUM_USDT
                    - OPTIMISM_USDT
                    enabled: true
                    hidePayerFee: false
                    id: CAP-46dfa46b-6338-4c33-8e1d-cf7062053f22
                    integrations: {}
                    modifiedAt: '2026-05-06T12:08:43.947308584Z'
                    name: Sample project (Crypto static addresses)
                    payerPaysPlatformFee: false
                    type: STATIC_ADDRESSES
                    userId: OWN-89f46f52-453d-4441-9652-1812c61b235c
              schema:
                $ref: '#/components/schemas/CryptoAcquiringProjectUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto acquiring project with [CAP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get widget
      tags:
      - crypto-acquiring-projects
    patch:
      description: Update crypto-acquiring widget
      operationId: user_crypto-acquiring_update-project
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      requestBody:
        content:
          application/json:
            examples:
              DYNAMIC_PROJECT_BINANCE_PAY:
                description: Dynamic addresses project with crypto + Binance Pay
                summary: Dynamic addresses project (crypto + Binance Pay)
                value:
                  autoRedirectSecondsOnFail: 15
                  autoRedirectSecondsOnSuccess: 15
                  cryptoCurrencies:
                  - TRON_USDT
                  - ETHEREUM_USDT
                  - BSC_USDT
                  - SOLANA_USDT
                  - POLYGON_USDT
                  - ARBITRUM_USDT
                  - OPTIMISM_USDT
                  enabled: true
                  hidePayerFee: true
                  integrations:
                    BINANCE_PAY: USDT
                  name: Sample project (Crypto + Binance Pay)
                  payerPaysPlatformFee: true
                  type: DYNAMIC_ADDRESSES
              DYNAMIC_PROJECT_CRYPTO:
                description: Dynamic addresses project with crypto only
                summary: Dynamic addresses project (crypto)
                value:
                  autoRedirectSecondsOnFail: 15
                  autoRedirectSecondsOnSuccess: 15
                  cryptoCurrencies:
                  - TRON_USDT
                  - ETHEREUM_USDT
                  - BSC_USDT
                  - SOLANA_USDT
                  - POLYGON_USDT
                  - ARBITRUM_USDT
                  - OPTIMISM_USDT
                  enabled: true
                  hidePayerFee: true
                  name: Sample project (Crypto)
                  payerPaysPlatformFee: true
                  type: DYNAMIC_ADDRESSES
              STATIC_PROJECT:
                description: Static addresses project with crypto only
                summary: Static addresses project (crypto)
                value:
                  cryptoCurrencies:
                  - TRON_USDT
                  - ETHEREUM_USDT
                  - BSC_USDT
                  - SOLANA_USDT
                  - POLYGON_USDT
                  - ARBITRUM_USDT
                  - OPTIMISM_USDT
                  enabled: true
                  name: Sample project (Crypto static addresses)
                  type: STATIC_ADDRESSES
            schema:
              $ref: '#/components/schemas/CryptoAcquiringProjectUserForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                DYNAMIC_PROJECT_BINANCE_PAY:
                  description: Dynamic addresses project with crypto + Binance Pay
                  summary: Dynamic addresses project (crypto + Binance Pay)
                  value:
                    autoRedirectSecondsOnFail: 15
                    autoRedirectSecondsOnSuccess: 15
                    createdAt: '2026-05-06T12:08:40.321609608Z'
                    cryptoCurrencies:
                    - TRON_USDT
                    - ETHEREUM_USDT
                    - BSC_USDT
                    - SOLANA_USDT
                    - POLYGON_USDT
                    - ARBITRUM_USDT
                    - OPTIMISM_USDT
                    enabled: true
                    hidePayerFee: true
                    id: CAP-46dfa46b-6338-4c33-8e1d-cf7062053f22
                    integrations:
                      BINANCE_PAY: USDT
                    modifiedAt: '2026-05-06T12:08:40.321617042Z'
                    name: Sample project (Crypto + Binance Pay)
                    payerPaysPlatformFee: true
                    type: DYNAMIC_ADDRESSES
                    userId: OWN-89f46f52-453d-4441-9652-1812c61b235c
                DYNAMIC_PROJECT_CRYPTO:
                  description: Dynamic addresses project with crypto only
                  summary: Dynamic addresses project (crypto)
                  value:
                    autoRedirectSecondsOnFail: 15
                    autoRedirectSecondsOnSuccess: 15
                    createdAt: '2026-05-06T12:08:40.321463534Z'
                    cryptoCurrencies:
                    - TRON_USDT
                    - ETHEREUM_USDT
                    - BSC_USDT
                    - SOLANA_USDT
                    - POLYGON_USDT
                    - ARBITRUM_USDT
                    - OPTIMISM_USDT
                    enabled: true
                    hidePayerFee: true
                    id: CAP-46dfa46b-6338-4c33-8e1d-cf7062053f22
                    integrations: {}
                    modifiedAt: '2026-05-06T12:08:40.321476418Z'
                    name: Sample project (Crypto)
                    payerPaysPlatformFee: true
                    type: DYNAMIC_ADDRESSES
                    userId: OWN-89f46f52-453d-4441-9652-1812c61b235c
                STATIC_PROJECT:
                  description: Static addresses project with crypto only
                  summary: Static addresses project (crypto)
                  value:
                    createdAt: '2026-05-06T12:08:40.321692563Z'
                    cryptoCurrencies:
                    - TRON_USDT
                    - ETHEREUM_USDT
                    - BSC_USDT
                    - SOLANA_USDT
                    - POLYGON_USDT
                    - ARBITRUM_USDT
                    - OPTIMISM_USDT
                    enabled: true
                    hidePayerFee: false
                    id: CAP-46dfa46b-6338-4c33-8e1d-cf7062053f22
                    integrations: {}
                    modifiedAt: '2026-05-06T12:08:40.321697633Z'
                    name: Sample project (Crypto static addresses)
                    payerPaysPlatformFee: false
                    type: STATIC_ADDRESSES
                    userId: OWN-89f46f52-453d-4441-9652-1812c61b235c
              schema:
                $ref: '#/components/schemas/CryptoAcquiringProjectUser'
          description: OK
        '400':
          content:
            application/json:
              examples:
                INVALID_VALUE:
                  summary: INVALID_VALUE
                  value:
                    code: INVALID_VALUE
                    details: null
                    message: Incorrect body format. Parameter 'value' is not allowed.
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto acquiring project with [CAP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
        '409':
          content:
            application/json:
              examples:
                ALREADY_EXISTS:
                  summary: ALREADY_EXISTS
                  value:
                    code: ALREADY_EXISTS
                    details: null
                    message: Crypto acquiring project with [Already-existing name]
                      already exists
                CONFLICT:
                  summary: CONFLICT
                  value:
                    code: CONFLICT
                    details: null
                    message: Domain is not approved
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
        '422':
          content:
            application/json:
              examples:
                VALIDATION_FAILED:
                  summary: VALIDATION_FAILED
                  value:
                    code: VALIDATION_FAILED
                    details:
                      LIMIT: '5'
                    message: Validation failed
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNPROCESSABLE_ENTITY
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Update widget
      tags:
      - crypto-acquiring-projects
  /v1/user/crypto-acquiring/{projectId}/checkouts:
    get:
      operationId: user_crypto-acquiring_list-checkouts-project
      parameters:
      - in: path
        name: projectId
        required: true
        schema:
          type: string
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: address
        required: false
        schema:
          description: Search by address
          example: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
          type: string
      - in: query
        name: clientOrderId
        required: false
        schema:
          description: Search by client order ID
          example: '1234567890'
          type: string
      - in: query
        name: createdAt
        required: false
        schema:
          description: Search by creation date range
          example:
          - '2022-01-01T12:00:00.000Z'
          - '2023-01-01T12:00:00.000Z'
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: currency
        required: false
        schema:
          description: Search by currency
          example:
          - BTC
          items:
            type: string
          type: array
      - in: query
        name: id
        required: false
        schema:
          description: Search by checkout ID
          example: CCO-929d6f5d-f26b-3943-bc4f-eabc65781c6c
          type: string
      - in: query
        name: integration
        required: false
        schema:
          description: Search by integration
          enum:
          - CRYPTOCOIN
          - BINANCE_PAY
          - BYBIT_PAY
          example: BINANCE_PAY
          type: string
      - in: query
        name: reason
        required: false
        schema:
          description: Search by reason
          enum:
          - UNDERPAID
          - OVERPAID
          - OTHER
          - WRONG_CURRENCY
          example: UNDERPAID
          type: string
      - in: query
        name: requestId
        required: false
        schema:
          description: Search by request ID
          example: CAPD-e6fab090-aa43-4950-8ce1-bfa859d73b1e
          type: string
      - in: query
        name: requestOrderId
        required: false
        schema:
          description: Search by request order ID
          example: ORD-3daf3f32-04f9-480e-9c14-6d49b5708c8b
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any params
          example: '1234567890123456'
          type: string
      - in: query
        name: status
        required: false
        schema:
          description: Search by status
          example:
          - CONFLICT
          items:
            type: string
          type: array
      - in: query
        name: tx
        required: false
        schema:
          description: Search by transaction hash
          example: '0xb20f3674d123cac92c51481f0d75f720e558267ae7b1fa802c706a82a75b78ac'
          type: string
      - in: query
        name: type
        required: false
        schema:
          description: Search by type
          example:
          - FIXED_PRICE
          items:
            type: string
          type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageCryptoAcquiringCheckout'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto acquiring project with [CAP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get list of the widget checkouts
      tags:
      - crypto-acquiring-checkouts
    post:
      operationId: user_crypto-acquiring_create-checkout
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      requestBody:
        content:
          application/json:
            examples:
              FIXED_PRICE:
                description: Fixed price checkout - 100 USD
                summary: Fixed price checkout
                value:
                  clientOrderId: '1234567890'
                  expiresAt: '2024-12-01T12:00:00Z'
                  fixedAmount:
                    amount: 100
                    currency: USD
                  name: My shopping cart checkout
                  returnUrl: https://example.com/return
                  type: FIXED_PRICE
              NO_PRICE:
                description: No price checkout
                summary: No price checkout
                value:
                  clientOrderId: '1234567890'
                  expiresAt: '2024-12-01T12:00:00Z'
                  name: Balance top up
                  returnUrl: https://example.com/return
                  type: NO_PRICE
              SUGGESTED_FIXED_PRICE:
                description: Suggested fixed price checkout
                summary: Suggested fixed price checkout
                value:
                  clientOrderId: '1234567890'
                  expiresAt: '2024-12-01T12:00:00Z'
                  name: Donation with suggested amounts
                  returnUrl: https://example.com/return
                  type: SUGGESTED_FIXED_PRICE
            schema:
              $ref: '#/components/schemas/CryptoAcquiringCreateCheckout'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                FIXED_PRICE:
                  description: Fixed price checkout - 100 USD
                  summary: Fixed price checkout
                  value:
                    acquiringUrl: https://paycrypto.example.com/checkout/CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                    autoRedirectSecondsOnFail: 10
                    autoRedirectSecondsOnSuccess: 5
                    clientOrderId: '1234567890'
                    createdAt: '2023-01-01T00:00:00Z'
                    cryptoCurrencies:
                    - BITCOIN_BTC
                    cryptoCurrenciesByBlockchain:
                      BITCOIN:
                      - BITCOIN_BTC
                    cryptoCurrencyDetails:
                      BITCOIN_BTC:
                        blockchain: BITCOIN
                        currency: BTC
                        decimals: 8
                        token: false
                    estimatedPayAmounts:
                      BITCOIN_BTC:
                        convertPair: BTCUSD
                        convertRate: 30000
                        estimatedPayAmount: 0.0035
                        estimatedPayerPlatformFee: 3.5e-05
                        payAmountScale: 8
                    expiresAt: '2023-01-01T12:00:00Z'
                    fixedAmount:
                      amount: 100
                      currency: USD
                    goods: []
                    hidePayerFee: false
                    id: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                    integrations: []
                    integrationsEstimatedPayAmounts: {}
                    maxLimits: {}
                    merchantDomain: example.com
                    merchantFixedPlatformFees:
                      BITCOIN_BTC: 0
                    merchantMinPlatformFees:
                      BITCOIN_BTC:
                        amount: 0
                        currency: EUR
                    merchantPercentPlatformFees:
                      BITCOIN_BTC: 0
                    minLimits: {}
                    name: My shop checkout
                    payerFixedPlatformFees:
                      BITCOIN_BTC: 0
                    payerMinPlatformFees:
                      BITCOIN_BTC:
                        amount: 10
                        currency: EUR
                    payerPercentPlatformFees:
                      BITCOIN_BTC: 1
                    projectId: CAP-2741e81a-33e8-4e6f-ba0b-d24bdf247a19
                    projectName: My test project
                    refundable: false
                    refunded: false
                    status: NEW
                    type: FIXED_PRICE
                NO_PRICE:
                  description: No price checkout - top up scenarios
                  summary: No price checkout
                  value:
                    acquiringUrl: https://paycrypto.example.com/checkout/CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                    clientOrderId: '1234567890'
                    createdAt: '2023-01-01T00:00:00Z'
                    cryptoCurrencies:
                    - BITCOIN_BTC
                    cryptoCurrenciesByBlockchain:
                      BITCOIN:
                      - BITCOIN_BTC
                    cryptoCurrencyDetails:
                      BITCOIN_BTC:
                        blockchain: BITCOIN
                        currency: BTC
                        decimals: 8
                        token: false
                    estimatedPayAmounts: {}
                    expiresAt: '2023-01-01T12:00:00Z'
                    goods: []
                    hidePayerFee: false
                    id: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                    integrations: []
                    integrationsEstimatedPayAmounts: {}
                    maxLimits:
                      BITCOIN_BTC: 1
                    merchantDomain: example.com
                    merchantFixedPlatformFees:
                      BITCOIN_BTC: 0
                    merchantMinPlatformFees:
                      BITCOIN_BTC:
                        amount: 0
                        currency: EUR
                    merchantPercentPlatformFees:
                      BITCOIN_BTC: 0
                    minLimits:
                      BITCOIN_BTC: 0.0001
                    name: User balance top up
                    payerFixedPlatformFees:
                      BITCOIN_BTC: 0
                    payerMinPlatformFees:
                      BITCOIN_BTC:
                        amount: 10
                        currency: EUR
                    payerPercentPlatformFees:
                      BITCOIN_BTC: 1
                    projectId: CAP-2741e81a-33e8-4e6f-ba0b-d24bdf247a19
                    projectName: My test project
                    refundable: false
                    refunded: false
                    status: NEW
                    type: NO_PRICE
                SUGGESTED_FIXED_PRICE:
                  description: Suggested fixed price checkout - donation with suggested
                    amounts scenarios
                  summary: Suggested fixed price checkout
                  value:
                    acquiringUrl: https://paycrypto.example.com/checkout/CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                    clientOrderId: '1234567890'
                    createdAt: '2023-01-01T00:00:00Z'
                    cryptoCurrencies:
                    - BITCOIN_BTC
                    cryptoCurrenciesByBlockchain:
                      BITCOIN:
                      - BITCOIN_BTC
                    cryptoCurrencyDetails:
                      BITCOIN_BTC:
                        blockchain: BITCOIN
                        currency: BTC
                        decimals: 8
                        token: false
                    estimatedPayAmounts:
                      BITCOIN_BTC:
                        convertPair: BTCUSD
                        convertRate: 30000
                        payAmountScale: 8
                    expiresAt: '2023-01-01T12:00:00Z'
                    fixedAmount:
                      amount: 5
                      currency: USD
                    goods: []
                    hidePayerFee: false
                    id: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                    integrations: []
                    integrationsEstimatedPayAmounts: {}
                    maxLimits:
                      BITCOIN_BTC: 1
                    merchantDomain: example.com
                    merchantFixedPlatformFees:
                      BITCOIN_BTC: 0
                    merchantMinPlatformFees:
                      BITCOIN_BTC:
                        amount: 0
                        currency: EUR
                    merchantPercentPlatformFees:
                      BITCOIN_BTC: 0
                    minLimits:
                      BITCOIN_BTC: 0.0001
                    name: Donation with suggested amounts
                    payerFixedPlatformFees:
                      BITCOIN_BTC: 0
                    payerMinPlatformFees:
                      BITCOIN_BTC:
                        amount: 10
                        currency: EUR
                    payerPercentPlatformFees:
                      BITCOIN_BTC: 1
                    projectId: CAP-2741e81a-33e8-4e6f-ba0b-d24bdf247a19
                    projectName: My test project
                    refundable: false
                    refunded: false
                    status: NEW
                    suggestedAmounts:
                      allowAnyAmount: true
                      amounts: []
                      currency: USD
                    type: SUGGESTED_FIXED_PRICE
              schema:
                $ref: '#/components/schemas/CryptoAcquiringCheckout'
          description: OK
        '400':
          content:
            application/json:
              examples:
                INVALID_VALUE:
                  summary: INVALID_VALUE
                  value:
                    code: INVALID_VALUE
                    details: null
                    message: Incorrect body format. Parameter 'value' is not allowed.
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto acquiring project with [CAP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '409':
          content:
            application/json:
              examples:
                ALREADY_EXISTS:
                  summary: ALREADY_EXISTS
                  value:
                    code: ALREADY_EXISTS
                    details: null
                    message: Crypto acquiring checkout [CCO-2eb51bd4-6117-437b-b933-502538a9662a]
                      with [some not-unique client order id] already exists
                CONFLICT:
                  summary: CONFLICT
                  value:
                    code: CONFLICT
                    details: null
                    message: No available payment methods
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
        '422':
          content:
            application/json:
              examples:
                VALIDATION_FAILED:
                  summary: VALIDATION_FAILED
                  value:
                    code: VALIDATION_FAILED
                    details: null
                    message: Fix amount is not passed
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNPROCESSABLE_ENTITY
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create checkout
      tags:
      - crypto-acquiring-checkouts
  /v1/user/crypto-acquiring/{projectId}/deposit-options:
    get:
      description: Return information about deposit options available in the widget
      operationId: user_crypto-acquiring_get-deposit-options
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                deposit-request-options:
                  description: Crypto-acquiring request options
                  summary: Request options
                  value:
                    amountInOptions:
                      ETHEREUM_ETH:
                        USD:
                          convertPair: ETHUSD
                          convertRate: 1692.64
                          maxLimit: 8463.2
                          minLimit: 1.69
                      ETHEREUM_USDT:
                        USD:
                          convertPair: USDTUSD
                          convertRate: 1
                          maxLimit: 10000
                          minLimit: 1
                    cryptoCurrencies:
                    - ETHEREUM_ETH
                    - ETHEREUM_USDT
                    integrations:
                    - amountInOptions:
                        USD:
                          convertPair: USDTUSD
                          convertRate: 1
                          maxLimit: 10000
                          minLimit: 1
                      currency: USDT
                      maxLimit: 100000
                      merchantFixedPlatformFees: 0
                      merchantMinPlatformFees: 0
                      merchantPercentPlatformFees: 0
                      methodKey: BINANCE_PAY
                      minLimit: 0.1
                      payerFixedPlatformFees: 0
                      payerMinPlatformFees: 0
                      payerPercentPlatformFees: 1
                    limits:
                      ETHEREUM_ETH:
                        maxLimit: 5
                        minLimit: 0.001
                      ETHEREUM_USDT:
                        maxLimit: 10000
                        minLimit: 1
                    maxLimits:
                      ETHEREUM_ETH: 5
                      ETHEREUM_USDT: 10000
                    merchantFixedPlatformFees:
                      ETHEREUM_ETH: 0
                      ETHEREUM_USDT: 0
                    merchantMinPlatformFees:
                      ETHEREUM_ETH:
                        amount: 0
                        currency: USD
                    merchantPercentPlatformFees:
                      ETHEREUM_ETH: 0
                      ETHEREUM_USDT: 0
                    minLimits:
                      ETHEREUM_ETH: 0.001
                      ETHEREUM_USDT: 1
                    payerFixedPlatformFees:
                      ETHEREUM_ETH: 0
                      ETHEREUM_USDT: 0
                    payerMinPlatformFees:
                      ETHEREUM_ETH:
                        amount: 10
                        currency: USD
                    payerPercentPlatformFees:
                      ETHEREUM_ETH: 1
                      ETHEREUM_USDT: 1
                    suggestedAmounts:
                      allowAnyAmount: true
                      amounts: []
                      currency: USD
              schema:
                $ref: '#/components/schemas/CryptoAcquiringRequestOptions'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto acquiring project with [CAP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
        '409':
          content:
            application/json:
              examples:
                CONFLICT:
                  summary: CONFLICT
                  value:
                    code: CONFLICT
                    details: null
                    message: Crypto acquiring project [CAP-46dfa46b-6338-4c33-8e1d-cf7062053f22]
                      is disabled
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get deposit options
      tags:
      - crypto-acquiring-requests
  /v1/user/crypto-acquiring/{projectId}/exchange-options:
    get:
      description: Get exchange options for given crypto-acquiring widget. The result
        depends on cryptocurrencies turned on in the widget.
      operationId: user_crypto-acquiring_list-exchange-options-project
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                exchange-options:
                  description: Crypto-acquiring automatic exchange options
                  summary: Exchange options
                  value:
                    options:
                      BTC:
                      - USD
                      - EUR
                      ETH:
                      - USD
                      - EUR
                      TRX:
                      - USD
                      - EUR
                      USDT:
                      - USD
                      - EUR
                    optionsByMethodKey:
                      BINANCE_PAY:
                        USDT:
                        - USD
                        - EUR
                      CRYPTOCOIN:
                        BTC:
                        - USD
                        - EUR
                        ETH:
                        - USD
                        - EUR
                        TRX:
                        - USD
                        - EUR
                        USDT:
                        - USD
                        - EUR
              schema:
                $ref: '#/components/schemas/CryptoAcquiringProjectExchangeRuleOptions'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto acquiring project with [CAP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get widget exchange options
      tags:
      - crypto-acquiring-exchange
  /v1/user/crypto-acquiring/{projectId}/exchange-rules:
    get:
      description: Get exchange settings in the widget
      operationId: user_crypto-acquiring_list-exchange-rules-project
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CryptoAcquiringExchangeRule'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto acquiring project with [CAP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get widget exchange settings
      tags:
      - crypto-acquiring-exchange
    post:
      description: Create exchange setting in the widget
      operationId: user_crypto-acquiring_create-exchange-rule
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CryptoAcquiringExchangeRuleForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoAcquiringExchangeRule'
          description: OK
        '400':
          content:
            application/json:
              examples:
                INVALID_VALUE:
                  summary: INVALID_VALUE
                  value:
                    code: INVALID_VALUE
                    details: null
                    message: Incorrect body format. Parameter 'value' is not allowed.
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Exchange settings with [USDTUSD] not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create exchange setting
      tags:
      - crypto-acquiring-exchange
  /v1/user/crypto-acquiring/{projectId}/exchange-rules/{ruleId}:
    delete:
      operationId: user_crypto-acquiring_delete-exchange-rule
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - description: Exchange rule ID
        example: CAER-5e80bb81-f331-4a98-a022-b48b823750f2
        in: path
        name: ruleId
        required: true
        schema:
          description: Exchange rule ID
          example: CAER-5e80bb81-f331-4a98-a022-b48b823750f2
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto acquiring project exchange rule with [OWN-2eb51bd4-6117-437b-b933-502538a9662a/CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22/CAER-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete exchange setting
      tags:
      - crypto-acquiring-exchange
    patch:
      description: Update exchange setting in the widget
      operationId: user_crypto-acquiring_update-exchange-rule
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - description: Exchange rule ID
        example: CAER-5e80bb81-f331-4a98-a022-b48b823750f2
        in: path
        name: ruleId
        required: true
        schema:
          description: Exchange rule ID
          example: CAER-5e80bb81-f331-4a98-a022-b48b823750f2
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CryptoAcquiringExchangeRuleForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoAcquiringExchangeRule'
          description: OK
        '400':
          content:
            application/json:
              examples:
                INVALID_VALUE:
                  summary: INVALID_VALUE
                  value:
                    code: INVALID_VALUE
                    details: null
                    message: Incorrect body format. Parameter 'value' is not allowed.
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Exchange settings with [USDTUSD] not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Update exchange setting
      tags:
      - crypto-acquiring-exchange
  /v1/user/crypto-acquiring/{projectId}/requests:
    get:
      operationId: user_crypto-acquiring_list-project-request
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: address
        required: false
        schema:
          description: Search by address
          example: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
          type: string
      - in: query
        name: blockchain
        required: false
        schema:
          description: Search by blockchain
          example:
          - BITCOIN
          items:
            type: string
          type: array
      - in: query
        name: checkoutId
        required: false
        schema:
          description: Search by checkout ID
          example: CCO-e0d33283-3358-4d57-b03b-852137624490
          type: string
      - in: query
        name: clientOrderId
        required: false
        schema:
          description: Search by client order ID
          example: '1234567890'
          type: string
      - in: query
        name: createdAt
        required: false
        schema:
          description: Search by created in time range
          example:
          - '2022-01-01T12:00:00.000Z'
          - '2023-01-01T12:00:00.000Z'
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: currency
        required: false
        schema:
          description: Search by currency
          example:
          - BTC
          items:
            type: string
          type: array
      - in: query
        name: id
        required: false
        schema:
          description: Search by request ID
          example: CAPD-32807e80-c76f-4715-afb1-2b64fdc4618c
          type: string
      - in: query
        name: orderId
        required: false
        schema:
          description: Search by order ID
          example: ORD-32807e80-c76f-4715-afb1-2b64fdc4618c
          type: string
      - in: query
        name: reason
        required: false
        schema:
          description: Search by reason
          enum:
          - UNDERPAID
          - OVERPAID
          - OTHER
          - WRONG_CURRENCY
          example: UNDERPAID
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any params
          example: '1234567890123456'
          type: string
      - in: query
        name: status
        required: false
        schema:
          description: Search by status
          example:
          - CONFLICT
          items:
            type: string
          type: array
      - in: query
        name: tx
        required: false
        schema:
          description: Search by transaction hash
          example: '0xb20f3674d123cac92c51481f0d75f720e558267ae7b1fa802c706a82a75b78ac'
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageCryptoAcquiringRequest'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto acquiring project with [CAP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get widget requests
      tags:
      - crypto-acquiring-requests
    post:
      description: Create a deposit request
      operationId: user_crypto-acquiring_create-request
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      requestBody:
        content:
          application/json:
            examples:
              BINANCE_PAY:
                description: Binance Pay request with goods and return URLs. The payment
                  will be processed in currency selected in the project for Binance
                  Pay integration.
                summary: Binance Pay
                value:
                  amount: 100
                  amountIn: USDT
                  cancelUrl: https://example.com/cancel
                  clientOrderId: '1234567890'
                  goods:
                  - category: ELECTRONICS_COMPUTERS
                    description: Description of Product 1
                    name: Product 1
                    productId: ABC-12345
                    quantity: 1
                    type: PHYSICAL
                  methodKey: BINANCE_PAY
                  returnUrl: https://example.com/success
              FIXED_PRICE_BTC:
                description: Amount is specified in BTC. User pays in BTC.
                summary: 'Crypto: Fixed price BTC'
                value:
                  amount: 0.01
                  amountIn: BTC
                  clientOrderId: '1234567890'
                  cryptoCurrency: BITCOIN_BTC
                  methodKey: CRYPTOCOIN
              FIXED_PRICE_USD:
                description: Amount is specified in USD. User pays in BTC.
                summary: 'Crypto: Fixed price USD'
                value:
                  amount: 100
                  amountIn: USD
                  clientOrderId: '1234567890'
                  cryptoCurrency: BITCOIN_BTC
                  methodKey: CRYPTOCOIN
              FIXED_PRICE_USDT-TRC20:
                description: Amount is specified in USDT. User pays in USDT.
                summary: 'Crypto: Fixed price USDT-TRC20'
                value:
                  amount: 100
                  amountIn: USDT
                  clientOrderId: '1234567890'
                  cryptoCurrency: TRON_USDT
                  methodKey: CRYPTOCOIN
              NO_PRICE_BTC:
                description: Arbitrary amount. User pays in BTC.
                summary: 'Crypto: BTC deposit'
                value:
                  amountIn: BTC
                  clientOrderId: '1234567890'
                  cryptoCurrency: BITCOIN_BTC
                  methodKey: CRYPTOCOIN
            schema:
              $ref: '#/components/schemas/CryptoAcquiringCreateRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                BINANCE_PAY:
                  description: Binance Pay request with goods and return URLs. The
                    payment will be processed in currency selected in the project
                    for Binance Pay integration.
                  summary: Binance Pay
                  value:
                    clientOrderId: '1234567890'
                    createdAt: '2023-01-01T00:00:00Z'
                    cryptoAcquiringProjectId: CAP-c946098e-2c76-4fbb-92d9-86de57bbe507
                    cryptoAcquiringProjectName: Test project
                    currency: USDT
                    expiresAt: '2023-01-01T02:00:00Z'
                    goods: []
                    hidePayerFee: false
                    id: CAPD-21ab8ea3-c502-4084-b048-6853d1d8b13c
                    merchantFixedPlatformFee: 0
                    merchantPercentPlatformFee: 0
                    merchantPlatformFee: 0
                    methodKey: BINANCE_PAY
                    orderId: ORD-33220fa5-c4ff-404a-9137-69926aea8d07
                    overpaid: false
                    payAmount: 100
                    payerFixedPlatformFee: 0
                    payerPercentPlatformFee: 1
                    payerPlatformFee: 1
                    payment:
                      amount: 99
                      createdAt: '2023-01-01T00:00:00Z'
                      currency: USDT
                      externalId: '379715494877396992'
                      h2H: false
                      id: PMT-fd0e398f-2e56-43b9-ae8e-d455bbcc42b3
                      initialAmount: 100
                      method: BINANCE_PAY
                      orderId: ORD-49f37e9f-0220-45b8-a202-f0aadbc17e66
                      orderType: PAYIN
                      payUrl: https://pay.binance.com/en/checkout/026a30522fe249c89376e9e67455a22d
                      productType: ACQUIRING
                      status: PENDING
                      transactionType: DEBIT
                    paymentId: PMT-fd0e398f-2e56-43b9-ae8e-d455bbcc42b3
                    paymentSession:
                      cancelUrl: https://example.com/cancel
                      deepLink: bnc://app.binance.com/payment/secpay?tempToken=cR7WbOty1Q7YmEhyTyLFr1x165nsVmT6
                      paymentUrl: https://pay.binance.com/en/checkout/026a30522fe249c89376e9e67455a22d
                      qrCodeUrl: https://public.bnbstatic.com/static/payment/20250808/1ebfdx47-f940-4d17-a187-22f8123624b4.jpg
                      returnUrl: https://example.com/success
                      universalUrl: https://app.binance.com/payment/secpay?linkToken=026a30522fe249c89376e9e67455a22d&_dp=Yn5jOi8vYXGwLmJpbmFuY2UuY29tL3CheW1lbnQvc2VjcGF5P3RlbXBUb2tlbj1jUjdXYk90dDFRF1l2RWh5VHlMRnIxeDE2NW1zVm1UNg
                    paymentStatus: PENDING
                    paymentWindowEndsAt: '2023-01-01T01:00:00Z'
                    processingAmount: 99
                    refundable: false
                    refunded: false
                    requestAmount: 100
                    requestAmountIn: USDT
                    status: PENDING_PAYMENT
                FIXED_PRICE_BTC:
                  description: Amount is specified in BTC. User pays in BTC.
                  summary: Fixed price BTC
                  value:
                    address: tb1qzrdu218vvqnan4cncjdcmlq6xrz3qsaccdql1w
                    assetMeta:
                      blockchain: BITCOIN
                      currency: BTC
                      decimals: 8
                      name: BITCOIN_BTC
                    blockchain: BITCOIN
                    clientOrderId: '1234567890'
                    createdAt: '2023-01-01T00:00:00Z'
                    cryptoAcquiringProjectId: CAP-c946098e-2c76-4fbb-92d9-86de57bbe507
                    cryptoAcquiringProjectName: Test project
                    currency: BTC
                    expiresAt: '2023-01-01T02:00:00Z'
                    goods: []
                    hidePayerFee: false
                    id: CAPD-81ab8ea3-c502-4084-b048-6853d1d8b13c
                    merchantFixedPlatformFee: 0
                    merchantPercentPlatformFee: 0
                    merchantPlatformFee: 0
                    methodKey: CRYPTOCOIN
                    orderId: ORD-93220fa5-c4ff-404a-9137-69926aea8d07
                    overpaid: false
                    payAmount: 0.0101
                    payerFixedPlatformFee: 0
                    payerPercentPlatformFee: 1
                    payerPlatformFee: 0.0001
                    paymentWindowEndsAt: '2023-01-01T01:00:00Z'
                    processingAmount: 0.01
                    refundable: false
                    refunded: false
                    requestAmount: 0.01
                    requestAmountIn: BTC
                    status: WAITING_PAYMENT
                FIXED_PRICE_USD:
                  description: Amount is specified in USD. User pays in BTC.
                  summary: Fixed price USD
                  value:
                    address: tb1qzrdu218vvqnan4cncjdcmlq6xrz3qsaccdql1w
                    blockchain: BITCOIN
                    clientOrderId: '1234567890'
                    convertPair: BTCUSD
                    convertRate: 30000
                    createdAt: '2023-01-01T00:00:00Z'
                    cryptoAcquiringProjectId: CAP-c946098e-2c76-4fbb-92d9-86de57bbe507
                    cryptoAcquiringProjectName: Test project
                    currency: BTC
                    expiresAt: '2023-01-01T02:00:00Z'
                    goods: []
                    hidePayerFee: false
                    id: CAPD-21ab8ea3-c502-4084-b048-6853d1d8b13c
                    merchantFixedPlatformFee: 0
                    merchantPercentPlatformFee: 0
                    merchantPlatformFee: 0
                    methodKey: CRYPTOCOIN
                    orderId: ORD-33220fa5-c4ff-404a-9137-69926aea8d07
                    overpaid: false
                    payAmount: 0.003535
                    payerFixedPlatformFee: 0
                    payerPercentPlatformFee: 1
                    payerPlatformFee: 3.5e-05
                    paymentWindowEndsAt: '2023-01-01T01:00:00Z'
                    processingAmount: 0.003535
                    refundable: false
                    refunded: false
                    requestAmount: 100
                    requestAmountConverted: 0.003535
                    requestAmountIn: USD
                    status: WAITING_PAYMENT
                FIXED_PRICE_USDT-TRC20:
                  description: Amount is specified in USDT. User pays in USDT-TRC20.
                  summary: Fixed price USDT-TRC20
                  value:
                    address: TBCZoW6WGKZ3AXvxvfuSTzBi6SQVqWTkWL
                    assetMeta:
                      blockchain: TRON
                      contractAddress: TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t
                      currency: USDT
                      decimals: 6
                      name: TRON_USDT
                      tokenStandard: TRC-20
                    blockchain: TRON
                    clientOrderId: '1234567890'
                    createdAt: '2023-01-01T00:00:00Z'
                    cryptoAcquiringProjectId: CAP-c946098e-2c76-4fbb-92d9-86de57bbe507
                    cryptoAcquiringProjectName: Test project
                    currency: USDT
                    expiresAt: '2023-01-01T02:00:00Z'
                    goods: []
                    hidePayerFee: false
                    id: CAPD-21ab8ea3-c502-4084-b048-6853d1d8b13c
                    merchantFixedPlatformFee: 0
                    merchantPercentPlatformFee: 0
                    merchantPlatformFee: 0
                    methodKey: CRYPTOCOIN
                    orderId: ORD-33220fa5-c4ff-404a-9137-69926aea8d07
                    overpaid: false
                    payAmount: 100
                    payerFixedPlatformFee: 0
                    payerPercentPlatformFee: 1
                    payerPlatformFee: 1
                    paymentWindowEndsAt: '2023-01-01T01:00:00Z'
                    processingAmount: 99
                    refundable: false
                    refunded: false
                    requestAmount: 100
                    requestAmountConverted: 100
                    requestAmountIn: USDT
                    status: WAITING_PAYMENT
                NO_PRICE_BTC:
                  description: Arbitrary amount. User pays in BTC.
                  summary: BTC deposit
                  value:
                    address: tb1qzrdu218vvqnan4cncjdcmlq6xrz3qsaccdql1w
                    blockchain: BITCOIN
                    clientOrderId: '1234567890'
                    createdAt: '2023-01-01T00:00:00Z'
                    cryptoAcquiringProjectId: CAP-c946098e-2c76-4fbb-92d9-86de57bbe507
                    cryptoAcquiringProjectName: Test project
                    currency: BTC
                    expiresAt: '2023-01-01T02:00:00Z'
                    goods: []
                    hidePayerFee: false
                    id: CAPD-91ab8ea3-c502-4084-b048-6853d1d8b13c
                    maxLimit: 1
                    merchantFixedPlatformFee: 0.0001
                    merchantPercentPlatformFee: 0
                    merchantPlatformFee: 0.0001
                    methodKey: CRYPTOCOIN
                    minLimit: 0.0002
                    orderId: ORD-93220fa5-c4ff-404a-9137-69926aea8d07
                    overpaid: false
                    payerFixedPlatformFee: 0
                    payerPercentPlatformFee: 0
                    payerPlatformFee: 0
                    paymentWindowEndsAt: '2023-01-01T01:00:00Z'
                    refundable: false
                    refunded: false
                    status: WAITING_PAYMENT
              schema:
                $ref: '#/components/schemas/CryptoAcquiringRequest'
          description: OK
        '400':
          content:
            application/json:
              examples:
                BAD_REQUEST:
                  summary: BAD_REQUEST
                  value:
                    code: BAD_REQUEST
                    details: null
                    message: Can't create acquiring request. Currency [POLYGON_MATIC]
                      is not enabled for project [CAP-e19a6159-74a2-4bbb-b209-7665e1fc147b]
                INVALID_VALUE:
                  summary: INVALID_VALUE
                  value:
                    code: INVALID_VALUE
                    details: null
                    message: Incorrect body format. Parameter 'value' is not allowed.
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto acquiring project with [CAP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '409':
          content:
            application/json:
              examples:
                ALREADY_EXISTS:
                  summary: ALREADY_EXISTS
                  value:
                    code: ALREADY_EXISTS
                    details: null
                    message: Client Order Id with [some not-unique client order id]
                      already exists
                CONFLICT:
                  summary: CONFLICT
                  value:
                    code: CONFLICT
                    details: null
                    message: Crypto acquiring project [CAP-46dfa46b-6338-4c33-8e1d-cf7062053f22]
                      is disabled
                LIMIT_REACHED:
                  summary: LIMIT_REACHED
                  value:
                    code: LIMIT_REACHED
                    details:
                      LIMIT: '10'
                    message: Addresses limit reached
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
        '422':
          content:
            application/json:
              examples:
                VALIDATION_FAILED:
                  summary: VALIDATION_FAILED
                  value:
                    code: VALIDATION_FAILED
                    details: null
                    message: Can't create acquiring request. Incorrect amount
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNPROCESSABLE_ENTITY
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create request
      tags:
      - crypto-acquiring-requests
  /v1/user/crypto-acquiring/{projectId}/requests/{requestId}:
    get:
      operationId: user_crypto-acquiring_get-request
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - description: Request ID
        example: CAPD-82807e80-c76f-4715-afb0-2b64fdc4618c
        in: path
        name: requestId
        required: true
        schema:
          description: Request ID
          example: CAPD-82807e80-c76f-4715-afb0-2b64fdc4618c
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoAcquiringRequest'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto acquiring deposit with [CAPD-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get request
      tags:
      - crypto-acquiring-requests
  /v1/user/crypto-acquiring/{projectId}/static/bundles:
    get:
      description: Search for static address bundles
      operationId: user_crypto-acquiring-static_search-bundles
      parameters:
      - description: Project ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: id
        required: false
        schema:
          description: Search by static bundle ID
          example: CASB-22dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - in: query
        name: projectId
        required: false
        schema:
          description: Search by project ID
          example: CAP-323ab869-95ab-4b3d-a26b-3184140f6f50
          type: string
      - in: query
        name: projectName
        required: false
        schema:
          description: Search by project name
          example: Project 1
          type: string
      - in: query
        name: referenceId
        required: false
        schema:
          description: Search by reference id
          example: '1234567890123456'
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any params
          example: '1234567890123456'
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageCryptoAcquiringStaticAddressBundleUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Search static address bundles
      tags:
      - crypto-acquiring-static-addresses
    post:
      description: Create a new static address bundle
      operationId: user_crypto-acquiring-static_create-bundle
      parameters:
      - description: Project ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      requestBody:
        content:
          application/json:
            examples:
              BUNDLE_ALL_ENABLED_ASSETS_REQUEST:
                description: 'Crypto-acquiring static address bundle: request all
                  enabled assets'
                summary: Create static addresses for all enabled assets
                value:
                  allEnabledAssets: true
                  referenceId: '1234567890'
              BUNDLE_ETHEREUM_USDT_REQUEST:
                description: 'Crypto-acquiring static address bundle: request single
                  Ethereum USDT address'
                summary: Create ETEHREUM USDT static address
                value:
                  allEnabledAssets: false
                  assets:
                  - ETHEREUM_USDT
                  referenceId: '1234567890'
            schema:
              $ref: '#/components/schemas/CryptoAcquiringStaticBundleRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                BUNDLE_ETHEREUM_USDT_RESPONSE:
                  description: 'Crypto-acquiring static address bundle: single Ethereum
                    USDT address'
                  summary: Bundle of single ETHEREUM USDT
                  value:
                    addresses:
                    - active: true
                      address: '0x1234567890abcdef1234567890abcdef12345678'
                      asset: ETHEREUM_USDT
                      createdAt: '2024-09-01T12:00:00Z'
                      id: UBADR-46dfa42b-6338-4c33-1e1d-cf7062053f22
                      values:
                        fixedFee: 0.3
                        minLimit: 1
                        networkFeeEstimate: 0.5
                        percentFee: 0.1
                    addressesByAsset:
                      ETHEREUM_USDT:
                        active: true
                        address: '0x1234567890abcdef1234567890abcdef12345678'
                        asset: ETHEREUM_USDT
                        createdAt: '2024-09-01T12:00:00Z'
                        id: UBADR-46dfa42b-6338-4c33-1e1d-cf7062053f22
                        values:
                          fixedFee: 0.3
                          minLimit: 1
                          networkFeeEstimate: 0.5
                          percentFee: 0.1
                    assetsMeta:
                      ETHEREUM_USDT:
                        blockchain: ETHEREUM
                        chainId: '1'
                        contractAddress: '0xdAC17F958D2ee523a2206206994597C13D831ec7'
                        currency: USDT
                        decimals: 6
                        name: ETHEREUM_USDT
                        tokenStandard: ERC-20
                    createdAt: '2024-09-01T12:00:00Z'
                    deactivatedAddresses: []
                    deactivatedAddressesByAsset: {}
                    id: CASB-22dfa42b-6338-4c33-1e1d-cf7062053f22
                    referenceId: '1234567890'
                BUNDLE_MULTIPLE_RESPONSE:
                  description: 'Crypto-acquiring static address bundle: multiple addresses'
                  summary: Bundle of multiple addresses
                  value:
                    addresses:
                    - active: true
                      address: '0x1234567890abcdef1234567890abcdef12345678'
                      asset: ETHEREUM_USDT
                      createdAt: '2024-09-01T12:00:00Z'
                      id: UBADR-46dfa42b-6338-4c33-1e1d-cf7062053f22
                      values:
                        fixedFee: 0.3
                        minLimit: 1
                        networkFeeEstimate: 0.5
                        percentFee: 0.1
                    - active: false
                      address: '0x1234567890abcdef1234567890abcdef12345679'
                      asset: ETHEREUM_USDT
                      createdAt: '2024-09-01T12:00:00Z'
                      id: UBADR-45dfa42b-6338-4c33-1e1d-cf7062053f25
                      values:
                        fixedFee: 0.3
                        minLimit: 1
                        networkFeeEstimate: 0.5
                        percentFee: 0.1
                    - active: true
                      address: bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq
                      asset: BITCOIN_BTC
                      createdAt: '2024-09-01T12:00:00Z'
                      id: UBADR-46dfa42b-6338-4c33-1e1d-cf7062053f22
                      values:
                        fixedFee: 3.0e-05
                        minLimit: 0.0001
                        networkFeeEstimate: 5.0e-05
                        percentFee: 0.1
                    addressesByAsset:
                      BITCOIN_BTC:
                        active: true
                        address: bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq
                        asset: BITCOIN_BTC
                        createdAt: '2024-09-01T12:00:00Z'
                        id: UBADR-46dfa42b-6338-4c33-1e1d-cf7062053f22
                        values:
                          fixedFee: 3.0e-05
                          minLimit: 0.0001
                          networkFeeEstimate: 5.0e-05
                          percentFee: 0.1
                      ETHEREUM_USDT:
                        active: true
                        address: '0x1234567890abcdef1234567890abcdef12345678'
                        asset: ETHEREUM_USDT
                        createdAt: '2024-09-01T12:00:00Z'
                        id: UBADR-46dfa42b-6338-4c33-1e1d-cf7062053f22
                        values:
                          fixedFee: 0.3
                          minLimit: 1
                          networkFeeEstimate: 0.5
                          percentFee: 0.1
                    assetsMeta:
                      BITCOIN_BTC:
                        blockchain: BITCOIN
                        currency: BTC
                        decimals: 8
                        name: BITCOIN_BTC
                      ETHEREUM_USDT:
                        blockchain: ETHEREUM
                        chainId: '1'
                        contractAddress: '0xdAC17F958D2ee523a2206206994597C13D831ec7'
                        currency: USDT
                        decimals: 6
                        name: ETHEREUM_USDT
                        tokenStandard: ERC-20
                    createdAt: '2024-09-01T12:00:00Z'
                    deactivatedAddresses:
                    - active: false
                      address: '0x1234567890abcdef1234567890abcdef12345679'
                      asset: ETHEREUM_USDT
                      createdAt: '2024-09-01T12:00:00Z'
                      id: UBADR-45dfa42b-6338-4c33-1e1d-cf7062053f25
                      values:
                        fixedFee: 0.3
                        minLimit: 1
                        networkFeeEstimate: 0.5
                        percentFee: 0.1
                    deactivatedAddressesByAsset:
                      ETHEREUM_USDT:
                      - active: false
                        address: '0x1234567890abcdef1234567890abcdef12345679'
                        asset: ETHEREUM_USDT
                        createdAt: '2024-09-01T12:00:00Z'
                        id: UBADR-45dfa42b-6338-4c33-1e1d-cf7062053f25
                        values:
                          fixedFee: 0.3
                          minLimit: 1
                          networkFeeEstimate: 0.5
                          percentFee: 0.1
                    id: CASB-22dfa42b-6338-4c33-1e1d-cf7062053f22
                    referenceId: '1234567890'
              schema:
                $ref: '#/components/schemas/CryptoAcquiringStaticAddressBundleUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create static address bundle
      tags:
      - crypto-acquiring-static-addresses
  /v1/user/crypto-acquiring/{projectId}/static/bundles/addresses:
    get:
      description: Search for static addresses
      operationId: user_crypto-acquiring-static_search-addresses
      parameters:
      - description: Project ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: address
        required: false
        schema:
          description: Search by address
          example: '0x1234567890123456789012345678901234567890'
          type: string
      - in: query
        name: addressType
        required: false
        schema:
          description: Search by address type(s)
          example:
          - ETHEREUM
          items:
            type: string
          type: array
      - in: query
        name: blockchain
        required: false
        schema:
          description: Search by blockchain(s)
          example:
          - BITCOIN
          items:
            type: string
          type: array
      - in: query
        name: bundleId
        required: false
        schema:
          description: Search by static bundle ID
          example: CASB-22dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - in: query
        name: id
        required: false
        schema:
          description: Search by address ID
          example: UBADR-22dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - in: query
        name: isDeactivated
        required: false
        schema:
          description: Search by deactivated status
          example: true
          type: boolean
      - in: query
        name: referenceId
        required: false
        schema:
          description: Search by reference ID
          example: '1234567890123456'
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any params
          example: '1234567890123456'
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageCryptoAcquiringStaticUniversalAddressUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Search static addresses
      tags:
      - crypto-acquiring-static-addresses
  /v1/user/crypto-acquiring/{projectId}/static/bundles/limits:
    get:
      description: Get limits for static address bundles
      operationId: user_crypto-acquiring-static_get-bundle-limits
      parameters:
      - description: Project ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                BUNDLE_LIMITS_RESPONSE:
                  description: Crypto-acquiring static address bundle limits
                  summary: Bundle limits
                  value:
                    current: 283
                    limit: 10000
              schema:
                $ref: '#/components/schemas/CryptoAcquiringStaticAddressBundleLimitsUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get bundle limits
      tags:
      - crypto-acquiring-static-addresses
  /v1/user/crypto-acquiring/{projectId}/static/bundles/{id}:
    get:
      description: Get a static address bundle
      operationId: user_crypto-acquiring-static_get-bundle
      parameters:
      - description: Project ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - description: Static bundle ID
        example: CASB-22dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: id
        required: true
        schema:
          description: Static bundle ID
          example: CASB-22dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoAcquiringStaticAddressBundleUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get static address bundle
      tags:
      - crypto-acquiring-static-addresses
  /v1/user/crypto-acquiring/{projectId}/static/payments:
    get:
      description: Search for static address payments
      operationId: user_crypto-acquiring-static_search-payments
      parameters:
      - description: Project ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: amount
        required: false
        schema:
          description: Search by amount range
          example:
          - '0.01'
          - '0.1'
          items:
            type: number
          type: array
      - in: query
        name: blockchain
        required: false
        schema:
          description: Search by blockchain(s)
          example:
          - BITCOIN
          items:
            type: string
          type: array
      - in: query
        name: bundleId
        required: false
        schema:
          description: Search by crypto acquiring bundle ID
          example: CASB-1c49298c-7eb6-4f29-9b4e-be6e3ad08464
          type: string
      - in: query
        name: createdAt
        required: false
        schema:
          description: Search by creation date range
          example:
          - '2022-01-01T12:00:00.000Z'
          - '2023-01-01T12:00:00.000Z'
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: currency
        required: false
        schema:
          description: Search by currency or multiple currencies
          example:
          - BTC
          - ETH
          items:
            type: string
          type: array
      - in: query
        name: id
        required: false
        schema:
          description: Search by payment ID
          example: PMT-b2e2df8c-281a-4cc1-2bcf-61b803358f0e
          type: string
      - in: query
        name: orderId
        required: false
        schema:
          description: Search by order ID
          example: ORD-1c49298c-7eb6-4f29-9b4e-be6e3ad08464
          type: string
      - in: query
        name: referenceId
        required: false
        schema:
          description: Search by crypto acquiring reference ID
          example: '1234567890'
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any ID
          example: '1234567890123456'
          type: string
      - in: query
        name: status
        required: false
        schema:
          description: Search by payment status(es)
          example:
          - NEW
          - PENDING
          items:
            type: string
          type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagePayment'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Search static address payments
      tags:
      - crypto-acquiring-static-addresses
  /v1/user/crypto-recurring:
    get:
      description: Get all existing crypto recurring projects
      operationId: user_crypto-recurring_get-projects
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CryptoRecurringProjectUser'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get all projects
      tags:
      - crypto-recurring-projects
    post:
      description: Create a new crypto recurring project
      operationId: user_crypto-recurring_create-project
      parameters: []
      requestBody:
        content:
          application/json:
            examples:
              PROJECT:
                description: Project
                summary: Project
                value:
                  currencies:
                  - ETHEREUM_USDT
                  - BSC_USDT
                  name: Test project
            schema:
              $ref: '#/components/schemas/CryptoRecurringProjectForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                PROJECT:
                  description: Project
                  summary: Project
                  value:
                    createdAt: '2024-12-01T12:00:00Z'
                    currencies:
                    - ETHEREUM_USDT
                    - BSC_USDT
                    id: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    modifiedAt: '2024-12-01T12:00:00Z'
                    name: Test project
              schema:
                $ref: '#/components/schemas/CryptoRecurringProjectUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create project
      tags:
      - crypto-recurring-projects
  /v1/user/crypto-recurring/authorizations:
    get:
      description: Search existing crypto recurring authorizations
      operationId: user_crypto-recurring_get-authorizations
      parameters:
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: blockchain
        required: false
        schema:
          description: List of blockchains
          example:
          - '[ETHEREUM'
          - ' TRON]'
          items:
            type: string
          type: array
      - in: query
        name: currency
        required: false
        schema:
          description: List of currencies
          example:
          - '[USDT'
          - ' BTC]'
          items:
            type: string
          type: array
      - in: query
        name: grantedAt
        required: false
        schema:
          description: Granted at from to
          example:
          - '[2024-12-19T12:00:00.123456+03:00'
          - ' 2024-12-31T12:00:00.123456+03:00]'
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: id
        required: false
        schema:
          description: Id
          example: AGR-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: initApprovalTx
        required: false
        schema:
          description: Transaction hash
          example: '0xb20f3674d123cac92c51481f0d75f720e558267ae7b1fa802c706a82a75b78ac'
          type: string
      - in: query
        name: planId
        required: false
        schema:
          description: Plan Id
          example: PLAN-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: projectId
        required: false
        schema:
          description: Widget Id
          example: CAP-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any params
          example: '1234567890123456'
          type: string
      - in: query
        name: status
        required: false
        schema:
          description: List of statuses
          example:
          - '[GRANTED'
          - ' REVOKED]'
          items:
            type: string
          type: array
      - in: query
        name: subscriptionId
        required: false
        schema:
          description: Subscription Id
          example: SUB-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: wallet
        required: false
        schema:
          description: Address
          example: tb1qzrdu918vvqnan4cncjdcmlq6xrz8qsaccdql2w
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageCryptoRecurringAuthorizationUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Search authorizations
      tags:
      - crypto-recurring-authorizations
  /v1/user/crypto-recurring/authorizations/{authorizationId}:
    delete:
      description: Revoke existing crypto recurring authorization
      operationId: user_crypto-recurring_delete-authorization
      parameters:
      - in: path
        name: authorizationId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CryptoRecurringAuthorizationWeb3'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Revoke authorization
      tags:
      - crypto-recurring-authorizations
    get:
      description: Get crypto recurring authorization
      operationId: user_crypto-recurring_get-authorization
      parameters:
      - in: path
        name: authorizationId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                AUTHORIZATION:
                  description: Authorization  - ETHEREUM USDT
                  summary: 'Authorization '
                  value:
                    clientOrderId: '1234567890'
                    cryptoCurrency: ETHEREUM_USDT
                    id: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
                    initApprovalTx: c2544dd6e1c53529b877682127d16cff524f2867a57c5cc204e42eb2573e02e0
                    planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    planName: Test plan
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    status: GRANTED
                    subscriptionId: SUB-c42e310f-1d05-4790-9293-27edbbecb3d9
                    wallet: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
              schema:
                $ref: '#/components/schemas/CryptoRecurringAuthorizationUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get authorization
      tags:
      - crypto-recurring-authorizations
  /v1/user/crypto-recurring/authorizations/{authorizationId}/balance:
    get:
      description: Get crypto recurring authorization balance
      operationId: user_crypto-recurring_get-authorization-balance
      parameters:
      - in: path
        name: authorizationId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                AUTHORIZATION_BALANCE:
                  description: Authorization Balance - ETHEREUM USDT
                  summary: Authorization Balance
                  value:
                    approval: 0.3
                    balance: 0.5
                    blockchain: ETHEREUM
                    cryptoCurrency: ETHEREUM_USDT
                    currency: USDT
                    transferable: 0.3
                    wallet: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
              schema:
                $ref: '#/components/schemas/CryptoRecurringAuthorizationBalanceUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get authorization balance
      tags:
      - crypto-recurring-authorizations
  /v1/user/crypto-recurring/exchange-options:
    get:
      description: List of all exchange options available to be configured in projects
      operationId: user_crypto-recurring_list-exchange-options
      parameters: []
      responses:
        '200':
          content:
            application/json:
              examples:
                exchange-options:
                  description: Automatic exchange options
                  summary: Exchange options
                  value:
                    options:
                      USDC:
                      - USD
                      - EUR
                      - UAH
                      USDT:
                      - USD
                      - EUR
              schema:
                $ref: '#/components/schemas/AutoExchangeRuleOptions'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get list of exchange options
      tags:
      - crypto-recurring-exchange
  /v1/user/crypto-recurring/exchange-rules:
    get:
      description: List of exchange settings of all user's projects
      operationId: user_crypto-recurring_list-exchange-rules
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CryptoRecurringExchangeRuleWithProjectInfo'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get list of exchange settings
      tags:
      - crypto-recurring-exchange
  /v1/user/crypto-recurring/invoices:
    get:
      description: Get crypto recurring invoices
      operationId: user_crypto-recurring_get-invoices
      parameters:
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: authorizationId
        required: false
        schema:
          description: Authorization Id
          example: AGR-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: authorizationWallet
        required: false
        schema:
          description: Address
          example: tb1qzrdu918vvqnan4cncjdcmlq6xrz8qsaccdql2w
          type: string
      - in: query
        name: clientOrderId
        required: false
        schema:
          description: Client supplied order ID. Should be unique for every request
            in scope of project. Maximum 256 symbols
          example: '1234567890'
          type: string
      - in: query
        name: createdAt
        required: false
        schema:
          description: Created at from to
          example:
          - '[2024-12-19T12:00:00.123456+03:00'
          - ' 2024-12-31T12:00:00.123456+03:00]'
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: currency
        required: false
        schema:
          description: List of currencies
          example:
          - '[USDT'
          - ' BTC]'
          items:
            type: string
          type: array
      - in: query
        name: id
        required: false
        schema:
          description: Id
          example: INV-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: paymentIntentId
        required: false
        schema:
          example: null
          type: string
      - in: query
        name: planId
        required: false
        schema:
          description: Plan Id
          example: PLAN-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any params
          example: '1234567890123456'
          type: string
      - in: query
        name: status
        required: false
        schema:
          description: List of statuses
          example:
          - '[SUCCESS'
          - ' FAILED]'
          items:
            type: string
          type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageCryptoRecurringInvoiceUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get invoices
      tags:
      - crypto-recurring-invoices
    post:
      description: Create crypto recurring invoice
      operationId: user_crypto-recurring_create-invoice
      parameters: []
      requestBody:
        content:
          application/json:
            examples:
              CRYPTO_INVOICE:
                description: Crypto price invoice - 50 USDT
                summary: Crypto price invoice
                value:
                  amount: 50
                  authorizationId: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
                  clientOrderId: '1234567890'
                  currency: USDT
                  expiredAt: '2024-12-01T12:00:00Z'
                  failFast: false
              FAIL_FAST_INVOICE:
                description: Fail fast invoice - 100 USD
                summary: Fail fast invoice
                value:
                  amount: 100
                  authorizationId: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
                  clientOrderId: '1234567890'
                  currency: USD
                  failFast: true
              FIAT_INVOICE:
                description: Fiat price invoice - 701250 KZT
                summary: Fiat price invoice
                value:
                  amount: 701250
                  authorizationId: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
                  clientOrderId: '1234567890'
                  currency: KZT
                  failFast: false
            schema:
              $ref: '#/components/schemas/CryptoRecurringCreateInvoiceRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                CRYPTO_INVOICE:
                  description: Crypto price invoice - 50 USDT
                  summary: Crypto price invoice
                  value:
                    amount: 50
                    authorizationId: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
                    authorizationWallet: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
                    clientOrderId: '1234567890'
                    createdAt: '2024-12-01T12:00:00Z'
                    currency: USDT
                    expiredAt: '2024-12-01T12:00:00Z'
                    failFast: false
                    id: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                    modifiedAt: '2024-12-01T12:00:00Z'
                    paymentIntents:
                    - amount: 50
                      createdAt: '2024-12-01T12:00:00Z'
                      currency: BSC_USDT
                      id: INTENT-b870f5f4-417c-466a-b630-f6b81724b951
                      invoiceId: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                      modifiedAt: '2024-12-01T12:00:00Z'
                      pair: ETHUSDT
                      payoutId: BPAY-62ddf64b-2474-4379-8c83-566ba52dfc44
                      planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                      planName: Test Plan
                      projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                      rate: 3000
                      status: SUCCESS
                      transaction:
                        amount: 50
                        blockchain: BSC
                        cryptoCurrency: BSC_USDT
                        currency: USDT
                        to: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
                        tx: '0xb20f3674d123cac92c51481f0d75f720e558267ae7b1fa802c706a82a75b78ac'
                        txCreatedAt: '2024-12-01T12:00:00Z'
                        txLink: https://somebtcexplorer.com/tx/c2544dd6e2c53529b827682123d16cff524f2867a57c5cc204e42eb2573e02e0
                    planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    planName: Test Plan
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    status: NEW
                FAIL_FAST_INVOICE:
                  description: Fail fast invoice - 100 USD
                  summary: Fail fast invoice
                  value:
                    amount: 100
                    authorizationId: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
                    authorizationWallet: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
                    clientOrderId: '1234567890'
                    createdAt: '2024-12-01T12:00:00Z'
                    currency: USD
                    expiredAt: '2024-12-01T12:00:00Z'
                    failFast: true
                    id: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                    modifiedAt: '2024-12-01T12:00:00Z'
                    paymentIntents:
                    - amount: 50
                      createdAt: '2024-12-01T12:00:00Z'
                      currency: BSC_USDT
                      id: INTENT-b870f5f4-417c-466a-b630-f6b81724b951
                      invoiceId: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                      modifiedAt: '2024-12-01T12:00:00Z'
                      pair: ETHUSDT
                      payoutId: BPAY-62ddf64b-2474-4379-8c83-566ba52dfc44
                      planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                      planName: Test Plan
                      projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                      rate: 3000
                      status: SUCCESS
                      transaction:
                        amount: 50
                        blockchain: BSC
                        cryptoCurrency: BSC_USDT
                        currency: USDT
                        to: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
                        tx: '0xb20f3674d123cac92c51481f0d75f720e558267ae7b1fa802c706a82a75b78ac'
                        txCreatedAt: '2024-12-01T12:00:00Z'
                        txLink: https://somebtcexplorer.com/tx/c2544dd6e2c53529b827682123d16cff524f2867a57c5cc204e42eb2573e02e0
                    planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    planName: Test Plan
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    status: NEW
                FIAT_INVOICE:
                  description: Fiat price invoice - 701250 KZT
                  summary: Fiat price invoice
                  value:
                    amount: 701250
                    authorizationId: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
                    authorizationWallet: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
                    clientOrderId: '1234567890'
                    createdAt: '2024-12-01T12:00:00Z'
                    currency: KZT
                    expiredAt: '2024-12-01T12:00:00Z'
                    failFast: false
                    id: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                    modifiedAt: '2024-12-01T12:00:00Z'
                    paymentIntents:
                    - amount: 1500
                      createdAt: '2024-12-01T12:00:00Z'
                      currency: ETHEREUM_USDT
                      id: INTENT-b870f5f4-417c-466a-b630-f6b81724b951
                      invoiceId: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                      modifiedAt: '2024-12-01T12:00:00Z'
                      pair: KZTUSDT
                      payoutId: BPAY-62ddf64b-2474-4379-8c83-566ba52dfc44
                      planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                      planName: Test Plan
                      projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                      rate: 467.5
                      status: SUCCESS
                      transaction:
                        amount: 50
                        blockchain: BSC
                        cryptoCurrency: BSC_USDT
                        currency: USDT
                        to: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
                        tx: '0xb20f3674d123cac92c51481f0d75f720e558267ae7b1fa802c706a82a75b78ac'
                        txCreatedAt: '2024-12-01T12:00:00Z'
                        txLink: https://somebtcexplorer.com/tx/c2544dd6e2c53529b827682123d16cff524f2867a57c5cc204e42eb2573e02e0
                    planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    planName: Test Plan
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    status: NEW
              schema:
                $ref: '#/components/schemas/CryptoRecurringInvoiceUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create invoice
      tags:
      - crypto-recurring-invoices
  /v1/user/crypto-recurring/invoices/{invoiceId}:
    get:
      description: Get crypto recurring invoice
      operationId: user_crypto-recurring_get-invoice
      parameters:
      - in: path
        name: invoiceId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                CRYPTO_INVOICE:
                  description: Crypto price invoice - 50 USDT
                  summary: Crypto price invoice
                  value:
                    amount: 50
                    authorizationId: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
                    authorizationWallet: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
                    clientOrderId: '1234567890'
                    createdAt: '2024-12-01T12:00:00Z'
                    currency: USDT
                    expiredAt: '2024-12-01T12:00:00Z'
                    failFast: false
                    id: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                    modifiedAt: '2024-12-01T12:00:00Z'
                    paymentIntents:
                    - amount: 50
                      createdAt: '2024-12-01T12:00:00Z'
                      currency: BSC_USDT
                      id: INTENT-b870f5f4-417c-466a-b630-f6b81724b951
                      invoiceId: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                      modifiedAt: '2024-12-01T12:00:00Z'
                      pair: ETHUSDT
                      payoutId: BPAY-62ddf64b-2474-4379-8c83-566ba52dfc44
                      planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                      planName: Test Plan
                      projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                      rate: 3000
                      status: SUCCESS
                      transaction:
                        amount: 50
                        blockchain: BSC
                        cryptoCurrency: BSC_USDT
                        currency: USDT
                        to: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
                        tx: '0xb20f3674d123cac92c51481f0d75f720e558267ae7b1fa802c706a82a75b78ac'
                        txCreatedAt: '2024-12-01T12:00:00Z'
                        txLink: https://somebtcexplorer.com/tx/c2544dd6e2c53529b827682123d16cff524f2867a57c5cc204e42eb2573e02e0
                    planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    planName: Test Plan
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    status: NEW
                FAIL_FAST_INVOICE:
                  description: Fail fast invoice - 100 USD
                  summary: Fail fast invoice
                  value:
                    amount: 100
                    authorizationId: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
                    authorizationWallet: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
                    clientOrderId: '1234567890'
                    createdAt: '2024-12-01T12:00:00Z'
                    currency: USD
                    expiredAt: '2024-12-01T12:00:00Z'
                    failFast: true
                    id: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                    modifiedAt: '2024-12-01T12:00:00Z'
                    paymentIntents:
                    - amount: 50
                      createdAt: '2024-12-01T12:00:00Z'
                      currency: BSC_USDT
                      id: INTENT-b870f5f4-417c-466a-b630-f6b81724b951
                      invoiceId: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                      modifiedAt: '2024-12-01T12:00:00Z'
                      pair: ETHUSDT
                      payoutId: BPAY-62ddf64b-2474-4379-8c83-566ba52dfc44
                      planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                      planName: Test Plan
                      projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                      rate: 3000
                      status: SUCCESS
                      transaction:
                        amount: 50
                        blockchain: BSC
                        cryptoCurrency: BSC_USDT
                        currency: USDT
                        to: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
                        tx: '0xb20f3674d123cac92c51481f0d75f720e558267ae7b1fa802c706a82a75b78ac'
                        txCreatedAt: '2024-12-01T12:00:00Z'
                        txLink: https://somebtcexplorer.com/tx/c2544dd6e2c53529b827682123d16cff524f2867a57c5cc204e42eb2573e02e0
                    planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    planName: Test Plan
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    status: NEW
                FIAT_INVOICE:
                  description: Fiat price invoice - 701250 KZT
                  summary: Fiat price invoice
                  value:
                    amount: 701250
                    authorizationId: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
                    authorizationWallet: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
                    clientOrderId: '1234567890'
                    createdAt: '2024-12-01T12:00:00Z'
                    currency: KZT
                    expiredAt: '2024-12-01T12:00:00Z'
                    failFast: false
                    id: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                    modifiedAt: '2024-12-01T12:00:00Z'
                    paymentIntents:
                    - amount: 1500
                      createdAt: '2024-12-01T12:00:00Z'
                      currency: ETHEREUM_USDT
                      id: INTENT-b870f5f4-417c-466a-b630-f6b81724b951
                      invoiceId: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                      modifiedAt: '2024-12-01T12:00:00Z'
                      pair: KZTUSDT
                      payoutId: BPAY-62ddf64b-2474-4379-8c83-566ba52dfc44
                      planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                      planName: Test Plan
                      projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                      rate: 467.5
                      status: SUCCESS
                      transaction:
                        amount: 50
                        blockchain: BSC
                        cryptoCurrency: BSC_USDT
                        currency: USDT
                        to: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
                        tx: '0xb20f3674d123cac92c51481f0d75f720e558267ae7b1fa802c706a82a75b78ac'
                        txCreatedAt: '2024-12-01T12:00:00Z'
                        txLink: https://somebtcexplorer.com/tx/c2544dd6e2c53529b827682123d16cff524f2867a57c5cc204e42eb2573e02e0
                    planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    planName: Test Plan
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    status: NEW
              schema:
                $ref: '#/components/schemas/CryptoRecurringInvoiceUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get invoice
      tags:
      - crypto-recurring-invoices
  /v1/user/crypto-recurring/invoices/{invoiceId}/payment-intents:
    get:
      description: Get crypto recurring intents
      operationId: user_crypto-recurring_get-intents
      parameters:
      - in: path
        name: invoiceId
        required: true
        schema:
          type: string
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CryptoRecurringPaymentIntentUser'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get intents
      tags:
      - crypto-recurring-intents
  /v1/user/crypto-recurring/payment-intents:
    get:
      description: Search crypto recurring intents
      operationId: user_crypto-recurring_search-intents
      parameters:
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: blockchain
        required: false
        schema:
          description: List of blockchains
          example:
          - '[ETHEREUM'
          - ' TRON]'
          items:
            type: string
          type: array
      - in: query
        name: createdAt
        required: false
        schema:
          description: Created at from to
          example:
          - '[2024-12-19T12:00:00.123456+03:00'
          - ' 2024-12-31T12:00:00.123456+03:00]'
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: currency
        required: false
        schema:
          description: List of currencies
          example:
          - '[USDT'
          - ' BTC]'
          items:
            type: string
          type: array
      - in: query
        name: id
        required: false
        schema:
          description: Id
          example: INTENT-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: invoiceId
        required: false
        schema:
          description: Invoice Id
          example: INV-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any params
          example: '1234567890123456'
          type: string
      - in: query
        name: status
        required: false
        schema:
          description: List of statuses
          example:
          - '[PENDING'
          - ' SUCCESS]'
          items:
            type: string
          type: array
      - in: query
        name: transactionId
        required: false
        schema:
          description: Transaction Id
          example: BPAY-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: userId
        required: false
        schema:
          description: User Id
          example: OWN-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageCryptoRecurringPaymentIntentUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Search intents
      tags:
      - crypto-recurring-intents
  /v1/user/crypto-recurring/plans/currencies:
    get:
      description: Get currencies that can be used in crypto-recurring plans
      operationId: user_crypto-recurring_get-plan-currencies
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoRecurringSupportedPlanCurrenciesUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get available plan currencies
      tags:
      - crypto-recurring-plans
  /v1/user/crypto-recurring/plans/{planId}:
    get:
      description: Get crypto recurring plan
      operationId: user_crypto-recurring_get-plan
      parameters:
      - in: path
        name: planId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoRecurringPlanUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get plan
      tags:
      - crypto-recurring-plans
  /v1/user/crypto-recurring/subscriptions:
    get:
      description: Get existing crypto recurring subscriptions
      operationId: user_crypto-recurring_get-subscriptions
      parameters:
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: authorizationId
        required: false
        schema:
          description: Authorization Id
          example: AGR-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: authorizationWallet
        required: false
        schema:
          description: Address
          example: tb1qzrdu918vvqnan4cncjdcmlq6xrz8qsaccdql2w
          type: string
      - in: query
        name: clientOrderId
        required: false
        schema:
          description: Client supplied order ID. Should be unique for every request
            in scope of project. Maximum 256 symbols
          example: '1234567890'
          type: string
      - in: query
        name: createdAt
        required: false
        schema:
          description: Created at from to
          example:
          - '[2024-12-19T12:00:00.123456+03:00'
          - ' 2024-12-31T12:00:00.123456+03:00]'
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: endAt
        required: false
        schema:
          description: End at from to
          example:
          - '[2024-12-19T12:00:00.123456+03:00'
          - ' 2024-12-31T12:00:00.123456+03:00]'
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: id
        required: false
        schema:
          description: Id
          example: SUB-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: planId
        required: false
        schema:
          description: Plan Id
          example: PLAN-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: projectId
        required: false
        schema:
          description: Widget Id
          example: CAP-2eb51bd4-6117-437b-b933-502538a9662a
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any params
          example: '1234567890123456'
          type: string
      - in: query
        name: status
        required: false
        schema:
          description: List of statuses
          example:
          - '[ACTIVE'
          - ' EXPIRED]'
          items:
            type: string
          type: array
      - in: query
        name: subStatus
        required: false
        schema:
          description: List of substatuses
          example:
          - '[UNPAID'
          - ' RENEWING]'
          items:
            type: string
          type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageCryptoRecurringSubscriptionUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get all subscriptions
      tags:
      - crypto-recurring-subscriptions
  /v1/user/crypto-recurring/subscriptions/{subscriptionId}:
    delete:
      description: Delete crypto recurring subscription
      operationId: user_crypto-recurring_delete-subscription
      parameters:
      - description: Authorization ID
        example: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
        in: path
        name: subscriptionId
        required: true
        schema:
          description: Authorization ID
          example: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoRecurringSubscriptionUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete subscription by id
      tags:
      - crypto-recurring-subscriptions
    get:
      description: Get crypto recurring subscription
      operationId: user_crypto-recurring_get-subscription
      parameters:
      - description: Authorization ID
        example: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
        in: path
        name: subscriptionId
        required: true
        schema:
          description: Authorization ID
          example: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                SUBSCRIPTION:
                  description: Active Subscription
                  summary: Active Subscription
                  value:
                    activeInvoice:
                      amount: 50
                      authorizationId: AGR-55502ab7-d322-465e-b856-51f0ca077dd2
                      authorizationWallet: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
                      clientOrderId: '1234567890'
                      createdAt: '2024-12-01T12:00:00Z'
                      currency: USDT
                      expiredAt: '2024-12-01T12:00:00Z'
                      failFast: false
                      id: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                      modifiedAt: '2024-12-01T12:00:00Z'
                      paymentIntents:
                      - amount: 50
                        createdAt: '2024-12-01T12:00:00Z'
                        currency: BSC_USDT
                        id: INTENT-b870f5f4-417c-466a-b630-f6b81724b951
                        invoiceId: INV-d43aca53-8e55-4721-b64f-af71af812aa6
                        modifiedAt: '2024-12-01T12:00:00Z'
                        pair: ETHUSDT
                        payoutId: BPAY-62ddf64b-2474-4379-8c83-566ba52dfc44
                        planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                        planName: Test Plan
                        projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                        rate: 3000
                        status: SUCCESS
                        transaction:
                          amount: 50
                          blockchain: BSC
                          cryptoCurrency: BSC_USDT
                          currency: USDT
                          to: '0xbcc7d123261dc8417b559f2e6bc449aaf7201a61'
                          tx: '0xb20f3674d123cac92c51481f0d75f720e558267ae7b1fa802c706a82a75b78ac'
                          txCreatedAt: '2024-12-01T12:00:00Z'
                          txLink: https://somebtcexplorer.com/tx/c2544dd6e2c53529b827682123d16cff524f2867a57c5cc204e42eb2573e02e0
                      planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                      planName: Test Plan
                      projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                      status: NEW
                    authorizationIds:
                    - AGR-55502ab7-d322-465e-b856-51f0ca077dd2
                    - AGR-45502ab7-d322-465e-b856-51f0ca077dd1
                    authorizationWallet: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
                    clientOrderId: '1234567890'
                    createdAt: '2024-12-01T12:00:00Z'
                    endAt: '2025-12-01T12:00:00Z'
                    id: SUB-c42e310f-1d05-4790-9293-27edbbecb3d9
                    modifiedAt: '2024-12-01T12:00:00Z'
                    nextWriteOffAt: '2025-01-01T12:00:00Z'
                    planId: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    planName: Test Plan
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    startedAt: '2024-12-01T12:00:00Z'
                    status: ACTIVE
                    subStatus: GRACE_PERIOD
                    userId: OWN-89f46f52-453d-4441-9652-1812c61b235c
              schema:
                $ref: '#/components/schemas/CryptoRecurringSubscriptionUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get subscription by id
      tags:
      - crypto-recurring-subscriptions
  /v1/user/crypto-recurring/{projectId}:
    delete:
      description: Delete existing crypto recurring project
      operationId: user_crypto-recurring_delete-project
      parameters:
      - in: path
        name: projectId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete project
      tags:
      - crypto-recurring-projects
    get:
      description: Get crypto recurring project
      operationId: user_crypto-recurring_get-project
      parameters:
      - in: path
        name: projectId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoRecurringProjectUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get project
      tags:
      - crypto-recurring-projects
    patch:
      description: Update a new crypto recurring project
      operationId: user_crypto-recurring_update-project
      parameters:
      - in: path
        name: projectId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            examples:
              PROJECT:
                description: Project
                summary: Project
                value:
                  currencies:
                  - ETHEREUM_USDT
                  - BSC_USDT
                  name: Test project
            schema:
              $ref: '#/components/schemas/CryptoRecurringProjectForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                PROJECT:
                  description: Project
                  summary: Project
                  value:
                    createdAt: '2024-12-01T12:00:00Z'
                    currencies:
                    - ETHEREUM_USDT
                    - BSC_USDT
                    id: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    modifiedAt: '2024-12-01T12:00:00Z'
                    name: Test project
              schema:
                $ref: '#/components/schemas/CryptoRecurringProjectUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Update project
      tags:
      - crypto-recurring-projects
  /v1/user/crypto-recurring/{projectId}/exchange-options:
    get:
      description: Get exchange options for given crypto-recurring project. The result
        depends on cryptocurrencies turned on in the project.
      operationId: user_crypto-recurring_list-exchange-options-project
      parameters:
      - description: Project ID
        example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                exchange-options:
                  description: Automatic exchange options
                  summary: Exchange options
                  value:
                    options:
                      USDC:
                      - USD
                      - EUR
                      - UAH
                      USDT:
                      - USD
                      - EUR
              schema:
                $ref: '#/components/schemas/AutoExchangeRuleOptions'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto recurring project with [CRP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get project exchange options
      tags:
      - crypto-recurring-exchange
  /v1/user/crypto-recurring/{projectId}/exchange-rules:
    get:
      description: Get exchange settings in the project
      operationId: user_crypto-recurring_list-exchange-rules-project
      parameters:
      - description: Project ID
        example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CryptoRecurringExchangeRule'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto recurring project with [CRP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get project exchange settings
      tags:
      - crypto-recurring-exchange
    post:
      description: Create exchange setting in the project
      operationId: user_crypto-recurring_create-exchange-rule
      parameters:
      - description: Project ID
        example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      requestBody:
        content:
          application/json:
            examples:
              exchange-rule-form-example:
                description: Automatic exchange rule form
                summary: Exchange rule form
                value:
                  fromCurrency: USDT
                  toCurrency: KZT
            schema:
              $ref: '#/components/schemas/AutoExchangeRuleForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                exchange-rule-example:
                  description: Crypto-recurring exchange rule
                  summary: Exchange rule
                  value:
                    createdAt: '2023-01-01T00:00:00Z'
                    fromCurrency: USDT
                    id: CRER-5e80bb81-f331-4a98-a022-b48b823750f2
                    toCurrency: KZT
              schema:
                $ref: '#/components/schemas/CryptoRecurringExchangeRule'
          description: OK
        '400':
          content:
            application/json:
              examples:
                INVALID_VALUE:
                  summary: INVALID_VALUE
                  value:
                    code: INVALID_VALUE
                    details: null
                    message: Incorrect body format. Parameter 'value' is not allowed.
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Exchange settings with [USDTUSD] not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '409':
          content:
            application/json:
              examples:
                ALREADY_EXISTS:
                  summary: ALREADY_EXISTS
                  value:
                    code: ALREADY_EXISTS
                    details: null
                    message: Crypto recurring project exchange rule CRER-2eb51bd4-6117-437b-b933-502538a9662a
                      with [USD] already exists
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create exchange setting
      tags:
      - crypto-recurring-exchange
  /v1/user/crypto-recurring/{projectId}/exchange-rules/{ruleId}:
    delete:
      operationId: user_crypto-recurring_delete-exchange-rule
      parameters:
      - description: Project ID
        example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - description: Exchange rule ID
        example: CRER-5e80bb81-f331-4a98-a022-b48b823750f2
        in: path
        name: ruleId
        required: true
        schema:
          description: Exchange rule ID
          example: CRER-5e80bb81-f331-4a98-a022-b48b823750f2
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Crypto recurring project exchange rule with [OWN-2eb51bd4-6117-437b-b933-502538a9662a/CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22/CRER-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete exchange setting
      tags:
      - crypto-recurring-exchange
    patch:
      description: Update exchange setting in the project
      operationId: user_crypto-recurring_update-exchange-rule
      parameters:
      - description: Project ID
        example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - description: Exchange rule ID
        example: CRER-5e80bb81-f331-4a98-a022-b48b823750f2
        in: path
        name: ruleId
        required: true
        schema:
          description: Exchange rule ID
          example: CRER-5e80bb81-f331-4a98-a022-b48b823750f2
          type: string
      requestBody:
        content:
          application/json:
            examples:
              exchange-rule-form-example:
                description: Automatic exchange rule form
                summary: Exchange rule form
                value:
                  fromCurrency: USDT
                  toCurrency: KZT
            schema:
              $ref: '#/components/schemas/AutoExchangeRuleForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                exchange-rule-example:
                  description: Crypto-recurring exchange rule
                  summary: Exchange rule
                  value:
                    createdAt: '2023-01-01T00:00:00Z'
                    fromCurrency: USDT
                    id: CRER-5e80bb81-f331-4a98-a022-b48b823750f2
                    toCurrency: KZT
              schema:
                $ref: '#/components/schemas/CryptoRecurringExchangeRule'
          description: OK
        '400':
          content:
            application/json:
              examples:
                INVALID_VALUE:
                  summary: INVALID_VALUE
                  value:
                    code: INVALID_VALUE
                    details: null
                    message: Incorrect body format. Parameter 'value' is not allowed.
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Exchange settings with [USDTUSD] not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
        '409':
          content:
            application/json:
              examples:
                ALREADY_EXISTS:
                  summary: ALREADY_EXISTS
                  value:
                    code: ALREADY_EXISTS
                    details: null
                    message: Crypto recurring project exchange rule CRER-2eb51bd4-6117-437b-b933-502538a9662a
                      with [USD] already exists
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Update exchange setting
      tags:
      - crypto-recurring-exchange
  /v1/user/crypto-recurring/{projectId}/options:
    get:
      description: Get crypto recurring project payment options
      operationId: user_crypto-recurring_get-project-payment-options
      parameters:
      - in: path
        name: projectId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                PROJECT:
                  description: Payment option for ETHEREUM
                  summary: Recurring payment options
                  value:
                    ETHEREUM_USDT:
                      balanceModel: ACCOUNT
                      blockchain: ETHEREUM
                      currency: USDT
                      networkCryptoCurrency: ETHEREUM_USDT
                      networkCurrency: USDT
                      tokenStandard: ERC20
              schema:
                additionalProperties:
                  $ref: '#/components/schemas/WalletCryptoCurrencyDetails'
                type: object
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get project payment options
      tags:
      - crypto-recurring-projects
  /v1/user/crypto-recurring/{projectId}/plans:
    get:
      description: Get all existing crypto recurring plans
      operationId: user_crypto-recurring_get-plans
      parameters:
      - in: path
        name: projectId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CryptoRecurringPlanUser'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get all plans
      tags:
      - crypto-recurring-plans
    post:
      description: Create a new crypto recurring plan
      operationId: user_crypto-recurring_create-plan
      parameters:
      - in: path
        name: projectId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            examples:
              ON_DEMAND_PLAN:
                description: Plan on demand
                summary: Plan on demand
                value:
                  name: Test On Demand
                  type: ON_DEMAND
              SUBSCRIPTION_PLAN:
                description: Plan subscription - 2 months period. 0.5 ETH
                summary: Plan subscription
                value:
                  amount: 50
                  currency: USD
                  gracePeriodMinutes: 1440
                  name: Test Subscription
                  period: MONTHLY
                  periodMultiplier: 2
                  type: SUBSCRIPTION
            schema:
              $ref: '#/components/schemas/CryptoRecurringPlanForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                ON_DEMAND_PLAN:
                  description: Plan on demand
                  summary: Plan on demand
                  value:
                    createdAt: '2024-12-01T12:00:00Z'
                    id: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    modifiedAt: '2024-12-01T12:00:00Z'
                    name: Test On Demand
                    pageUrl: https://example.com/plans/PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    status: ACTIVE
                    type: ON_DEMAND
                SUBSCRIPTION_PLAN:
                  description: Plan subscription - 2 months period. 0.5 ETH
                  summary: Plan subscription
                  value:
                    amount: 50
                    createdAt: '2024-12-01T12:00:00Z'
                    currency: USD
                    gracePeriodMinutes: 1440
                    id: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    modifiedAt: '2024-12-01T12:00:00Z'
                    name: Test Subscription
                    pageUrl: https://example.com/plans/PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    period: MONTHLY
                    periodMultiplier: 2
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    status: ACTIVE
                    type: SUBSCRIPTION
              schema:
                $ref: '#/components/schemas/CryptoRecurringPlanUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create plan
      tags:
      - crypto-recurring-plans
  /v1/user/crypto-recurring/{projectId}/plans/{planId}:
    delete:
      description: Delete existing crypto recurring plan
      operationId: user_crypto-recurring_delete-plan
      parameters:
      - in: path
        name: projectId
        required: true
        schema:
          type: string
      - in: path
        name: planId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete plan
      tags:
      - crypto-recurring-plans
    put:
      description: Update a new crypto recurring plan
      operationId: user_crypto-recurring_update-plan
      parameters:
      - in: path
        name: projectId
        required: true
        schema:
          type: string
      - in: path
        name: planId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            examples:
              ON_DEMAND_PLAN:
                description: Plan on demand - set CANCELLED
                summary: Plan on demand
                value:
                  status: CANCELLED
              SUBSCRIPTION_PLAN:
                description: Plan subscription - set ON_HOLD
                summary: Plan subscription
                value:
                  gracePeriodMinutes: 1440
                  status: ON_HOLD
            schema:
              $ref: '#/components/schemas/CryptoRecurringPlanUpdateForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                ON_DEMAND_PLAN:
                  description: Plan on demand
                  summary: Plan on demand
                  value:
                    createdAt: '2024-12-01T12:00:00Z'
                    id: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    modifiedAt: '2024-12-01T12:00:00Z'
                    name: Test On Demand
                    pageUrl: https://example.com/plans/PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    status: ACTIVE
                    type: ON_DEMAND
                SUBSCRIPTION_PLAN:
                  description: Plan subscription - 2 months period. 0.5 ETH
                  summary: Plan subscription
                  value:
                    amount: 50
                    createdAt: '2024-12-01T12:00:00Z'
                    currency: USD
                    gracePeriodMinutes: 1440
                    id: PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    modifiedAt: '2024-12-01T12:00:00Z'
                    name: Test Subscription
                    pageUrl: https://example.com/plans/PLAN-323ab869-95ab-4b3d-a26b-3184140f6f50
                    period: MONTHLY
                    periodMultiplier: 2
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    status: ACTIVE
                    type: SUBSCRIPTION
              schema:
                $ref: '#/components/schemas/CryptoRecurringPlanUser'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Update plan
      tags:
      - crypto-recurring-plans
  /v1/user/crypto-recurring/{projectId}/webhook:
    get:
      description: Get all existing crypto recurring webhooks
      operationId: user_crypto-recurring_get-webhooks
      parameters:
      - description: Project ID
        example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CryptoRecurringProjectWebhookSetting'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get webhooks
      tags:
      - crypto-recurring-webhooks
    post:
      callbacks:
        authorization:
          userDefinedUrl:
            post:
              description: Authorization webhook
              requestBody:
                content:
                  application/json:
                    examples:
                      AUTHORIZATION GRANTED:
                        description: Spending authorization has been granted by the
                          user
                        summary: Authorization GRANTED
                        value:
                          clientOrderId: dummy_client_order_id_123
                          cryptoCurrency: ETHEREUM_USDT
                          id: AGR-9c1edbbb-2222-4ae5-bb5b-16ed28c46eb2
                          initApprovalTx: '0x95a7122b6a166b5f9b77902d5ef028564403efc6e15ae18b0089056786417ab1'
                          planId: PLAN-ea836955-d108-4f1c-b7cd-63f5cd7b0ff1
                          planName: test webhook
                          projectId: CRP-b4cfa65e-87db-4448-9aa8-aead5f51db88
                          status: GRANTED
                          wallet: '0x364370e1fbe63492bb0f37d569f8d0e12b321824'
                    schema:
                      $ref: '#/components/schemas/CryptoRecurringAuthorizationUser'
                description: Authorization model
              responses:
                '200':
                  description: Return this code if the webhook processed successfully
        invoice:
          userDefinedUrl:
            post:
              description: Invoice webhook
              requestBody:
                content:
                  application/json:
                    examples:
                      INVOICE NEW:
                        description: New invoice has been created
                        summary: Invoice NEW
                        value:
                          amount: 30
                          authorizationId: AGR-91ef0e7b-39d6-4a23-a57e-8e3ea2e03444
                          authorizationWallet: '0x364370e1fbe63492bb0f37d569f8d0e12b321824'
                          clientOrderId: '12345677'
                          createdAt: '2024-07-17T12:11:08.468102569Z'
                          currency: USDT
                          expiredAt: '2024-07-18T12:11:08.468104852Z'
                          failFast: true
                          id: INV-6562199c-2d0c-4b61-8b75-699da6ca601c
                          modifiedAt: '2024-07-17T12:11:08.468103888Z'
                          paymentIntents: []
                          planId: PLAN-4fe16ce3-41a4-4429-bccb-642615cdf24f
                          planName: test on deman2
                          projectId: CRP-b4cfa65e-87db-4448-9aa8-aead5f51db88
                          status: NEW
                      INVOICE PENDING:
                        description: Invoice is currently being processed
                        summary: Invoice PENDING
                        value:
                          amount: 30
                          authorizationId: AGR-91ef0e7b-39d6-4a23-a57e-8e3ea2e03444
                          authorizationWallet: '0x364370e1fbe63492bb0f37d569f8d0e12b321824'
                          clientOrderId: '12345677'
                          createdAt: '2024-07-17T12:11:08.468103Z'
                          currency: USDT
                          expiredAt: '2024-07-18T12:11:08.468105Z'
                          failFast: true
                          id: INV-6562199c-2d0c-4b61-8b75-699da6ca601c
                          modifiedAt: '2024-07-17T12:11:10.809853257Z'
                          paymentIntents: []
                          planId: PLAN-4fe16ce3-41a4-4429-bccb-642615cdf24f
                          planName: test on deman2
                          projectId: CRP-b4cfa65e-87db-4448-9aa8-aead5f51db88
                          status: PENDING
                      SUBSCRIPTION FAILED:
                        description: Invoice has failed
                        summary: Invoice FAILED
                        value:
                          amount: 300
                          authorizationId: AGR-0eeac8d8-7354-43e2-9d2a-ea8a1147a709
                          authorizationWallet: '0x364370e1fbe63492bb0f37d569f8d0e12b321824'
                          clientOrderId: '123456771'
                          createdAt: '2024-07-17T12:30:34.987313Z'
                          currency: USDT
                          expiredAt: '2024-07-18T12:30:34.987316Z'
                          failFast: true
                          id: INV-ee4f0e4f-b829-4b28-8962-65ae4656cb2e
                          modifiedAt: '2024-07-17T12:32:35.096774924Z'
                          paymentIntents:
                          - amount: 300
                            createdAt: '2024-07-17T12:30:40.591205Z'
                            currency: ETHEREUM_USDT
                            id: INTENT-17d45fd5-6386-4cf1-bb7d-43b7d430259b
                            invoiceId: INV-ee4f0e4f-b829-4b28-8962-65ae4656cb2e
                            modifiedAt: '2024-07-17T12:32:30.20633Z'
                            pair: USDTUSDT
                            payoutId: BPAY-4e4c82e7-2793-47eb-930b-9fe1e05d2b95
                            planId: PLAN-d370d46d-f0fd-4e81-8001-8979c9df2975
                            planName: on dem
                            projectId: CRP-b4cfa65e-87db-4448-9aa8-aead5f51db88
                            reason: INSUFFICIENT_BALANCE
                            status: FAILED
                          planId: PLAN-d370d46d-f0fd-4e81-8001-8979c9df2975
                          planName: on dem
                          projectId: CRP-b4cfa65e-87db-4448-9aa8-aead5f51db88
                          reason: INSUFFICIENT_BALANCE
                          status: FAILED
                      SUBSCRIPTION SUCCESS:
                        description: Invoice successfully processed
                        summary: Invoice SUCCESS
                        value:
                          amount: 30
                          authorizationId: AGR-91ef0e7b-39d6-4a23-a57e-8e3ea2e03444
                          authorizationWallet: '0x364370e1fbe63492bb0f37d569f8d0e12b321824'
                          clientOrderId: '12345677'
                          createdAt: '2024-07-17T12:11:08.468103Z'
                          currency: USDT
                          expiredAt: '2024-07-18T12:11:08.468105Z'
                          failFast: true
                          id: INV-6562199c-2d0c-4b61-8b75-699da6ca601c
                          modifiedAt: '2024-07-17T12:14:15.102389359Z'
                          paymentIntents:
                          - amount: 30
                            createdAt: '2024-07-17T12:11:10.803973Z'
                            currency: BSC_USDT
                            id: INTENT-871df167-7ff2-45c3-bdb1-40d55fcceb8b
                            invoiceId: INV-6562199c-2d0c-4b61-8b75-699da6ca601c
                            modifiedAt: '2024-07-17T12:14:10.225635Z'
                            pair: USDTUSDT
                            payoutId: BPAY-52911ae9-c5b9-4f8b-b9a4-2a944013d524
                            planId: PLAN-4fe16ce3-41a4-4429-bccb-642615cdf24f
                            planName: test on deman2
                            projectId: CRP-b4cfa65e-87db-4448-9aa8-aead5f51db88
                            status: SUCCESS
                            transaction:
                              amount: 30
                              blockchain: BSC
                              cryptoCurrency: BSC_USDT
                              currency: USDT
                              to: '0x9da55d408fb0cdbcc0fc24ad505477194d6db1d4'
                              tx: '0x11a42aad4810f964846f37e62e2817b8a7146a90aa0c6af3d9823a81374bc730'
                              txCreatedAt: '2024-07-17T12:12:22.114737Z'
                          planId: PLAN-4fe16ce3-41a4-4429-bccb-642615cdf24f
                          planName: test on deman2
                          projectId: CRP-b4cfa65e-87db-4448-9aa8-aead5f51db88
                          status: SUCCESS
                    schema:
                      $ref: '#/components/schemas/CryptoRecurringInvoiceUser'
                description: Invoice model
              responses:
                '200':
                  description: Return this code if the webhook processed successfully
        subscription:
          userDefinedUrl:
            post:
              description: Subscription webhook
              requestBody:
                content:
                  application/json:
                    examples:
                      SUBSCRIPTION ACTIVE:
                        description: Subscription is active.
                        summary: Subscription ACTIVE
                        value:
                          authorizationIds:
                          - AGR-9791739d-f19d-43f9-8494-6de3475ca0a8
                          authorizationWallet: '0xf880667be313b2221c6b286261424a70481b9e4f'
                          clientOrderId: dummy_client_order_id_123
                          createdAt: '2024-07-17T11:25:54.510839Z'
                          endAt: '2024-08-16T11:30:20.049395187Z'
                          id: SUB-bc7fd30e-bff4-4b6f-97b0-08e75c3a15dd
                          modifiedAt: '2024-07-17T11:25:54.510839Z'
                          planId: PLAN-4a5012ae-4e12-4e4e-8610-4668d7573957
                          planName: test sub 17
                          projectId: CRP-b4cfa65e-87db-4448-9aa8-aead5f51db88
                          startedAt: '2024-07-17T11:30:20.049386526Z'
                          status: ACTIVE
                          userId: OWN-b9b88002-93a7-48df-856c-b9be73dbd5eb
                      SUBSCRIPTION CANCELLED CANCELLED_BY_MERCHANT:
                        description: Subscription is cancelled by merchant.
                        summary: Subscription CANCELLED_BY_MERCHANT
                        value:
                          authorizationIds:
                          - AGR-9791739d-f19d-43f9-8494-6de3475ca0a8
                          authorizationWallet: '0xf880667be313b2221c6b286261424a70481b9e4f'
                          clientOrderId: dummy_client_order_id_123
                          createdAt: '2024-07-17T11:25:54.510839Z'
                          endAt: '2024-07-17T12:04:00.700540288Z'
                          id: SUB-bc7fd30e-bff4-4b6f-97b0-08e75c3a15dd
                          modifiedAt: '2024-07-17T12:04:00.700540288Z'
                          planId: PLAN-4a5012ae-4e12-4e4e-8610-4668d7573957
                          planName: test sub 17
                          projectId: CRP-b4cfa65e-87db-4448-9aa8-aead5f51db88
                          startedAt: '2024-07-17T11:30:20.049387Z'
                          status: CANCELLED
                          subStatus: CANCELLED_BY_MERCHANT
                          userId: OWN-b9b88002-93a7-48df-856c-b9be73dbd5eb
                      SUBSCRIPTION CANCELLED UNPAID:
                        description: Subscription is cancelled due to unpaid invoice.
                        summary: Subscription CANCELLED / UNPAID
                        value:
                          authorizationIds:
                          - AGR-9791739d-f19d-43f9-8494-6de3475ca0a8
                          authorizationWallet: '0xf880667be313b2221c6b286261424a70481b9e4f'
                          clientOrderId: dummy_client_order_id_123
                          createdAt: '2024-07-17T11:25:54.510839Z'
                          endAt: '2024-08-16T11:30:20.049395187Z'
                          id: SUB-bc7fd30e-bff4-4b6f-97b0-08e75c3a15dd
                          modifiedAt: '2024-07-17T11:25:54.510839Z'
                          planId: PLAN-4a5012ae-4e12-4e4e-8610-4668d7573957
                          planName: test sub 17
                          projectId: CRP-b4cfa65e-87db-4448-9aa8-aead5f51db88
                          startedAt: '2024-07-17T11:30:20.049386526Z'
                          status: CANCELLED
                          subStatus: UNPAID
                          userId: OWN-b9b88002-93a7-48df-856c-b9be73dbd5eb
                      SUBSCRIPTION INITIATED:
                        description: Subscription is initiated but payment is being
                          processed.
                        summary: Subscription INITIATED
                        value:
                          activeInvoice:
                            amount: 40
                            authorizationId: AGR-9791739d-f19d-43f9-8494-6de3475ca0a8
                            authorizationWallet: '0xf880667be313b2221c6b286261424a70481b9e4f'
                            clientOrderId: dummy_invoice_client_order_id_456
                            createdAt: '2024-07-17T11:25:54.670980901Z'
                            currency: USD
                            expiredAt: '2024-07-18T11:25:54.670984725Z'
                            failFast: true
                            id: INV-e6dc5928-c6da-4e0a-9354-3f66fd3e0de7
                            modifiedAt: '2024-07-17T11:25:54.670983861Z'
                            paymentIntents: []
                            planId: PLAN-4a5012ae-4e12-4e4e-8610-4668d7573957
                            planName: test sub 17
                            projectId: CRP-b4cfa65e-87db-4448-9aa8-aead5f51db88
                            status: NEW
                          authorizationIds:
                          - AGR-55502ab7-d322-465e-b856-51f0ca077dd2
                          - AGR-45502ab7-d322-465e-b856-51f0ca077dd1
                          authorizationWallet: '0x364370e1fbe634922b0f37d569f8d0e12b322824'
                          clientOrderId: dummy_client_order_id_123
                          createdAt: '2024-07-17T11:25:54.510838535Z'
                          id: SUB-bc7fd30e-bff4-4b6f-97b0-08e75c3a15dd
                          modifiedAt: '2024-07-17T11:25:54.510838535Z'
                          planId: PLAN-4a5012ae-4e12-4e4e-8610-4668d7573957
                          planName: test sub 17
                          projectId: CRP-b4cfa65e-87db-4448-9aa8-aead5f51db88
                          status: INITIATED
                          userId: OWN-b9b88002-93a7-48df-856c-b9be73dbd5eb
                    schema:
                      $ref: '#/components/schemas/CryptoRecurringSubscriptionUser'
                description: Subscription model
              responses:
                '200':
                  description: Return this code if the webhook processed successfully
      description: Create a new crypto recurring webhook
      operationId: user_crypto-recurring_create-webhook
      parameters:
      - description: Project ID
        example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      requestBody:
        content:
          application/json:
            examples:
              AUTHORIZATION_WEBHOOK:
                description: Authorization webhook
                summary: Authorization webhook
                value:
                  secret: Secret phrase
                  type: CRYPTO_RECURRING_AUTHORIZATION
                  url: https://example.com/return/authorization
              INVOICE_WEBHOOK:
                description: Invoice webhook
                summary: Invoice webhook
                value:
                  secret: Secret phrase
                  type: CRYPTO_RECURRING_INVOICE
                  url: https://example.com/return/invoice
              SUBSCRIPTION_WEBHOOK:
                description: Subscription webhook
                summary: Subscription webhook
                value:
                  secret: Secret phrase
                  type: CRYPTO_RECURRING_SUBSCRIPTION
                  url: https://example.com/return/subscription
            schema:
              $ref: '#/components/schemas/CryptoRecurringProjectWebhookSettingForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                AUTHORIZATION_WEBHOOK:
                  description: Authorization webhook
                  summary: Authorization webhook
                  value:
                    createdAt: '2024-12-01T12:00:00Z'
                    id: CRWS-26f742bb-e92b-42ea-8ec3-5928eaddddba
                    lastUpdatedAt: '2024-12-01T12:00:00Z'
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    secret: '************'
                    type: CRYPTO_RECURRING_AUTHORIZATION
                    url: https://example.com/return/authorization
                INVOICE_WEBHOOK:
                  description: Invoice webhook
                  summary: Invoice webhook
                  value:
                    createdAt: '2024-12-01T12:00:00Z'
                    id: CRWS-26f742bb-e92b-42ea-8ec3-5928eaddddba
                    lastUpdatedAt: '2024-12-01T12:00:00Z'
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    secret: '************'
                    type: CRYPTO_RECURRING_INVOICE
                    url: https://example.com/return/invoice
                SUBSCRIPTION_WEBHOOK:
                  description: Subscription webhook
                  summary: Subscription webhook
                  value:
                    createdAt: '2024-12-01T12:00:00Z'
                    id: CRWS-26f742bb-e92b-42ea-8ec3-5928eaddddba
                    lastUpdatedAt: '2024-12-01T12:00:00Z'
                    projectId: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    secret: '************'
                    type: CRYPTO_RECURRING_SUBSCRIPTION
                    url: https://example.com/return/subscription
              schema:
                $ref: '#/components/schemas/CryptoRecurringProjectWebhookSetting'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create webhook
      tags:
      - crypto-recurring-webhooks
  /v1/user/crypto-recurring/{projectId}/webhook/{type}:
    delete:
      description: Delete existing crypto recurring webhook
      operationId: user_crypto-recurring_delete-webhook
      parameters:
      - description: Project ID
        example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Project ID
          example: CRP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - in: path
        name: type
        required: true
        schema:
          enum:
          - PAYMENT
          - CRYPTO_ACQUIRING_REQUEST
          - CRYPTO_ACQUIRING_CHECKOUT
          - CRYPTO_ACQUIRING_STATIC_ADDRESS_PAYMENT
          - CRYPTO_RECURRING_AUTHORIZATION
          - CRYPTO_RECURRING_INVOICE
          - CRYPTO_RECURRING_SUBSCRIPTION
          - SUBACCOUNT_KYC
          - MASS_PAYOUT_BATCH
          - MASS_PAYOUT_PAYMENT
          - ON_RAMP_CHECKOUT
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete webhook
      tags:
      - crypto-recurring-webhooks
  /v1/user/domains:
    get:
      operationId: user_crypto-acquiring_list-domains
      parameters:
      - in: query
        name: id
        required: false
        schema:
          example: null
          type: string
      - in: query
        name: name
        required: false
        schema:
          example: null
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          example: null
          type: string
      - in: query
        name: status
        required: false
        schema:
          example: null
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Domain'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: List domains
      tags:
      - crypto-acquiring-domains
    post:
      operationId: user_crypto-acquiring_create-domain
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DomainForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Domain'
          description: OK
        '400':
          content:
            application/json:
              examples:
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '409':
          content:
            application/json:
              examples:
                ALREADY_EXISTS:
                  summary: ALREADY_EXISTS
                  value:
                    code: ALREADY_EXISTS
                    details: null
                    message: Domain with [already-exists.com] already exists
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
        '422':
          content:
            application/json:
              examples:
                VALIDATION_FAILED:
                  summary: VALIDATION_FAILED
                  value:
                    code: VALIDATION_FAILED
                    details: null
                    message: Invalid domain name. Should match to ^((?!-)[A-Za-z0-9-]{1,63}(?<!-))$
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNPROCESSABLE_ENTITY
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create domain
      tags:
      - crypto-acquiring-domains
  /v1/user/domains/{domainId}:
    delete:
      operationId: user_crypto-acquiring_delete-domain
      parameters:
      - description: Domain ID
        example: DMN-d59f4987-d5dc-47a4-8459-19656f71ada7
        in: path
        name: domainId
        required: true
        schema:
          description: Domain ID
          example: DMN-d59f4987-d5dc-47a4-8459-19656f71ada7
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Domain with [DMN-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
        '409':
          content:
            application/json:
              examples:
                CONFLICT:
                  summary: CONFLICT
                  value:
                    code: CONFLICT
                    details: null
                    message: Domain cannot be deleted. Domain used by crypto acquiring
                      project [CAP-2eb51bd4-6117-437b-b933-502538a9662a].
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete domain
      tags:
      - crypto-acquiring-domains
  /v1/user/exchange:
    post:
      description: Exchange one currency to another
      operationId: user_exchange
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExchangeRequest'
        required: true
      responses:
        '202':
          content:
            text/plain:
              example: ORD-2c49298c-7eb6-1f29-9b4e-be2e3ad08364
              schema:
                type: string
          description: Accepted
        '400':
          content:
            application/json:
              examples:
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Exchange settings with [USDTUSD] not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '409':
          content:
            application/json:
              examples:
                ALREADY_EXISTS:
                  summary: ALREADY_EXISTS
                  value:
                    code: ALREADY_EXISTS
                    details: null
                    message: Client Order Id with [some not-unique client order id]
                      already exists
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
        '422':
          content:
            application/json:
              examples:
                VALIDATION_FAILED:
                  summary: VALIDATION_FAILED
                  value:
                    code: VALIDATION_FAILED
                    details:
                      LIMIT: '5'
                    message: Validation failed
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNPROCESSABLE_ENTITY
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Exchange
      tags:
      - operations
  /v1/user/exchange/limits:
    get:
      description: Get exchange limits for all currency pairs
      operationId: user_get-exchange-limits
      parameters:
      - in: query
        name: buyCrypto
        required: false
        schema:
          type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ExchangeLimits'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get limits
      tags:
      - exchange
  /v1/user/exchange/limits/{symbolPair}:
    get:
      description: Get exchange limits for specific currency pair
      operationId: user_get-exchange-limits-for-symbol
      parameters:
      - description: Symbol pair
        example: BTCUSD
        in: path
        name: symbolPair
        required: true
        schema:
          description: Symbol pair
          example: BTCUSD
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExchangeLimits'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Exchange settings with [USDTUSD] not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get limits for symbol
      tags:
      - exchange
  /v1/user/exchange/rates:
    get:
      description: Get exchange rates for all currency pairs
      operationId: user_get-exchange-rates
      parameters:
      - in: query
        name: buyCrypto
        required: false
        schema:
          type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CurrencyPairRate'
                type: array
                uniqueItems: true
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get all exchange rates
      tags:
      - exchange
  /v1/user/exchange/rates/{symbolPair}:
    get:
      description: Get exchange rate for currency pair
      operationId: user_get-exchange-rate
      parameters:
      - description: Symbol pair
        example: BTCUSD
        in: path
        name: symbolPair
        required: true
        schema:
          description: Symbol pair
          example: BTCUSD
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CurrencyPairRate'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Symbol pair with [USDTUSD] not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get exchange rate
      tags:
      - exchange
  /v1/user/h2h/payments/payin:
    post:
      operationId: user_h2h_create-payin
      parameters:
      - in: header
        name: inqud-user-agent
        required: false
        schema:
          default: unknown
          type: string
      requestBody:
        content:
          application/json:
            examples:
              EUR:
                description: EUR h2h deposit
                summary: EUR h2h deposit
                value:
                  amount: 100
                  clientOrderId: '1234567890'
                  comment: any comment
                  currency: EUR
                  method: CC_VISAMC
                  returnUrl: https://example.com/
              UAH:
                description: UAH h2h deposit
                summary: UAH h2h deposit
                value:
                  amount: 1000
                  clientOrderId: '1234567890'
                  comment: any comment
                  currency: UAH
                  method: CC_VISAMC
                  returnUrl: https://example.com/
              USD:
                description: USD h2h deposit
                summary: USD h2h deposit
                value:
                  amount: 100
                  clientOrderId: '1234567890'
                  comment: any comment
                  currency: USD
                  method: CC_VISAMC
                  returnUrl: https://example.com/
            schema:
              $ref: '#/components/schemas/PayinH2HRequest'
        required: true
      responses:
        '200':
          content:
            '*/*':
              examples:
                USD:
                  description: USD h2h deposit response
                  summary: USD h2h deposit
                  value:
                    amount: 100
                    clientOrderId: '1234567890'
                    createdAt: '2022-12-01T12:00:00Z'
                    currency: USD
                    externalId: c2544dd6e1c53529b877682127d16cff524f2867a57c5cc204e42eb2573e02e0
                    h2H: true
                    id: PMT-b2e2df8c-281a-4cc1-2bcf-61b803358f0e
                    method: CC_VISAMC
                    orderId: ORD-b40c5710-c419-432b-9814-bac03cb4fe1c
                    orderType: PAYIN
                    productType: PAYMENT
                    status: NEW
                    transactionType: DEBIT
              schema:
                $ref: '#/components/schemas/Payment'
          description: OK
        '400':
          content:
            application/json:
              examples:
                INVALID_VALUE:
                  summary: INVALID_VALUE
                  value:
                    code: INVALID_VALUE
                    details: null
                    message: Incorrect body format. Parameter 'value' is not allowed.
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Payment method route with [PAYIN/CRYPTOCOIN/ETHEREUM/USDT]
                      not found
                PAYMENT_FAILED:
                  summary: PAYMENT_FAILED
                  value:
                    code: PAYMENT_FAILED
                    details: null
                    message: 'Payment failed: Unable to process request'
                VERIFICATION_REQUIRED:
                  summary: VERIFICATION_REQUIRED
                  value:
                    code: VERIFICATION_REQUIRED
                    details:
                      LEVEL: '2'
                    message: 'Action requires verification level: 2'
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '409':
          content:
            application/json:
              examples:
                ALREADY_EXISTS:
                  summary: ALREADY_EXISTS
                  value:
                    code: ALREADY_EXISTS
                    details: null
                    message: Client Order Id with [some not-unique client order id]
                      already exists
                CONFLICT:
                  summary: CONFLICT
                  value:
                    code: CONFLICT
                    details: null
                    message: 'User data is empty: email'
                INACTIVE_PAYMENT_METHOD:
                  summary: INACTIVE_PAYMENT_METHOD
                  value:
                    code: INACTIVE_PAYMENT_METHOD
                    details: null
                    message: 'Payment method: PMD-2eb51bd4-6117-437b-b933-502538a9662a
                      is inactive'
                ORDER_TYPE_NOT_SUPPORTED:
                  summary: ORDER_TYPE_NOT_SUPPORTED
                  value:
                    code: ORDER_TYPE_NOT_SUPPORTED
                    details: null
                    message: 'Order type: EXCHANGE is not supported'
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
        '422':
          content:
            application/json:
              examples:
                VALIDATION_FAILED:
                  summary: VALIDATION_FAILED
                  value:
                    code: VALIDATION_FAILED
                    details:
                      LIMIT: '5'
                    message: Validation failed
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNPROCESSABLE_ENTITY
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: 'Create h2h payin. Returned payment id must be passed to /v1/user/h2h/payments/{paymentId}/card '
      tags:
      - h2h-operations
  /v1/user/h2h/payments/{paymentId}/card:
    post:
      operationId: user_h2h_create-cardPay
      parameters:
      - in: path
        name: paymentId
        required: true
        schema:
          type: string
      - in: header
        name: inqud-user-agent
        required: false
        schema:
          default: unknown
          type: string
      - in: header
        name: Accept
        required: false
        schema:
          default: unknown
          type: string
      requestBody:
        content:
          application/json:
            examples:
              CARDPAY:
                description: Card Pay request
                summary: Card Pay request
                value:
                  card:
                    cardHolder: John Doe
                    cvv: '123'
                    expMonth: 3
                    expYear: 2031
                    pan: '3566002020360505'
                  email: test@example.com
            schema:
              $ref: '#/components/schemas/CardPayH2HRequest'
        required: true
      responses:
        '200':
          content:
            '*/*':
              examples:
                ACCEPTED:
                  description: Card Pay result
                  summary: Card Pay result accepted no 3DS
                  value:
                    action: REFRESH
                    params: {}
                    status: ACCEPTED
                    transactionId: abcdefgh123456
                ACCEPTED_REDIRECT:
                  description: Card Pay result
                  summary: Card Pay result 3DS required
                  value:
                    action: REFRESH
                    params: {}
                    redirectUrl: https://example.com/3dsRedirectUrl
                    status: ACCEPTED
                    transactionId: abcdefgh123456
                DENIED:
                  description: Card Pay result
                  summary: Card Pay result Denied
                  value:
                    action: REFRESH
                    params: {}
                    reason: Invalid pan
                    status: DENIED
                    transactionId: abcdefgh123456
              schema:
                $ref: '#/components/schemas/CardPayResult'
          description: OK
        '400':
          content:
            application/json:
              examples:
                INVALID_VALUE:
                  summary: INVALID_VALUE
                  value:
                    code: INVALID_VALUE
                    details: null
                    message: Incorrect body format. Parameter 'value' is not allowed.
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Payment method route with [PAYIN/CRYPTOCOIN/ETHEREUM/USDT]
                      not found
                PAYMENT_FAILED:
                  summary: PAYMENT_FAILED
                  value:
                    code: PAYMENT_FAILED
                    details: null
                    message: 'Payment failed: Unable to process request'
                VERIFICATION_REQUIRED:
                  summary: VERIFICATION_REQUIRED
                  value:
                    code: VERIFICATION_REQUIRED
                    details:
                      LEVEL: '2'
                    message: 'Action requires verification level: 2'
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '409':
          content:
            application/json:
              examples:
                ALREADY_EXISTS:
                  summary: ALREADY_EXISTS
                  value:
                    code: ALREADY_EXISTS
                    details: null
                    message: Client Order Id with [some not-unique client order id]
                      already exists
                CONFLICT:
                  summary: CONFLICT
                  value:
                    code: CONFLICT
                    details: null
                    message: 'User data is empty: email'
                INACTIVE_PAYMENT_METHOD:
                  summary: INACTIVE_PAYMENT_METHOD
                  value:
                    code: INACTIVE_PAYMENT_METHOD
                    details: null
                    message: 'Payment method: PMD-2eb51bd4-6117-437b-b933-502538a9662a
                      is inactive'
                ORDER_TYPE_NOT_SUPPORTED:
                  summary: ORDER_TYPE_NOT_SUPPORTED
                  value:
                    code: ORDER_TYPE_NOT_SUPPORTED
                    details: null
                    message: 'Order type: EXCHANGE is not supported'
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
        '422':
          content:
            application/json:
              examples:
                VALIDATION_FAILED:
                  summary: VALIDATION_FAILED
                  value:
                    code: VALIDATION_FAILED
                    details:
                      LIMIT: '5'
                    message: Validation failed
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNPROCESSABLE_ENTITY
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Pass card
      tags:
      - h2h-operations
  /v1/user/mass-payout/settings/callbacks/batches:
    get:
      description: Get mass payout batch webhook
      operationId: user_mass_payout_batch_get-webhook
      parameters: []
      responses:
        '200':
          content:
            '*/*':
              examples:
                MASS_PAYOUT_BATCH_WEBHOOK:
                  description: Payment webhook
                  summary: Payment webhook
                  value:
                    secret: '************'
                    type: MASS_PAYOUT_BATCH
                    url: https://example.com/return/batch
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get mass payout batch webhook
      tags:
      - mass-payout-batch-webhooks
    put:
      callbacks:
        payment:
          userDefinedUrl:
            post:
              description: Payment webhook
              requestBody:
                content:
                  application/json:
                    schema:
                      $ref: '#/components/schemas/Payment'
                description: Payment model
              responses:
                '200':
                  description: Return this code if the webhook processed successfully
      description: Create mass payout batch webhook
      operationId: user_mass_payout_batch_create-webhook
      parameters: []
      requestBody:
        content:
          application/json:
            examples:
              MASS_PAYOUT_BATCH_WEBHOOK:
                description: Mass payout batch webhook
                summary: Mass payout batch webhook
                value:
                  secret: Secret phrase
                  url: https://example.com/return/mass_payout_batch
            schema:
              $ref: '#/components/schemas/CallbackUserSettingsForm'
        required: true
      responses:
        '200':
          content:
            '*/*':
              examples:
                MASS_PAYOUT_BATCH_WEBHOOK:
                  description: Payment webhook
                  summary: Payment webhook
                  value:
                    secret: '************'
                    type: MASS_PAYOUT_BATCH
                    url: https://example.com/return/batch
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create mass payout batch webhook
      tags:
      - mass-payout-batch-webhooks
  /v1/user/mass-payout/settings/callbacks/payments:
    delete:
      description: Delete mass payout payment webhook
      operationId: user_mass_payout_payment_delete-webhook
      parameters: []
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete mass payout payment webhook
      tags:
      - mass-payout-payment-webhooks
    get:
      description: Get mass payout payment webhook
      operationId: user_mass_payout_payment_get-webhook
      parameters: []
      responses:
        '200':
          content:
            '*/*':
              examples:
                PAYMENT_WEBHOOK:
                  description: Payment webhook
                  summary: Payment webhook
                  value:
                    projectId: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    secret: '************'
                    type: PAYMENT
                    url: https://example.com/return/payment
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get mass payout payment webhook
      tags:
      - mass-payout-payment-webhooks
    put:
      callbacks:
        payment:
          userDefinedUrl:
            post:
              description: Payment webhook
              requestBody:
                content:
                  application/json:
                    examples:
                      USDT payout SUCCESS:
                        description: Payment USDT payout SUCCESS
                        summary: USDT payout SUCCESS
                        value:
                          amount: -100
                          balanceAfterPayment: 52202.7245
                          blockchain: ETHEREUM
                          createdAt: '2024-07-17T07:36:12.076857Z'
                          currency: USDT
                          externalId: '0xd5ecac060c6eae0a4f451bd13d313c97f23dd6c40aca5262967ad99742338c24'
                          finalStatusAt: '2024-07-17T07:37:05.085611087Z'
                          id: PMT-3c1344d3-575b-4498-99dd-6896c0102f31
                          initialAmount: -100
                          method: CRYPTOCOIN
                          orderId: ORD-bba1e0a4-0785-407e-9f13-da1cc02ce715
                          orderType: PAYOUT
                          payoutCryptoAddress: '0x74d94632c97f30f5ae124ad25c12c47a27558009'
                          productType: PAYMENT
                          recipient: '0x74d94632c97f30f5ae124ad25c12c47a27558009'
                          requestedAmount: -100
                          status: SUCCESS
                          transactionType: CREDIT
                    schema:
                      $ref: '#/components/schemas/Payment'
                description: Payment model
              responses:
                '200':
                  description: Return this code if the webhook processed successfully
      description: Create mass payout payment webhook
      operationId: user_mass_payout_payment_create-webhook
      parameters: []
      requestBody:
        content:
          application/json:
            examples:
              MASS_PAYOUT_PAYMENT_WEBHOOK:
                description: Mass payout payment webhook
                summary: Mass payout payment webhook
                value:
                  secret: Secret phrase
                  url: https://example.com/return/mass_payout_payment
            schema:
              $ref: '#/components/schemas/CallbackUserSettingsForm'
        required: true
      responses:
        '200':
          content:
            '*/*':
              examples:
                MASS_PAYOUT_PAYMENT_WEBHOOK:
                  description: Mass payout batch payment webhook
                  summary: Mass payout batch payment webhook
                  value:
                    secret: '************'
                    type: MASS_PAYOUT_PAYMENT
                    url: https://example.com/return/mass-payout-batch-payment
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create mass payout payment webhook
      tags:
      - mass-payout-payment-webhooks
  /v1/user/methods:
    get:
      operationId: user_get-payment-methods
      parameters:
      - in: query
        name: allProducts
        required: false
        schema:
          type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PaymentMethodWithLimits'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get payment methods
      tags:
      - operations
  /v1/user/on-ramp:
    get:
      description: Get a paginated list of all user's on-ramp projects
      operationId: user-on_ramp-get_projects
      parameters:
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: entity
        required: false
        schema:
          example: null
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any params
          example: '1234567890123456'
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageOnRampProject'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: List on-ramp projects
      tags:
      - on-ramp-projects
    post:
      description: Create a new on-ramp project
      operationId: user-on_ramp-create_project
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OnRampProjectForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnRampProject'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create on-ramp project
      tags:
      - on-ramp-projects
  /v1/user/on-ramp/{onRampProjectId}:
    delete:
      description: Archive an on-ramp project. Ask support to unarchive.
      operationId: user-on_ramp-delete_project
      parameters:
      - description: On-ramp project ID
        example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: onRampProjectId
        required: true
        schema:
          description: On-ramp project ID
          example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: On-ramp project with [ORP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Archive on-ramp project
      tags:
      - on-ramp-projects
    get:
      description: Get on-ramp project by ID
      operationId: user-on_ramp-get_project
      parameters:
      - description: On-ramp project ID
        example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: onRampProjectId
        required: true
        schema:
          description: On-ramp project ID
          example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnRampProject'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: On-ramp project with [ORP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get on-ramp project
      tags:
      - on-ramp-projects
    patch:
      description: Update an existing on-ramp project
      operationId: user-on_ramp-update_project
      parameters:
      - description: On-ramp project ID
        example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: onRampProjectId
        required: true
        schema:
          description: On-ramp project ID
          example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OnRampProjectForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnRampProject'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: On-ramp project with [ORP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Update on-ramp project
      tags:
      - on-ramp-projects
  /v1/user/on-ramp/{onRampProjectId}/checkouts:
    get:
      description: Get a paginated list of all checkouts for an on-ramp project
      operationId: user-on_ramp-get_checkouts
      parameters:
      - description: On-ramp project ID
        example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: onRampProjectId
        required: true
        schema:
          description: On-ramp project ID
          example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: createdAt
        required: false
        schema:
          description: Search by creation date range
          example:
          - '2022-01-01T12:00:00.000Z'
          - '2023-01-01T12:00:00.000Z'
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: currency
        required: false
        schema:
          description: Search by currency
          example:
          - BTC
          items:
            type: string
          type: array
      - in: query
        name: entity
        required: false
        schema:
          example: null
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any params
          example: '1234567890123456'
          type: string
      - in: query
        name: status
        required: false
        schema:
          description: Search by status
          example:
          - PENDING
          items:
            type: string
          type: array
      - in: query
        name: type
        required: false
        schema:
          description: Search by type
          example:
          - FIXED_PRICE
          items:
            type: string
          type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageOnRampCheckout'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: On-ramp project with [ORP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: List checkouts
      tags:
      - on-ramp-checkouts
    post:
      description: Create a new on-ramp checkout
      operationId: user-on_ramp-create_checkout
      parameters:
      - description: On-ramp project ID
        example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: onRampProjectId
        required: true
        schema:
          description: On-ramp project ID
          example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OnRampCheckoutMerchantUserForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnRampCheckout'
          description: OK
        '400':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: On-ramp project with [ORP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create checkout
      tags:
      - on-ramp-checkouts
  /v1/user/on-ramp/{onRampProjectId}/checkouts/{checkoutId}:
    get:
      description: Get on-ramp checkout details
      operationId: user-on_ramp-get_checkout
      parameters:
      - description: On-ramp project ID
        example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: onRampProjectId
        required: true
        schema:
          description: On-ramp project ID
          example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      - description: Checkout ID
        example: ORCO-979d6f5d-f26b-4943-bc4f-eabc65787c6c
        in: path
        name: checkoutId
        required: true
        schema:
          description: Checkout ID
          example: ORCO-979d6f5d-f26b-4943-bc4f-eabc65787c6c
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnRampCheckout'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: On-ramp project with [ORP-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get checkout by ID
      tags:
      - on-ramp-checkouts
  /v1/user/organisation/users:
    get:
      description: Get organisation users
      operationId: user_organisation_get-users
      parameters:
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: createdAt
        required: false
        schema:
          example: null
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: email
        required: false
        schema:
          example: null
          type: string
      - in: query
        name: emailDomains
        required: false
        schema:
          example: null
          items:
            type: string
          type: array
      - in: query
        name: enabled
        required: false
        schema:
          example: null
          type: boolean
      - in: query
        name: groupId
        required: false
        schema:
          example: null
          items:
            type: string
          type: array
      - in: query
        name: id
        required: false
        schema:
          example: null
          type: string
      - in: query
        name: isSubaccount
        required: false
        schema:
          example: null
          type: boolean
      - in: query
        name: isTest
        required: false
        schema:
          example: null
          type: boolean
      - in: query
        name: organisationId
        required: false
        schema:
          example: null
          items:
            type: string
          type: array
      - in: query
        name: organisationRoleId
        required: false
        schema:
          example: null
          items:
            type: string
          type: array
      - in: query
        name: parentId
        required: false
        schema:
          example: null
          type: string
      - in: query
        name: phone
        required: false
        schema:
          example: null
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          example: null
          type: string
      - in: query
        name: telegramChatId
        required: false
        schema:
          example: null
          format: int32
          type: integer
      - in: query
        name: tokenId
        required: false
        schema:
          example: null
          type: string
      - in: query
        name: userType
        required: false
        schema:
          enum:
          - REGULAR
          - BUSINESS
          example: null
          type: string
      - in: query
        name: verificationLevel
        required: false
        schema:
          example: null
          items:
            type: string
          type: array
      responses:
        '200':
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PageUserDetails'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get organisation users
      tags:
      - organisations
    post:
      description: Create organisation user via email link
      operationId: user_organisation_create-user
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignupOrganisationUserForm'
        required: true
      responses:
        '200':
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserDetails'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create organisation user
      tags:
      - organisations
  /v1/user/organisation/users/{organisationUserId}:
    patch:
      description: Update organisation user
      operationId: user_organisation_update-user
      parameters:
      - in: path
        name: organisationUserId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganisationUserForm'
        required: true
      responses:
        '200':
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/UserDetails'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Update organisation user
      tags:
      - organisations
  /v1/user/payments/payin:
    post:
      operationId: user_create-payin
      parameters:
      - in: header
        name: inqud-user-agent
        required: false
        schema:
          default: unknown
          type: string
      requestBody:
        content:
          application/json:
            examples:
              EUR:
                description: EUR deposit
                summary: EUR deposit
                value:
                  amount: 100
                  clientOrderId: '1234567890'
                  currency: EUR
                  firstName: John
                  lastName: Doe
                  method: CC_VISAMC
                  returnUrl: https://example.com/
              IDR:
                description: IDR deposit
                summary: IDR deposit
                value:
                  amount: 100000
                  channelCode: PERMATA
                  clientOrderId: '1234567890'
                  currency: IDR
                  method: VA_QR
                  returnUrl: https://example.com/
              KZT:
                description: KZT deposit
                summary: KZT deposit
                value:
                  amount: 10000
                  clientOrderId: '1234567890'
                  currency: KZT
                  method: CC_VISAMC
                  returnUrl: https://example.com/
              UAH:
                description: UAH deposit
                summary: UAH deposit
                value:
                  amount: 1000
                  clientOrderId: '1234567890'
                  currency: UAH
                  method: CC_VISAMC
                  returnUrl: https://example.com/
              USD:
                description: USD deposit
                summary: USD deposit
                value:
                  amount: 100
                  clientOrderId: '1234567890'
                  currency: USD
                  firstName: John
                  lastName: Doe
                  method: CC_VISAMC
                  returnUrl: https://example.com/
            schema:
              $ref: '#/components/schemas/PayinRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                USD:
                  description: USD deposit response
                  summary: USD deposit
                  value:
                    amount: 100
                    clientOrderId: '1234567890'
                    createdAt: '2022-12-01T12:00:00Z'
                    currency: USD
                    externalId: c2544dd6e1c53529b877682127d16cff524f2867a57c5cc204e42eb2573e02e0
                    id: PMT-b2e2df8c-281a-4cc1-2bcf-61b803358f0e
                    method: CC_VISAMC
                    orderId: ORD-b40c5710-c419-432b-9814-bac03cb4fe1c
                    orderType: PAYIN
                    payUrl: https://hpp.inqud.com/PMT-b2e2df8c-281a-4cc1-2bcf-61b803358f0e
                    productType: PAYMENT
                    status: NEW
                    transactionType: DEBIT
              schema:
                $ref: '#/components/schemas/Payment'
          description: OK
        '400':
          content:
            application/json:
              examples:
                INVALID_VALUE:
                  summary: INVALID_VALUE
                  value:
                    code: INVALID_VALUE
                    details: null
                    message: Incorrect body format. Parameter 'value' is not allowed.
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Payment method route with [PAYIN/CRYPTOCOIN/ETHEREUM/USDT]
                      not found
                PAYMENT_FAILED:
                  summary: PAYMENT_FAILED
                  value:
                    code: PAYMENT_FAILED
                    details: null
                    message: 'Payment failed: Unable to process request'
                VERIFICATION_REQUIRED:
                  summary: VERIFICATION_REQUIRED
                  value:
                    code: VERIFICATION_REQUIRED
                    details:
                      LEVEL: '2'
                    message: 'Action requires verification level: 2'
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '409':
          content:
            application/json:
              examples:
                ALREADY_EXISTS:
                  summary: ALREADY_EXISTS
                  value:
                    code: ALREADY_EXISTS
                    details: null
                    message: Client Order Id with [some not-unique client order id]
                      already exists
                CONFLICT:
                  summary: CONFLICT
                  value:
                    code: CONFLICT
                    details: null
                    message: 'User data is empty: email'
                INACTIVE_PAYMENT_METHOD:
                  summary: INACTIVE_PAYMENT_METHOD
                  value:
                    code: INACTIVE_PAYMENT_METHOD
                    details: null
                    message: 'Payment method: PMD-2eb51bd4-6117-437b-b933-502538a9662a
                      is inactive'
                ORDER_TYPE_NOT_SUPPORTED:
                  summary: ORDER_TYPE_NOT_SUPPORTED
                  value:
                    code: ORDER_TYPE_NOT_SUPPORTED
                    details: null
                    message: 'Order type: EXCHANGE is not supported'
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
        '422':
          content:
            application/json:
              examples:
                VALIDATION_FAILED:
                  summary: VALIDATION_FAILED
                  value:
                    code: VALIDATION_FAILED
                    details:
                      LIMIT: '5'
                    message: Validation failed
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNPROCESSABLE_ENTITY
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create payin
      tags:
      - operations
  /v1/user/payments/payout:
    post:
      operationId: user_create-payout
      parameters: []
      requestBody:
        content:
          application/json:
            examples:
              BTC:
                description: BTC payout
                summary: BTC
                value:
                  amount: 0.0001
                  blockchain: BITCOIN
                  cryptoAddress: tb1q0c542nsf2nhfdphpt1hleq0ay3sx5v6h434mu
                  currency: BTC
                  method: CRYPTOCOIN
              ETH:
                description: ETH (Ethereum) payout
                summary: ETH
                value:
                  amount: 0.1
                  blockchain: ETHEREUM
                  cryptoAddress: 0x1234567890ABCDEFqwe123123123
                  currency: ETH
                  method: CRYPTOCOIN
              EUR:
                description: EUR payout
                summary: EUR
                value:
                  amount: 100
                  cardNumber: '1234123412341234'
                  clientOrderId: '1234567890'
                  currency: EUR
                  firstName: John
                  lastName: Doe
                  method: CC_VISAMC
                  phoneNumber: '123123123'
              IDR:
                description: IDR payout
                summary: IDR
                value:
                  amount: 1000000
                  bankAccount: '213123231'
                  bankCode: BT
                  clientOrderId: '1234567890'
                  currency: IDR
                  method: VA_QR
              KZT:
                description: KZT payout
                summary: KZT
                value:
                  amount: 10000
                  cardNumber: '1234123412341234'
                  clientOrderId: '1234567890'
                  currency: KZT
                  firstName: John
                  lastName: Doe
                  method: CC_VISAMC
              TRX:
                description: TRX (TRON) payout
                summary: TRX
                value:
                  amount: 100
                  blockchain: TRON
                  cryptoAddress: TMNWdd2QYR6WrRBp57gLjxcoz3DWUkaR2
                  currency: TRX
                  method: CRYPTOCOIN
              UAH:
                description: UAH payout
                summary: UAH
                value:
                  amount: 1000
                  cardNumber: '1234123412341234'
                  clientOrderId: '1234567890'
                  currency: UAH
                  method: CC_VISAMC
              USD:
                description: USD payout
                summary: USD
                value:
                  amount: 100
                  cardNumber: '1234123412341234'
                  clientOrderId: '1234567890'
                  currency: USD
                  firstName: John
                  lastName: Doe
                  method: CC_VISAMC
                  phoneNumber: '123123123'
              USDT_ERC20:
                description: USDT (ERC-20) payout
                summary: USDT (ERC-20)
                value:
                  amount: 1000
                  blockchain: ETHEREUM
                  cryptoAddress: 0x1234567890ABCDEFqwe123123123
                  currency: USDT
                  method: CRYPTOCOIN
              USDT_TRC20:
                description: USDT (TRC-20) payout
                summary: USDT (TRC-20)
                value:
                  amount: 1000
                  blockchain: TRON
                  cryptoAddress: TMNWdd2QYR6WrRBp57gLjxcoz3DWUkaR2
                  currency: USDT
                  method: CRYPTOCOIN
            schema:
              $ref: '#/components/schemas/PayoutRequest'
        required: true
      responses:
        '202':
          content:
            text/plain:
              example: ORD-5c42238c-1eb6-4f39-9b4e-be2e3ad08464
              schema:
                type: string
          description: Accepted
        '400':
          content:
            application/json:
              examples:
                INVALID_VALUE:
                  summary: INVALID_VALUE
                  value:
                    code: INVALID_VALUE
                    details: null
                    message: Incorrect body format. Parameter 'value' is not allowed.
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Payment method route with [PAYIN/CRYPTOCOIN/ETHEREUM/USDT]
                      not found
                PAYMENT_FAILED:
                  summary: PAYMENT_FAILED
                  value:
                    code: PAYMENT_FAILED
                    details: null
                    message: 'Payment failed: Unable to process request'
                USER_FROZEN:
                  summary: USER_FROZEN
                  value:
                    code: USER_FROZEN
                    details:
                      SECONDS_LEFT: '600'
                    message: 'User is temporary frozen and cannot perform this operation.
                      Check email for extra information. Seconds left: 600'
                VERIFICATION_REQUIRED:
                  summary: VERIFICATION_REQUIRED
                  value:
                    code: VERIFICATION_REQUIRED
                    details:
                      LEVEL: '2'
                    message: 'Action requires verification level: 2'
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '409':
          content:
            application/json:
              examples:
                ALREADY_EXISTS:
                  summary: ALREADY_EXISTS
                  value:
                    code: ALREADY_EXISTS
                    details: null
                    message: Client Order Id with [some not-unique client order id]
                      already exists
                INACTIVE_PAYMENT_METHOD:
                  summary: INACTIVE_PAYMENT_METHOD
                  value:
                    code: INACTIVE_PAYMENT_METHOD
                    details: null
                    message: 'Payment method: PMD-2eb51bd4-6117-437b-b933-502538a9662a
                      is inactive'
                ORDER_TYPE_NOT_SUPPORTED:
                  summary: ORDER_TYPE_NOT_SUPPORTED
                  value:
                    code: ORDER_TYPE_NOT_SUPPORTED
                    details: null
                    message: 'Order type: EXCHANGE is not supported'
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
        '422':
          content:
            application/json:
              examples:
                VALIDATION_FAILED:
                  summary: VALIDATION_FAILED
                  value:
                    code: VALIDATION_FAILED
                    details:
                      LIMIT: '5'
                    message: Validation failed
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNPROCESSABLE_ENTITY
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create payout
      tags:
      - operations
  /v1/user/payments/{paymentId}:
    get:
      operationId: user_get-payment
      parameters:
      - description: Payment ID
        example: PMT-b2e2df8c-281a-4cc1-2bcf-61b803358f0e
        in: path
        name: paymentId
        required: true
        schema:
          description: Payment ID
          example: PMT-b2e2df8c-281a-4cc1-2bcf-61b803358f0e
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Payment'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Payment with [PMT-b2e2df8c-281a-4cc1-2bcf-61b803358f0e]
                      not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get payment by id
      tags:
      - payments
  /v1/user/project-callbacks/{onRampProjectId}/on-ramp-checkouts:
    delete:
      description: Remove on-ramp checkout webhook callback settings for a project
      operationId: user_on-ramp_delete-checkout-webhook
      parameters:
      - description: On-ramp project ID
        example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: onRampProjectId
        required: true
        schema:
          description: On-ramp project ID
          example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete webhook settings
      tags:
      - on-ramp-webhooks
    get:
      description: Get on-ramp checkout webhook callback settings for a project
      operationId: user_on-ramp_get-checkout-webhook
      parameters:
      - description: On-ramp project ID
        example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: onRampProjectId
        required: true
        schema:
          description: On-ramp project ID
          example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get webhook settings
      tags:
      - on-ramp-webhooks
    put:
      description: Configure on-ramp checkout webhook callback settings for a project
      operationId: user_on-ramp_create-checkout-webhook
      parameters:
      - description: On-ramp project ID
        example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: onRampProjectId
        required: true
        schema:
          description: On-ramp project ID
          example: ORP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CallbackUserSettingsForm'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Set webhook settings
      tags:
      - on-ramp-webhooks
  /v1/user/project-callbacks/{projectId}/crypto-acquiring-checkouts:
    delete:
      description: Delete crypto acquiring checkout webhook
      operationId: user_crypto-acquiring_delete-checkout-webhook
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete checkout webhook
      tags:
      - crypto-acquiring-webhooks
    get:
      description: Get crypto acquiring checkout webhook
      operationId: user_crypto-acquiring_get-checkout-webhook
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          content:
            '*/*':
              examples:
                CHECKOUT_WEBHOOK:
                  description: Checkout webhook
                  summary: Checkout webhook
                  value:
                    projectId: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    secret: '************'
                    type: CRYPTO_ACQUIRING_CHECKOUT
                    url: https://example.com/return/checkout
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get checkout webhook
      tags:
      - crypto-acquiring-webhooks
    put:
      callbacks:
        checkout:
          userDefinedUrl:
            post:
              description: Checkout webhook
              requestBody:
                content:
                  application/json:
                    examples:
                      FIXED_PRICE CONFLICT UNDERPAID example:
                        description: User has sent less than expected amount of crypto
                        summary: FIXED_PRICE CONFLICT / UNDERPAID
                        value:
                          acquiringUrl: https://paycrypto.example.com/checkout/CCO-0ddb0111-265a-402b-9e38-cb4837ade136
                          clientOrderId: '12345_903'
                          createdAt: '2024-07-16T10:06:45.386101Z'
                          cryptoCurrencies: []
                          cryptoCurrenciesByBlockchain: {}
                          cryptoCurrencyDetails: {}
                          estimatedPayAmounts: {}
                          expiresAt: '2024-12-01T12:00:00Z'
                          fixedAmount:
                            amount: 100
                            currency: USD
                          goods: []
                          hidePayerFee: false
                          id: CCO-0ddb0111-265a-402b-9e38-cb4837ade136
                          integrations: []
                          integrationsEstimatedPayAmounts: {}
                          lastUpdatedAt: '2024-07-16T10:19:15.114759704Z'
                          maxLimits: {}
                          merchantFixedPlatformFees: {}
                          merchantMinPlatformFees: {}
                          merchantPercentPlatformFees: {}
                          minLimits: {}
                          name: Test checkout
                          payerFixedPlatformFees: {}
                          payerMinPlatformFees: {}
                          payerPercentPlatformFees: {}
                          projectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          projectName: Testing
                          reason: UNDERPAID
                          refundWindowEndsAt: '2024-07-23T10:19:10.209521Z'
                          refundable: true
                          refunded: false
                          request:
                            address: '0xc9ccda72cdd0c9e781ed9d7a7133f8f3359c5ad0'
                            blockchain: ETHEREUM
                            checkoutId: CCO-0ddb0111-265a-402b-9e38-cb4837ade136
                            clientOrderId: '12345_903'
                            convertPair: USDTUSD
                            convertRate: 1.0072
                            createdAt: '2024-07-16T10:14:42.498862Z'
                            cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                            cryptoAcquiringProjectName: Testing
                            currency: USDT
                            expiresAt: '2024-07-16T10:44:42.498859Z'
                            goods: []
                            hidePayerFee: false
                            id: CAPD-09653787-d24b-4b51-88df-660a27be7e1a
                            lastUpdatedAt: '2024-07-16T10:19:10.209521Z'
                            merchantPlatformFee: 0
                            methodKey: CRYPTOCOIN
                            orderId: ORD-9b983793-19a3-40e1-b79a-7f765a0d1ec4
                            overpaid: false
                            paidAmount: 42
                            payAmount: 99.29
                            payerPlatformFee: 0
                            payment:
                              amount: 42
                              balanceAfterPayment: 52302.7245
                              blockchain: ETHEREUM
                              clientOrderId: '12345_903'
                              createdAt: '2024-07-16T10:18:01.584968Z'
                              cryptoAcquiringCheckoutId: CCO-0ddb0111-265a-402b-9e38-cb4837ade136
                              cryptoAcquiringDepositRequestId: CAPD-09653787-d24b-4b51-88df-660a27be7e1a
                              cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                              currency: USDT
                              externalId: '0x1e4a82748e00f513a67497a4fcc1a0bfaec9c00efdf345c2448928d780353d93'
                              finalStatusAt: '2024-07-16T10:19:05.350695Z'
                              id: PMT-209e3d4e-1300-427c-b358-f79d4ad12a43
                              initialAmount: 42
                              method: CRYPTOCOIN
                              orderId: ORD-9b983793-19a3-40e1-b79a-7f765a0d1ec4
                              orderType: PAYIN
                              productType: ACQUIRING
                              recipient: '0xc9ccda72cdd0c9e781ed9d7a7133f8f3359c5ad0'
                              status: SUCCESS
                              transactionType: DEBIT
                            paymentId: PMT-209e3d4e-1300-427c-b358-f79d4ad12a43
                            paymentStatus: SUCCESS
                            paymentWindowEndsAt: '2024-07-16T10:44:42.498827Z'
                            processingAmount: 99.29
                            reason: UNDERPAID
                            refundWindowEndsAt: '2024-07-23T10:19:10.209521Z'
                            refundable: true
                            refunded: false
                            requestAmount: 100
                            requestAmountConverted: 99.29
                            requestAmountIn: USD
                            status: CONFLICT
                            txHash: '0x1e4a82748e00f513a67497a4fcc1a0bfaec9c00efdf345c2448928d780353d93'
                          returnUrl: https://example.com/return
                          status: CONFLICT
                          type: FIXED_PRICE
                      FIXED_PRICE NEW example:
                        description: New checkout has been created
                        summary: FIXED_PRICE NEW
                        value:
                          acquiringUrl: https://paycrypto.example.com/checkout/CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                          clientOrderId: '12345_901'
                          createdAt: '2024-07-16T08:19:05.329583334Z'
                          cryptoCurrencies: []
                          cryptoCurrenciesByBlockchain: {}
                          cryptoCurrencyDetails: {}
                          estimatedPayAmounts: {}
                          expiresAt: '2024-12-01T12:00:00Z'
                          fixedAmount:
                            amount: 100
                            currency: USD
                          goods: []
                          hidePayerFee: false
                          id: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                          integrations: []
                          integrationsEstimatedPayAmounts: {}
                          maxLimits: {}
                          merchantFixedPlatformFees: {}
                          merchantMinPlatformFees: {}
                          merchantPercentPlatformFees: {}
                          minLimits: {}
                          name: Test checkout
                          payerFixedPlatformFees: {}
                          payerMinPlatformFees: {}
                          payerPercentPlatformFees: {}
                          projectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          projectName: Testing
                          refundable: false
                          refunded: false
                          returnUrl: https://example.com/return
                          status: NEW
                          type: FIXED_PRICE
                      FIXED_PRICE PAYMENT_DETECTED example:
                        description: User paid but Inqud still processes the payment.
                        summary: FIXED_PRICE PAYMENT_DETECTED
                        value:
                          acquiringUrl: https://paycrypto.example.com/checkout/CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                          clientOrderId: '12345_901'
                          createdAt: '2024-07-16T08:19:05.329583Z'
                          cryptoCurrencies: []
                          cryptoCurrenciesByBlockchain: {}
                          cryptoCurrencyDetails: {}
                          estimatedPayAmounts: {}
                          expiresAt: '2024-12-01T12:00:00Z'
                          fixedAmount:
                            amount: 100
                            currency: USD
                          goods: []
                          hidePayerFee: false
                          id: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                          integrations: []
                          integrationsEstimatedPayAmounts: {}
                          lastUpdatedAt: '2024-07-16T08:22:05.089532077Z'
                          maxLimits: {}
                          merchantFixedPlatformFees: {}
                          merchantMinPlatformFees: {}
                          merchantPercentPlatformFees: {}
                          minLimits: {}
                          name: Test checkout
                          payerFixedPlatformFees: {}
                          payerMinPlatformFees: {}
                          payerPercentPlatformFees: {}
                          projectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          projectName: Testing
                          refundable: false
                          refunded: false
                          request:
                            address: '0x91a906a80c0c26f7b5dd62ab2d2197a7c18a0a90'
                            blockchain: ETHEREUM
                            checkoutId: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                            clientOrderId: '12345_901'
                            convertPair: USDTUSD
                            convertRate: 1.0072
                            createdAt: '2024-07-16T08:19:55.159333Z'
                            cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                            cryptoAcquiringProjectName: Testing
                            currency: USDT
                            expiresAt: '2024-07-16T08:49:55.159332Z'
                            goods: []
                            hidePayerFee: false
                            id: CAPD-1b544fde-e7ff-4a79-bba7-c298c1a57475
                            lastUpdatedAt: '2024-07-16T08:22:01.27579Z'
                            merchantFixedPlatformFee: 0
                            merchantPercentPlatformFee: 0
                            merchantPlatformFee: 0
                            methodKey: CRYPTOCOIN
                            orderId: ORD-ec9735a4-2098-479d-9f00-b142db4adfff
                            overpaid: false
                            payAmount: 99.29
                            payerPlatformFee: 0
                            payment:
                              amount: 99.29
                              blockchain: ETHEREUM
                              clientOrderId: '12345_901'
                              createdAt: '2024-07-16T08:22:01.21396Z'
                              cryptoAcquiringCheckoutId: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                              cryptoAcquiringDepositRequestId: CAPD-1b544fde-e7ff-4a79-bba7-c298c1a57475
                              cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                              currency: USDT
                              externalId: '0x233319feb25db018cc15afaa5b424f7e51723258c1266697f1b0fa48d480cf95'
                              id: PMT-16a34282-05a0-41c5-bd73-d287a5f992b3
                              initialAmount: 99.29
                              method: CRYPTOCOIN
                              orderId: ORD-ec9735a4-2098-479d-9f00-b142db4adfff
                              orderType: PAYIN
                              productType: ACQUIRING
                              recipient: '0x91a906a80c0c26f7b5dd62ab2d2197a7c18a0a90'
                              status: PENDING
                              transactionType: DEBIT
                            paymentId: PMT-16a34282-05a0-41c5-bd73-d287a5f992b3
                            paymentStatus: PENDING
                            paymentWindowEndsAt: '2024-07-16T08:49:55.159298Z'
                            processingAmount: 99.29
                            refundable: false
                            refunded: false
                            requestAmount: 100
                            requestAmountConverted: 99.29
                            requestAmountIn: USD
                            status: PENDING_PAYMENT
                            txHash: '0x233319feb25db018cc15afaa5b424f7e51723258c1266697f1b0fa48d480cf95'
                          returnUrl: https://example.com/return
                          status: PAYMENT_DETECTED
                          type: FIXED_PRICE
                      FIXED_PRICE REQUEST_CREATED example:
                        description: User selected crypto currency. Crypto address
                          is allocated for payment.
                        summary: FIXED_PRICE REQUEST_CREATED
                        value:
                          acquiringUrl: https://paycrypto.example.com/checkout/CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                          clientOrderId: '12345_901'
                          createdAt: '2024-07-16T08:19:05.329583Z'
                          cryptoCurrencies: []
                          cryptoCurrenciesByBlockchain: {}
                          cryptoCurrencyDetails: {}
                          estimatedPayAmounts: {}
                          expiresAt: '2024-12-01T12:00:00Z'
                          fixedAmount:
                            amount: 100
                            currency: USD
                          goods: []
                          hidePayerFee: false
                          id: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                          integrations: []
                          integrationsEstimatedPayAmounts: {}
                          maxLimits: {}
                          merchantFixedPlatformFees: {}
                          merchantMinPlatformFees: {}
                          merchantPercentPlatformFees: {}
                          minLimits: {}
                          name: Test checkout
                          payerFixedPlatformFees: {}
                          payerMinPlatformFees: {}
                          payerPercentPlatformFees: {}
                          projectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          projectName: Testing
                          refundable: false
                          refunded: false
                          request:
                            address: '0x91a906a80c0c26f7b5dd62ab2d2197a7c18a0a90'
                            blockchain: ETHEREUM
                            checkoutId: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                            clientOrderId: '12345_901'
                            convertPair: USDTUSD
                            convertRate: 1.0072
                            createdAt: '2024-07-16T08:19:55.159333428Z'
                            cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                            cryptoAcquiringProjectName: Testing
                            currency: USDT
                            expiresAt: '2024-07-16T08:49:55.159332148Z'
                            goods: []
                            hidePayerFee: false
                            id: CAPD-1b544fde-e7ff-4a79-bba7-c298c1a57475
                            merchantFixedPlatformFee: 0
                            merchantPercentPlatformFee: 0
                            merchantPlatformFee: 0
                            methodKey: CRYPTOCOIN
                            orderId: ORD-ec9735a4-2098-479d-9f00-b142db4adfff
                            overpaid: false
                            payAmount: 99.29
                            payerPlatformFee: 0
                            paymentWindowEndsAt: '2024-07-16T08:49:55.15929846Z'
                            processingAmount: 99.29
                            refundable: false
                            refunded: false
                            requestAmount: 100
                            requestAmountConverted: 99.29
                            requestAmountIn: USD
                            status: WAITING_PAYMENT
                          returnUrl: https://example.com/return
                          status: REQUEST_CREATED
                          type: FIXED_PRICE
                      FIXED_PRICE SUCCESS example:
                        description: Inqud has received the payment and the checkout
                          is successful.
                        summary: FIXED_PRICE SUCCESS
                        value:
                          acquiringUrl: https://paycrypto.example.com/checkout/CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                          clientOrderId: '12345_901'
                          createdAt: '2024-07-16T08:19:05.329583Z'
                          cryptoCurrencies: []
                          cryptoCurrenciesByBlockchain: {}
                          cryptoCurrencyDetails: {}
                          estimatedPayAmounts: {}
                          expiresAt: '2024-12-01T12:00:00Z'
                          fixedAmount:
                            amount: 100
                            currency: USD
                          goods: []
                          hidePayerFee: false
                          id: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                          integrations: []
                          integrationsEstimatedPayAmounts: {}
                          lastUpdatedAt: '2024-07-16T08:23:15.115385254Z'
                          maxLimits: {}
                          merchantFixedPlatformFees: {}
                          merchantMinPlatformFees: {}
                          merchantPercentPlatformFees: {}
                          minLimits: {}
                          name: Test checkout
                          payerFixedPlatformFees: {}
                          payerMinPlatformFees: {}
                          payerPercentPlatformFees: {}
                          projectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          projectName: Testing
                          refundWindowEndsAt: '2024-07-23T08:23:10.141419Z'
                          refundable: true
                          refunded: false
                          request:
                            address: '0x91a906a80c0c26f7b5dd62ab2d2197a7c18a0a90'
                            blockchain: ETHEREUM
                            checkoutId: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                            clientOrderId: '12345_901'
                            convertPair: USDTUSD
                            convertRate: 1.0072
                            createdAt: '2024-07-16T08:19:55.159333Z'
                            cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                            cryptoAcquiringProjectName: Testing
                            currency: USDT
                            expiresAt: '2024-07-16T08:49:55.159332Z'
                            goods: []
                            hidePayerFee: false
                            id: CAPD-1b544fde-e7ff-4a79-bba7-c298c1a57475
                            lastUpdatedAt: '2024-07-16T08:23:10.141419Z'
                            merchantFixedPlatformFee: 0
                            merchantPercentPlatformFee: 0
                            merchantPlatformFee: 0
                            methodKey: CRYPTOCOIN
                            orderId: ORD-ec9735a4-2098-479d-9f00-b142db4adfff
                            overpaid: false
                            paidAmount: 99.29
                            payAmount: 99.29
                            payerPlatformFee: 0
                            payment:
                              amount: 99.29
                              balanceAfterPayment: 52302.7245
                              blockchain: ETHEREUM
                              clientOrderId: '12345_901'
                              createdAt: '2024-07-16T08:22:01.21396Z'
                              cryptoAcquiringCheckoutId: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                              cryptoAcquiringDepositRequestId: CAPD-1b544fde-e7ff-4a79-bba7-c298c1a57475
                              cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                              currency: USDT
                              externalId: '0x233319feb25db018cc15afaa5b424f7e51723258c1266697f1b0fa48d480cf95'
                              finalStatusAt: '2024-07-16T08:23:05.204995Z'
                              id: PMT-16a34282-05a0-41c5-bd73-d287a5f992b3
                              initialAmount: 99.29
                              method: CRYPTOCOIN
                              orderId: ORD-ec9735a4-2098-479d-9f00-b142db4adfff
                              orderType: PAYIN
                              productType: ACQUIRING
                              recipient: '0x91a906a80c0c26f7b5dd62ab2d2197a7c18a0a90'
                              status: SUCCESS
                              transactionType: DEBIT
                            paymentId: PMT-16a34282-05a0-41c5-bd73-d287a5f992b3
                            paymentStatus: SUCCESS
                            paymentWindowEndsAt: '2024-07-16T08:49:55.159298Z'
                            processingAmount: 99.29
                            refundWindowEndsAt: '2024-07-23T08:23:10.141419Z'
                            refundable: true
                            refunded: false
                            requestAmount: 100
                            requestAmountConverted: 99.29
                            requestAmountIn: USD
                            status: SUCCESS
                            txHash: '0x233319feb25db018cc15afaa5b424f7e51723258c1266697f1b0fa48d480cf95'
                          returnUrl: https://example.com/return
                          status: SUCCESS
                          type: FIXED_PRICE
                      NO_PRICE NEW example:
                        description: New checkout has been created
                        summary: NO_PRICE NEW
                        value:
                          acquiringUrl: https://paycrypto.example.com/checkout/CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                          clientOrderId: '12345_902'
                          createdAt: '2024-07-16T09:38:47.002706575Z'
                          cryptoCurrencies: []
                          cryptoCurrenciesByBlockchain: {}
                          cryptoCurrencyDetails: {}
                          estimatedPayAmounts: {}
                          expiresAt: '2024-12-01T12:00:00Z'
                          goods: []
                          hidePayerFee: false
                          id: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                          integrations: []
                          integrationsEstimatedPayAmounts: {}
                          maxLimits: {}
                          merchantFixedPlatformFees: {}
                          merchantMinPlatformFees: {}
                          merchantPercentPlatformFees: {}
                          minLimits: {}
                          name: Test checkout
                          payerFixedPlatformFees: {}
                          payerMinPlatformFees: {}
                          payerPercentPlatformFees: {}
                          projectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          projectName: Testing
                          refundable: false
                          refunded: false
                          returnUrl: https://example.com/return
                          status: NEW
                          type: NO_PRICE
                      NO_PRICE PAYMENT_DETECTED example:
                        description: User paid but Inqud still processes the payment.
                        summary: NO_PRICE PAYMENT_DETECTED
                        value:
                          acquiringUrl: https://paycrypto.example.com/checkout/CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                          clientOrderId: '12345_902'
                          createdAt: '2024-07-16T09:38:47.002707Z'
                          cryptoCurrencies: []
                          cryptoCurrenciesByBlockchain: {}
                          cryptoCurrencyDetails: {}
                          estimatedPayAmounts: {}
                          expiresAt: '2024-12-01T12:00:00Z'
                          goods: []
                          hidePayerFee: false
                          id: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                          integrations: []
                          integrationsEstimatedPayAmounts: {}
                          lastUpdatedAt: '2024-07-16T09:42:05.063032666Z'
                          maxLimits: {}
                          merchantFixedPlatformFees: {}
                          merchantMinPlatformFees: {}
                          merchantPercentPlatformFees: {}
                          minLimits: {}
                          name: Test checkout
                          payerFixedPlatformFees: {}
                          payerMinPlatformFees: {}
                          payerPercentPlatformFees: {}
                          projectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          projectName: Testing
                          refundable: false
                          refunded: false
                          request:
                            address: '0x24e40ab55657c117ba3bf5e56fe0253ac85ce91b'
                            blockchain: ETHEREUM
                            checkoutId: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                            clientOrderId: '12345_902'
                            createdAt: '2024-07-16T09:39:40.201805Z'
                            cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                            cryptoAcquiringProjectName: Testing
                            currency: USDT
                            expiresAt: '2024-07-16T10:09:40.201804Z'
                            goods: []
                            hidePayerFee: false
                            id: CAPD-a944f577-2b15-4796-ab24-4886fea66df0
                            lastUpdatedAt: '2024-07-16T09:42:01.478498Z'
                            maxLimit: 1000
                            merchantFixedPlatformFee: 0
                            merchantPercentPlatformFee: 0
                            merchantPlatformFee: 0
                            methodKey: CRYPTOCOIN
                            minLimit: 1
                            orderId: ORD-9e1b73bc-9556-4374-99ce-f655421110c1
                            overpaid: false
                            payment:
                              amount: 100
                              blockchain: ETHEREUM
                              clientOrderId: '12345_902'
                              createdAt: '2024-07-16T09:42:01.442941Z'
                              cryptoAcquiringCheckoutId: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                              cryptoAcquiringDepositRequestId: CAPD-a944f577-2b15-4796-ab24-4886fea66df0
                              cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                              currency: USDT
                              externalId: '0xbe203586c414a88e611045f50830947297a370b030de287f14146a409c4ad6eb'
                              id: PMT-df91506f-e2c5-447b-b8c0-7bb057d98a18
                              initialAmount: 100
                              method: CRYPTOCOIN
                              orderId: ORD-9e1b73bc-9556-4374-99ce-f655421110c1
                              orderType: PAYIN
                              productType: ACQUIRING
                              recipient: '0x24e40ab55657c117ba3bf5e56fe0253ac85ce91b'
                              status: PENDING
                              transactionType: DEBIT
                            paymentId: PMT-df91506f-e2c5-447b-b8c0-7bb057d98a18
                            paymentStatus: PENDING
                            paymentWindowEndsAt: '2024-07-16T10:09:40.201784Z'
                            refundable: false
                            refunded: false
                            status: PENDING_PAYMENT
                            txHash: '0xbe203586c414a88e611045f50830947297a370b030de287f14146a409c4ad6eb'
                          returnUrl: https://example.com/return
                          status: PAYMENT_DETECTED
                          type: NO_PRICE
                      NO_PRICE REQUEST_CREATED example:
                        description: User selected crypto currency. Crypto address
                          is allocated for payment.
                        summary: NO_PRICE REQUEST_CREATED
                        value:
                          acquiringUrl: https://paycrypto.example.com/checkout/CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                          clientOrderId: '12345_902'
                          createdAt: '2024-07-16T09:38:47.002707Z'
                          cryptoCurrencies: []
                          cryptoCurrenciesByBlockchain: {}
                          cryptoCurrencyDetails: {}
                          estimatedPayAmounts: {}
                          expiresAt: '2024-12-01T12:00:00Z'
                          goods: []
                          hidePayerFee: false
                          id: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                          integrations: []
                          integrationsEstimatedPayAmounts: {}
                          maxLimits: {}
                          merchantFixedPlatformFees: {}
                          merchantMinPlatformFees: {}
                          merchantPercentPlatformFees: {}
                          minLimits: {}
                          name: Test checkout
                          payerFixedPlatformFees: {}
                          payerMinPlatformFees: {}
                          payerPercentPlatformFees: {}
                          projectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          projectName: Testing
                          refundable: false
                          refunded: false
                          request:
                            address: '0x24e40ab55657c117ba3bf5e56fe0253ac85ce91b'
                            blockchain: ETHEREUM
                            checkoutId: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                            clientOrderId: '12345_902'
                            createdAt: '2024-07-16T09:39:40.201804731Z'
                            cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                            cryptoAcquiringProjectName: Testing
                            currency: USDT
                            expiresAt: '2024-07-16T10:09:40.201803538Z'
                            goods: []
                            hidePayerFee: false
                            id: CAPD-a944f577-2b15-4796-ab24-4886fea66df0
                            maxLimit: 1000
                            merchantFixedPlatformFee: 0
                            merchantPercentPlatformFee: 0
                            merchantPlatformFee: 0
                            methodKey: CRYPTOCOIN
                            minLimit: 1
                            orderId: ORD-9e1b73bc-9556-4374-99ce-f655421110c1
                            overpaid: false
                            paymentWindowEndsAt: '2024-07-16T10:09:40.201783552Z'
                            refundable: false
                            refunded: false
                            status: WAITING_PAYMENT
                          returnUrl: https://example.com/return
                          status: REQUEST_CREATED
                          type: NO_PRICE
                      NO_PRICE SUCCESS example:
                        description: Inqud has received the payment and the checkout
                          is successful.
                        summary: NO_PRICE SUCCESS
                        value:
                          acquiringUrl: https://paycrypto.example.com/checkout/CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                          clientOrderId: '12345_902'
                          createdAt: '2024-07-16T09:38:47.002707Z'
                          cryptoCurrencies: []
                          cryptoCurrenciesByBlockchain: {}
                          cryptoCurrencyDetails: {}
                          estimatedPayAmounts: {}
                          expiresAt: '2024-12-01T12:00:00Z'
                          goods: []
                          hidePayerFee: false
                          id: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                          integrations: []
                          integrationsEstimatedPayAmounts: {}
                          lastUpdatedAt: '2024-07-16T09:43:10.08502529Z'
                          maxLimits: {}
                          merchantFixedPlatformFees: {}
                          merchantMinPlatformFees: {}
                          merchantPercentPlatformFees: {}
                          minLimits: {}
                          name: Test checkout
                          payerFixedPlatformFees: {}
                          payerMinPlatformFees: {}
                          payerPercentPlatformFees: {}
                          projectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          projectName: Testing
                          refundWindowEndsAt: '2024-07-23T09:43:05.130243Z'
                          refundable: true
                          refunded: false
                          request:
                            address: '0x24e40ab55657c117ba3bf5e56fe0253ac85ce91b'
                            blockchain: ETHEREUM
                            checkoutId: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                            clientOrderId: '12345_902'
                            createdAt: '2024-07-16T09:39:40.201805Z'
                            cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                            cryptoAcquiringProjectName: Testing
                            currency: USDT
                            expiresAt: '2024-07-16T10:09:40.201804Z'
                            goods: []
                            hidePayerFee: false
                            id: CAPD-a944f577-2b15-4796-ab24-4886fea66df0
                            lastUpdatedAt: '2024-07-16T09:43:05.130243Z'
                            maxLimit: 1000
                            merchantFixedPlatformFee: 0
                            merchantPercentPlatformFee: 0
                            methodKey: CRYPTOCOIN
                            minLimit: 1
                            orderId: ORD-9e1b73bc-9556-4374-99ce-f655421110c1
                            overpaid: false
                            paidAmount: 100
                            payment:
                              amount: 100
                              balanceAfterPayment: 52302.7245
                              blockchain: ETHEREUM
                              clientOrderId: '12345_902'
                              createdAt: '2024-07-16T09:42:01.442941Z'
                              cryptoAcquiringCheckoutId: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                              cryptoAcquiringDepositRequestId: CAPD-a944f577-2b15-4796-ab24-4886fea66df0
                              cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                              currency: USDT
                              externalId: '0xbe203586c414a88e611045f50830947297a370b030de287f14146a409c4ad6eb'
                              finalStatusAt: '2024-07-16T09:43:04.581921Z'
                              id: PMT-df91506f-e2c5-447b-b8c0-7bb057d98a18
                              initialAmount: 100
                              method: CRYPTOCOIN
                              orderId: ORD-9e1b73bc-9556-4374-99ce-f655421110c1
                              orderType: PAYIN
                              productType: ACQUIRING
                              recipient: '0x24e40ab55657c117ba3bf5e56fe0253ac85ce91b'
                              status: SUCCESS
                              transactionType: DEBIT
                            paymentId: PMT-df91506f-e2c5-447b-b8c0-7bb057d98a18
                            paymentStatus: SUCCESS
                            paymentWindowEndsAt: '2024-07-16T10:09:40.201784Z'
                            refundWindowEndsAt: '2024-07-23T09:43:05.130243Z'
                            refundable: true
                            refunded: false
                            status: SUCCESS
                            txHash: '0xbe203586c414a88e611045f50830947297a370b030de287f14146a409c4ad6eb'
                          returnUrl: https://example.com/return
                          status: SUCCESS
                          type: NO_PRICE
                    schema:
                      $ref: '#/components/schemas/CryptoAcquiringCheckout'
                description: Checkout model
              responses:
                '200':
                  description: Return this code if the webhook processed successfully
      description: Create crypto acquiring checkout webhook
      operationId: user_crypto-acquiring_create-checkout-webhook
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      requestBody:
        content:
          application/json:
            examples:
              CHECKOUT_WEBHOOK:
                description: Checkout webhook
                summary: Checkout webhook
                value:
                  secret: Secret phrase
                  url: https://example.com/return/checkout
            schema:
              $ref: '#/components/schemas/CallbackUserSettingsForm'
        required: true
      responses:
        '200':
          content:
            '*/*':
              examples:
                CHECKOUT_WEBHOOK:
                  description: Checkout webhook
                  summary: Checkout webhook
                  value:
                    projectId: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    secret: '************'
                    type: CRYPTO_ACQUIRING_CHECKOUT
                    url: https://example.com/return/checkout
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create checkout webhook
      tags:
      - crypto-acquiring-webhooks
  /v1/user/project-callbacks/{projectId}/crypto-acquiring-requests:
    delete:
      description: Delete crypto acquiring request webhook
      operationId: user_crypto-acquiring_delete-request-webhook
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete request webhook
      tags:
      - crypto-acquiring-webhooks
    get:
      description: Get crypto acquiring request webhook
      operationId: user_crypto-acquiring_get-request-webhook
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      responses:
        '200':
          content:
            '*/*':
              examples:
                REQUEST_WEBHOOK:
                  description: Request webhook
                  summary: Request webhook
                  value:
                    projectId: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    secret: '************'
                    type: CRYPTO_ACQUIRING_REQUEST
                    url: https://example.com/return/request
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get request webhook
      tags:
      - crypto-acquiring-webhooks
    put:
      callbacks:
        request:
          userDefinedUrl:
            post:
              description: Request webhook
              requestBody:
                content:
                  application/json:
                    examples:
                      FIXED_PRICE CONFLICT UNDERPAID example:
                        description: User paid less than expected amount
                        summary: FIXED_PRICE CONFLICT / UNDERPAID
                        value:
                          address: '0xc9ccda72cdd0c9e781ed9d7a7133f8f3359c5ad0'
                          blockchain: ETHEREUM
                          checkoutId: CCO-0ddb0111-265a-402b-9e38-cb4837ade136
                          clientOrderId: '12345_903'
                          convertPair: USDTUSD
                          convertRate: 1.0072
                          createdAt: '2024-07-16T10:14:42.498862Z'
                          cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          cryptoAcquiringProjectName: Testing
                          currency: USDT
                          expiresAt: '2024-07-16T10:44:42.498859Z'
                          goods: []
                          hidePayerFee: false
                          id: CAPD-09653787-d24b-4b51-88df-660a27be7e1a
                          lastUpdatedAt: '2024-07-16T10:19:10.20952079Z'
                          merchantPlatformFee: 0
                          methodKey: CRYPTOCOIN
                          orderId: ORD-9b983793-19a3-40e1-b79a-7f765a0d1ec4
                          overpaid: false
                          paidAmount: 42
                          payAmount: 99.29
                          payerPlatformFee: 0
                          payment:
                            amount: 42
                            balanceAfterPayment: 52302.7245
                            blockchain: ETHEREUM
                            clientOrderId: '12345_903'
                            createdAt: '2024-07-16T10:18:01.584968Z'
                            cryptoAcquiringCheckoutId: CCO-0ddb0111-265a-402b-9e38-cb4837ade136
                            cryptoAcquiringDepositRequestId: CAPD-09653787-d24b-4b51-88df-660a27be7e1a
                            cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                            currency: USDT
                            externalId: '0x1e4a82748e00f513a67497a4fcc1a0bfaec9c00efdf345c2448928d780353d93'
                            finalStatusAt: '2024-07-16T10:19:05.350695Z'
                            id: PMT-209e3d4e-1300-427c-b358-f79d4ad12a43
                            initialAmount: 42
                            method: CRYPTOCOIN
                            orderId: ORD-9b983793-19a3-40e1-b79a-7f765a0d1ec4
                            orderType: PAYIN
                            productType: ACQUIRING
                            recipient: '0xc9ccda72cdd0c9e781ed9d7a7133f8f3359c5ad0'
                            status: SUCCESS
                            transactionType: DEBIT
                          paymentId: PMT-209e3d4e-1300-427c-b358-f79d4ad12a43
                          paymentStatus: SUCCESS
                          paymentWindowEndsAt: '2024-07-16T10:44:42.498827Z'
                          processingAmount: 99.29
                          reason: UNDERPAID
                          refundWindowEndsAt: '2024-08-15T08:23:10.141419Z'
                          refundable: true
                          refunded: false
                          requestAmount: 100
                          requestAmountConverted: 99.29
                          requestAmountIn: USD
                          status: CONFLICT
                          txHash: '0x1e4a82748e00f513a67497a4fcc1a0bfaec9c00efdf345c2448928d780353d93'
                      FIXED_PRICE PENDING_PAYMENT example:
                        description: Inqud system detected incoming payment but has
                          not yet confirmed it.
                        summary: FIXED_PRICE PENDING_PAYMENT
                        value:
                          address: '0x91a906a80c0c26f725dd62ab2d2197a5c18a0a90'
                          blockchain: ETHEREUM
                          checkoutId: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                          clientOrderId: '12345_901'
                          convertPair: USDTUSD
                          convertRate: 1.0072
                          createdAt: '2024-07-16T08:19:55.159333Z'
                          cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          cryptoAcquiringProjectName: Testing
                          currency: USDT
                          expiresAt: '2024-07-16T08:49:55.159332Z'
                          goods: []
                          hidePayerFee: false
                          id: CAPD-1b544fde-e7ff-4a79-bba7-c298c1a57475
                          lastUpdatedAt: '2024-07-16T08:22:01.275790309Z'
                          merchantFixedPlatformFee: 0
                          merchantPercentPlatformFee: 0
                          merchantPlatformFee: 0
                          methodKey: CRYPTOCOIN
                          orderId: ORD-ec9735a4-2098-479d-9f00-b142db4adfff
                          overpaid: false
                          payAmount: 99.29
                          payerPlatformFee: 0
                          payment:
                            amount: 99.29
                            blockchain: ETHEREUM
                            clientOrderId: '12345_901'
                            createdAt: '2024-07-16T08:22:01.213960035Z'
                            cryptoAcquiringCheckoutId: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                            cryptoAcquiringDepositRequestId: CAPD-1b544fde-e7ff-4a79-bba7-c298c1a57475
                            cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                            currency: USDT
                            externalId: '0x233319feb25db018cc15afaa52424f7e51723258c1266397f1b0fa48d480cf95'
                            id: PMT-16a34282-05a0-41c5-bd73-d287a5f992b3
                            initialAmount: 99.29
                            method: CRYPTOCOIN
                            orderId: ORD-ec9735a4-2098-479d-9f00-b142db4adfff
                            orderType: PAYIN
                            productType: ACQUIRING
                            recipient: '0x91a906a80c0c26f725dd62ab2d2197a5c18a0a90'
                            status: PENDING
                            transactionType: DEBIT
                          paymentId: PMT-16a34282-05a0-41c5-bd73-d287a5f992b3
                          paymentStatus: PENDING
                          paymentWindowEndsAt: '2024-07-16T08:49:55.159298Z'
                          processingAmount: 99.29
                          refundable: false
                          refunded: false
                          requestAmount: 100
                          requestAmountConverted: 99.29
                          requestAmountIn: USD
                          status: PENDING_PAYMENT
                          txHash: '0x233319feb25db018cc15afaa52424f7e51723258c1266397f1b0fa48d480cf95'
                      FIXED_PRICE SUCCESS_PAYMENT example:
                        description: Inqud system detected incoming payment and processed
                          it successfully.
                        summary: FIXED_PRICE SUCCESS
                        value:
                          address: '0x91a906a80c0c26f7b5dd62ab2d2197a7c18a0a90'
                          blockchain: ETHEREUM
                          checkoutId: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                          clientOrderId: '12345_901'
                          convertPair: USDTUSD
                          convertRate: 1.0072
                          createdAt: '2024-07-16T08:19:55.159333Z'
                          cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          cryptoAcquiringProjectName: Testing
                          currency: USDT
                          expiresAt: '2024-07-16T08:49:55.159332Z'
                          goods: []
                          hidePayerFee: false
                          id: CAPD-1b544fde-e7ff-4a79-bba7-c298c1a57475
                          lastUpdatedAt: '2024-07-16T08:23:10.141419238Z'
                          merchantFixedPlatformFee: 0
                          merchantPercentPlatformFee: 0
                          merchantPlatformFee: 0
                          methodKey: CRYPTOCOIN
                          orderId: ORD-ec9735a4-2098-479d-9f00-b142db4adfff
                          overpaid: false
                          paidAmount: 99.29
                          payAmount: 99.29
                          payerPlatformFee: 0
                          payment:
                            amount: 99.29
                            balanceAfterPayment: 52302.7245
                            blockchain: ETHEREUM
                            clientOrderId: '12345_901'
                            createdAt: '2024-07-16T08:22:01.21396Z'
                            cryptoAcquiringCheckoutId: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                            cryptoAcquiringDepositRequestId: CAPD-1b544fde-e7ff-4a79-bba7-c298c1a57475
                            cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                            currency: USDT
                            externalId: '0x233319feb25db018cc15afaa5b424f7e51723258c1266697f1b0fa48d480cf95'
                            finalStatusAt: '2024-07-16T08:23:05.204995Z'
                            id: PMT-16a34282-05a0-41c5-bd73-d287a5f992b3
                            initialAmount: 99.29
                            method: CRYPTOCOIN
                            orderId: ORD-ec9735a4-2098-479d-9f00-b142db4adfff
                            orderType: PAYIN
                            productType: ACQUIRING
                            recipient: '0x91a906a80c0c26f7b5dd62ab2d2197a7c18a0a90'
                            status: SUCCESS
                            transactionType: DEBIT
                          paymentId: PMT-16a34282-05a0-41c5-bd73-d287a5f992b3
                          paymentStatus: SUCCESS
                          paymentWindowEndsAt: '2024-07-16T08:49:55.159298Z'
                          processingAmount: 99.29
                          refundWindowEndsAt: '2024-08-15T08:23:10.141419Z'
                          refundable: true
                          refunded: false
                          requestAmount: 100
                          requestAmountConverted: 99.29
                          requestAmountIn: USD
                          status: SUCCESS
                          txHash: '0x233319feb25db018cc15afaa5b424f7e51723258c1266697f1b0fa48d480cf95'
                      FIXED_PRICE WAITING_PAYMENT example:
                        description: Inqud system is waiting for payment.
                        summary: FIXED_PRICE WAITING_PAYMENT
                        value:
                          address: '0x91a906a80c0c26f7b5dd62ab2d2197a7c18a0a90'
                          blockchain: ETHEREUM
                          checkoutId: CCO-5a10adf7-7c1f-4a5b-bd45-859aeaf024b3
                          clientOrderId: '12345_901'
                          convertPair: USDTUSD
                          convertRate: 1.0072
                          createdAt: '2024-07-16T08:19:55.159333428Z'
                          cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          cryptoAcquiringProjectName: Testing
                          currency: USDT
                          expiresAt: '2024-07-16T08:49:55.159332148Z'
                          goods: []
                          hidePayerFee: false
                          id: CAPD-1b544fde-e7ff-4a79-bba7-c298c1a57475
                          merchantFixedPlatformFee: 0
                          merchantPercentPlatformFee: 0
                          merchantPlatformFee: 0
                          methodKey: CRYPTOCOIN
                          orderId: ORD-ec9735a4-2098-479d-9f00-b142db4adfff
                          overpaid: false
                          payAmount: 99.29
                          payerPlatformFee: 0
                          paymentWindowEndsAt: '2024-07-16T08:49:55.15929846Z'
                          processingAmount: 99.29
                          refundable: false
                          refunded: false
                          requestAmount: 100
                          requestAmountConverted: 99.29
                          requestAmountIn: USD
                          status: WAITING_PAYMENT
                      NO_PRICE PENDING_PAYMENT example:
                        description: Inqud system detected incoming payment but has
                          not yet confirmed it.
                        summary: NO_PRICE PENDING_PAYMENT
                        value:
                          address: '0x24e40ab55657c117ba3bf5e56fe0253ac85ce91b'
                          blockchain: ETHEREUM
                          checkoutId: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                          clientOrderId: '12345_902'
                          createdAt: '2024-07-16T09:39:40.201805Z'
                          cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          cryptoAcquiringProjectName: Testing
                          currency: USDT
                          expiresAt: '2024-07-16T10:09:40.201804Z'
                          goods: []
                          hidePayerFee: false
                          id: CAPD-a944f577-2b15-4796-ab24-4886fea66df0
                          lastUpdatedAt: '2024-07-16T09:42:01.478498375Z'
                          maxLimit: 1000
                          merchantFixedPlatformFee: 0
                          merchantPercentPlatformFee: 0
                          merchantPlatformFee: 0
                          methodKey: CRYPTOCOIN
                          minLimit: 1
                          orderId: ORD-9e1b73bc-9556-4374-99ce-f655421110c1
                          overpaid: false
                          payment:
                            amount: 100
                            blockchain: ETHEREUM
                            clientOrderId: '12345_902'
                            createdAt: '2024-07-16T09:42:01.442940703Z'
                            cryptoAcquiringCheckoutId: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                            cryptoAcquiringDepositRequestId: CAPD-a944f577-2b15-4796-ab24-4886fea66df0
                            cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                            currency: USDT
                            externalId: '0xbe203586c414a88e611045f50830947297a370b030de287f14146a409c4ad6eb'
                            id: PMT-df91506f-e2c5-447b-b8c0-7bb057d98a18
                            initialAmount: 100
                            method: CRYPTOCOIN
                            orderId: ORD-9e1b73bc-9556-4374-99ce-f655421110c1
                            orderType: PAYIN
                            productType: ACQUIRING
                            recipient: '0x24e40ab55657c117ba3bf5e56fe0253ac85ce91b'
                            status: PENDING
                            transactionType: DEBIT
                          paymentId: PMT-df91506f-e2c5-447b-b8c0-7bb057d98a18
                          paymentStatus: PENDING
                          paymentWindowEndsAt: '2024-07-16T10:09:40.201784Z'
                          refundable: false
                          refunded: false
                          status: PENDING_PAYMENT
                          txHash: '0xbe203586c414a88e611045f50830947297a370b030de287f14146a409c4ad6eb'
                      NO_PRICE SUCCESS_PAYMENT example:
                        description: Inqud system detected incoming payment and processed
                          it successfully.
                        summary: NO_PRICE SUCCESS
                        value:
                          address: '0x24e40ab55657c117ba3bf5e56fe0253ac85ce91b'
                          blockchain: ETHEREUM
                          checkoutId: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                          clientOrderId: '12345_902'
                          createdAt: '2024-07-16T09:39:40.201805Z'
                          cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          cryptoAcquiringProjectName: Testing
                          currency: USDT
                          expiresAt: '2024-07-16T10:09:40.201804Z'
                          goods: []
                          hidePayerFee: false
                          id: CAPD-a944f577-2b15-4796-ab24-4886fea66df0
                          lastUpdatedAt: '2024-07-16T09:43:05.130242928Z'
                          maxLimit: 1000
                          merchantFixedPlatformFee: 0
                          merchantPercentPlatformFee: 0
                          methodKey: CRYPTOCOIN
                          minLimit: 1
                          orderId: ORD-9e1b73bc-9556-4374-99ce-f655421110c1
                          overpaid: false
                          paidAmount: 100
                          payment:
                            amount: 100
                            balanceAfterPayment: 52302.7245
                            blockchain: ETHEREUM
                            clientOrderId: '12345_902'
                            createdAt: '2024-07-16T09:42:01.442941Z'
                            cryptoAcquiringCheckoutId: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                            cryptoAcquiringDepositRequestId: CAPD-a944f577-2b15-4796-ab24-4886fea66df0
                            cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                            currency: USDT
                            externalId: '0xbe203586c414a88e611045f50830947297a370b030de287f14146a409c4ad6eb'
                            finalStatusAt: '2024-07-16T09:43:04.581921Z'
                            id: PMT-df91506f-e2c5-447b-b8c0-7bb057d98a18
                            initialAmount: 100
                            method: CRYPTOCOIN
                            orderId: ORD-9e1b73bc-9556-4374-99ce-f655421110c1
                            orderType: PAYIN
                            productType: ACQUIRING
                            recipient: '0x24e40ab55657c117ba3bf5e56fe0253ac85ce91b'
                            status: SUCCESS
                            transactionType: DEBIT
                          paymentId: PMT-df91506f-e2c5-447b-b8c0-7bb057d98a18
                          paymentStatus: SUCCESS
                          paymentWindowEndsAt: '2024-07-16T10:09:40.201784Z'
                          refundWindowEndsAt: '2024-08-15T08:23:10.141419Z'
                          refundable: true
                          refunded: false
                          status: SUCCESS
                          txHash: '0xbe203586c414a88e611045f50830947297a370b030de287f14146a409c4ad6eb'
                      NO_PRICE WAITING_PAYMENT example:
                        description: Inqud system is waiting for payment.
                        summary: NO_PRICE WAITING_PAYMENT
                        value:
                          address: '0x24e40ab55657c117ba3bf5e56fe0253ac85ce91b'
                          blockchain: ETHEREUM
                          checkoutId: CCO-02010231-9614-4ca6-96c2-f7aafeef297c
                          clientOrderId: '12345_902'
                          createdAt: '2024-07-16T09:39:40.201804731Z'
                          cryptoAcquiringProjectId: CAP-93123eb9-67dd-4916-9c60-3a34ff4f85c5
                          cryptoAcquiringProjectName: Testing
                          currency: USDT
                          expiresAt: '2024-07-16T10:09:40.201803538Z'
                          goods: []
                          hidePayerFee: false
                          id: CAPD-a944f577-2b15-4796-ab24-4886fea66df0
                          maxLimit: 1000
                          merchantFixedPlatformFee: 0
                          merchantPercentPlatformFee: 0
                          merchantPlatformFee: 0
                          methodKey: CRYPTOCOIN
                          minLimit: 1
                          orderId: ORD-9e1b73bc-9556-4374-99ce-f655421110c1
                          overpaid: false
                          paymentWindowEndsAt: '2024-07-16T10:09:40.201783552Z'
                          refundable: false
                          refunded: false
                          status: WAITING_PAYMENT
                    schema:
                      $ref: '#/components/schemas/CryptoAcquiringRequest'
                description: Request model
              responses:
                '200':
                  description: Return this code if the webhook processed successfully
      description: Create crypto acquiring request webhook
      operationId: user_crypto-acquiring_create-request-webhook
      parameters:
      - description: Widget ID
        example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
        in: path
        name: projectId
        required: true
        schema:
          description: Widget ID
          example: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
          type: string
      requestBody:
        content:
          application/json:
            examples:
              REQUEST_WEBHOOK:
                description: Request webhook
                summary: Request webhook
                value:
                  secret: Secret phrase
                  url: https://example.com/return/request
            schema:
              $ref: '#/components/schemas/CallbackUserSettingsForm'
        required: true
      responses:
        '200':
          content:
            '*/*':
              examples:
                REQUEST_WEBHOOK:
                  description: Request webhook
                  summary: Request webhook
                  value:
                    projectId: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    secret: '************'
                    type: CRYPTO_ACQUIRING_REQUEST
                    url: https://example.com/return/request
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Create request webhook
      tags:
      - crypto-acquiring-webhooks
  /v1/user/project-callbacks/{projectId}/crypto-acquiring-static-address-payments:
    delete:
      description: Delete crypto-acquiring static address payments webhook
      operationId: user_crypto-acquiring_delete-crypto-acquiring-static-address-payments-webhook
      parameters:
      - in: path
        name: projectId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete static address payments webhook
      tags:
      - crypto-acquiring-webhooks
    get:
      description: Get crypto-acquiring static address payments webhook
      operationId: user_crypto-acquiring_get-crypto-acquiring-static-address-payments-webhook
      parameters:
      - in: path
        name: projectId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            '*/*':
              examples:
                STATIC_ADDRESS_WEBHOOK:
                  description: Crypto acquiring static payment webhook
                  summary: Crypto acquiring static payment webhook
                  value:
                    projectId: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    secret: '************'
                    type: CRYPTO_ACQUIRING_STATIC_ADDRESS_PAYMENT
                    url: https://example.com/return/crypto-acquiring-static-payment
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get static address payments webhook
      tags:
      - crypto-acquiring-webhooks
    put:
      callbacks:
        crypto-acquiring-static-address-payments:
          userDefinedUrl:
            post:
              description: Crypto-acquiring static address payments webhook
              requestBody:
                content:
                  application/json:
                    examples:
                      USDT payin to crypto acquiring static address:
                        description: USDT payin to crypto acquiring static address
                        summary: USDT payin to crypto acquiring static address
                        value:
                          amount: 192.87
                          balanceAfterPayment: 69961.305837
                          blockchain: ETHEREUM
                          createdAt: '2025-01-23T13:15:06.181588Z'
                          cryptoAcquiringBundleId: CASB-1697bdb7-2e21-4545-b779-3359a64eceb1
                          cryptoAcquiringProjectId: CAP-4928d16e-818f-41cc-a065-d33e72f86914
                          cryptoAcquiringReferenceId: '1234567890'
                          currency: USDT
                          externalId: '0xb5400ef6047e1cd09c5a4421b4d5e0ef5c37b57978b7a793bd2a47fcd02b2644'
                          finalStatusAt: '2025-01-23T13:16:08.145668Z'
                          id: PMT-d4fdd220-75d3-4d21-915f-e35394a29de5
                          initialAmount: 200
                          method: CRYPTOCOIN
                          orderId: ORD-c4313cf0-7fb5-42b4-bad3-fd3450e38462
                          orderType: PAYIN
                          productType: ACQUIRING_STATIC
                          recipient: '0xbce518bc175b40101911bb5c28b4e428f3548b32'
                          status: SUCCESS
                          transactionType: DEBIT
                    schema:
                      $ref: '#/components/schemas/Payment'
                description: Payment
              responses:
                '200':
                  description: Return this code if the webhook processed successfully
      description: Set crypto-acquiring static address payments webhook
      operationId: user_crypto-acquiring_set-crypto-acquiring-static-address-payments-webhook
      parameters:
      - in: path
        name: projectId
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            examples:
              STATIC_ADDRESS_WEBHOOK:
                description: Payment webhook
                summary: Payment webhook
                value:
                  secret: Secret phrase
                  url: https://example.com/return/payment
            schema:
              $ref: '#/components/schemas/CallbackUserSettingsForm'
        required: true
      responses:
        '200':
          content:
            '*/*':
              examples:
                STATIC_ADDRESS_WEBHOOK:
                  description: Crypto acquiring static payment webhook
                  summary: Crypto acquiring static payment webhook
                  value:
                    projectId: CAP-46dfa42b-6338-4c33-1e1d-cf7062053f22
                    secret: '************'
                    type: CRYPTO_ACQUIRING_STATIC_ADDRESS_PAYMENT
                    url: https://example.com/return/crypto-acquiring-static-payment
              schema:
                $ref: '#/components/schemas/CallbackUserSettings'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Set static address payments webhook
      tags:
      - crypto-acquiring-webhooks
  /v1/user/settings:
    get:
      description: Get all settings for a user
      operationId: user_get-settings
      parameters: []
      responses:
        '200':
          content:
            application/json:
              example:
                notification.payment.email.enabled: 'true'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get settings
      tags:
      - user
    post:
      description: Add settings for a user
      operationId: user_add-settings
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Settings'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Settings'
          description: OK
        '400':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Settings name with [Non-existent name] not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '422':
          content:
            application/json:
              examples:
                VALIDATION_FAILED:
                  summary: VALIDATION_FAILED
                  value:
                    code: VALIDATION_FAILED
                    details: null
                    message: 'Settings value failed to pass validation: Value must
                      be a number'
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNPROCESSABLE_ENTITY
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Add settings
      tags:
      - user
  /v1/user/settings/bulk:
    put:
      description: Put settings in bulk for a user
      operationId: user_add-settings-bulk
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              items:
                $ref: '#/components/schemas/Settings'
              type: array
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Settings'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Settings name with [Non-existent name] not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
        '422':
          content:
            application/json:
              examples:
                VALIDATION_FAILED:
                  summary: VALIDATION_FAILED
                  value:
                    code: VALIDATION_FAILED
                    details: null
                    message: 'Settings value failed to pass validation: Value must
                      be a number'
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNPROCESSABLE_ENTITY
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Put settings in bulk
      tags:
      - user
  /v1/user/settings/{name}:
    delete:
      description: Delete settings for a user
      operationId: user_delete-settings
      parameters:
      - description: Name of the setting to delete
        example: notification.payment.email.enabled
        in: path
        name: name
        required: true
        schema:
          description: Name of the setting to delete
          example: notification.payment.email.enabled
          type: string
      responses:
        '200':
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '404':
          content:
            application/json:
              examples:
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: Settings name with [Non-existent name] not found
              schema:
                $ref: '#/components/schemas/ApiError'
          description: NOT_FOUND
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Delete settings
      tags:
      - user
  /v1/user/transfer:
    post:
      description: Transfer money to another Inqud user
      operationId: user_transfer
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransferUserRequest'
        required: true
      responses:
        '202':
          content:
            text/plain:
              example: ORD-1c49298c-7eb6-4f29-9b4e-be6e3ad08464
              schema:
                type: string
          description: Accepted
        '400':
          content:
            application/json:
              examples:
                INVALID_VALUE:
                  summary: INVALID_VALUE
                  value:
                    code: INVALID_VALUE
                    details: null
                    message: Incorrect body format. Parameter 'value' is not allowed.
                MISSING_FIELD:
                  summary: MISSING_FIELD
                  value:
                    code: MISSING_FIELD
                    details: null
                    message: Incorrect body format. Parameter 'name' is missing
                NOT_FOUND:
                  summary: NOT_FOUND
                  value:
                    code: NOT_FOUND
                    details: null
                    message: User with [OWN-2eb51bd4-6117-437b-b933-502538a9662a]
                      not found
                TRANSFER_FROM_EQUAL_TO:
                  summary: TRANSFER_FROM_EQUAL_TO
                  value:
                    code: TRANSFER_FROM_EQUAL_TO
                    details: null
                    message: Target user id the same as sender
                USER_FROZEN:
                  summary: USER_FROZEN
                  value:
                    code: USER_FROZEN
                    details:
                      SECONDS_LEFT: '600'
                    message: 'User is temporary frozen and cannot perform this operation.
                      Check email for extra information. Seconds left: 600'
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
        '409':
          content:
            application/json:
              examples:
                ALREADY_EXISTS:
                  summary: ALREADY_EXISTS
                  value:
                    code: ALREADY_EXISTS
                    details: null
                    message: Client Order Id with [some not-unique client order id]
                      already exists
              schema:
                $ref: '#/components/schemas/ApiError'
          description: CONFLICT
        '422':
          content:
            application/json:
              examples:
                VALIDATION_FAILED:
                  summary: VALIDATION_FAILED
                  value:
                    code: VALIDATION_FAILED
                    details:
                      LIMIT: '5'
                    message: Validation failed
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNPROCESSABLE_ENTITY
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Transfer
      tags:
      - operations
  /v1/user/transfer/limits:
    get:
      operationId: user_get-transfer-limits
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/TransferLimits'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get transfer limits
      tags:
      - transfer
  /v1/user/wallet/balances:
    get:
      description: Get balance for all currencies
      operationId: user_get-balances
      parameters:
      - description: Comma separated list of currencies to convert balances to
        example: USD,EUR
        in: query
        name: convertTo
        required: false
        schema:
          description: Comma separated list of currencies to convert balances to
          example: USD,EUR
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                SINGLE_BITCOIN_BTC:
                  description: Single BTC balance converted to USD and EUR
                  summary: Single BTC balance
                  value:
                  - balance: 0.1
                    convertedTo:
                      EUR:
                        balance: 2905.31
                        currency: EUR
                        success: true
                      USD:
                        balance: 3098.21
                        currency: USD
                        success: true
                    currency: BTC
              schema:
                items:
                  $ref: '#/components/schemas/CurrencyBalance'
                type: array
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get all balances
      tags:
      - balance
  /v1/user/wallet/balances/{currency}:
    get:
      description: Get balance for specific currency
      operationId: user_get-balance-currency
      parameters:
      - description: Currency ticker
        example: BTC
        in: path
        name: currency
        required: true
        schema:
          description: Currency ticker
          example: BTC
          type: string
      - description: Comma separated list of currencies to convert balance to
        example: USD,EUR
        in: query
        name: convertTo
        required: false
        schema:
          description: Comma separated list of currencies to convert balance to
          example: USD,EUR
          type: string
      responses:
        '200':
          content:
            application/json:
              examples:
                BTC_BALANCE:
                  description: BTC balance converted to USD and EUR
                  summary: BTC balance
                  value:
                    balance: 0.1
                    convertedTo:
                      EUR:
                        balance: 2905.31
                        currency: EUR
                        success: true
                      USD:
                        balance: 3098.21
                        currency: USD
                        success: true
                    currency: BTC
              schema:
                $ref: '#/components/schemas/CurrencyBalance'
          description: OK
        '400':
          content:
            application/json:
              examples:
                BAD_REQUEST:
                  summary: BAD_REQUEST
                  value:
                    code: BAD_REQUEST
                    details: null
                    message: Currency [USD] is not active
              schema:
                $ref: '#/components/schemas/ApiError'
          description: BAD_REQUEST
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Get currency balance
      tags:
      - balance
  /v1/user/whoami:
    get:
      description: Returns the user ID and email of the authenticated user.
      operationId: user_who-am-i
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  email:
                    example: example@inqud.com
                    type: string
                  isBusiness:
                    example: true
                    type: boolean
                  userId:
                    example: OWN-89f46f52-453d-4441-9652-1812c61b235c
                    type: string
                  verificationLevel:
                    example: 1
                    type: number
                type: object
          description: An object containing the user ID and email
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Who am I?
      tags:
      - user
  /v2/user/payments/search:
    get:
      operationId: user_search-payments-v2
      parameters:
      - description: Page number
        example: '0'
        in: query
        name: page
        required: false
        schema:
          format: int32
          type: integer
      - description: Page size
        example: '20'
        in: query
        name: size
        required: false
        schema:
          format: int32
          type: integer
      - description: Sort by fields
        in: query
        name: sort
        required: false
        schema:
          items:
            type: string
          type: array
      - in: query
        name: amount
        required: false
        schema:
          description: Search by amount range
          example:
          - '0.01'
          - '0.1'
          items:
            type: number
          type: array
      - in: query
        name: balanceAfterPayment
        required: false
        schema:
          description: Search by balance after payment range
          example:
          - '0.01'
          - '0.1'
          items:
            type: number
          type: array
      - in: query
        name: blockchain
        required: false
        schema:
          description: Search by blockchain(s)
          example:
          - BITCOIN
          items:
            type: string
          type: array
      - in: query
        name: bundleId
        required: false
        schema:
          description: Search by crypto acquiring bundle ID
          example: CASB-1c49298c-7eb6-4f29-9b4e-be6e3ad08464
          type: string
      - in: query
        name: checkoutId
        required: false
        schema:
          description: Search by checkout ID
          example: CCO-e0d33283-3358-4d57-b03b-852137624490
          type: string
      - in: query
        name: clientOrderId
        required: false
        schema:
          description: Search by client order ID
          example: 0124567890
          type: string
      - in: query
        name: createdAt
        required: false
        schema:
          description: Search by creation date range
          example:
          - '2022-01-01T12:00:00.000Z'
          - '2023-01-01T12:00:00.000Z'
          items:
            format: date-time
            type: string
          type: array
      - in: query
        name: currency
        required: false
        schema:
          description: Search by currency or multiple currencies
          example:
          - BTC
          - ETH
          items:
            type: string
          type: array
      - in: query
        name: externalId
        required: false
        schema:
          description: Search by external ID (eg. transaction hash)
          example: c2544dd6e1c53529b877682127d16cff524f2867a57c5cc204e42eb2573e02e0
          type: string
      - in: query
        name: id
        required: false
        schema:
          description: Search by payment ID
          example: PMT-b2e2df8c-281a-4cc1-2bcf-61b803358f0e
          type: string
      - in: query
        name: methodKey
        required: false
        schema:
          description: Search by payment method key(s)
          enum:
          - CC_VISAMC
          - CRYPTOCOIN
          - SWIFT
          - VA_QR
          - CASH
          - TRANSFER
          - EXCHANGE
          - AGENT
          - BINANCE_PAY
          - BYBIT_PAY
          example: CRYPTOCOIN
          type: string
      - in: query
        name: orderId
        required: false
        schema:
          description: Search by order ID
          example: ORD-1c49298c-7eb6-4f29-9b4e-be6e3ad08464
          type: string
      - in: query
        name: orderType
        required: false
        schema:
          description: Search by order type
          enum:
          - PAYIN
          - PAYOUT
          - EXCHANGE
          - TRANSFER
          example: PAYOUT
          type: string
      - in: query
        name: payoutCardNumber
        required: false
        schema:
          description: Search by payout card number
          example: '1234567890123456'
          type: string
      - in: query
        name: payoutCryptoAddress
        required: false
        schema:
          description: Search by payout crypto address
          example: tb1qzrdu918vvqnan4cncjdcmlq6xrz8qsaccdql2w
          type: string
      - in: query
        name: productType
        required: false
        schema:
          description: Search by product type
          enum:
          - PAYMENT
          - ACQUIRING
          - ACQUIRING_STATIC
          - RECURRING
          - MASS_PAYOUT
          - REFUND
          - BUY_CRYPTO
          - ON_RAMP
          - AGENT_PAYMENT
          example: PAYMENT
          type: string
      - in: query
        name: projectId
        required: false
        schema:
          description: Search by crypto acquiring widget ID
          example: CAP-323ab869-95ab-4b3d-a26b-3184140f6f50
          type: string
      - in: query
        name: referenceId
        required: false
        schema:
          description: Search by crypto acquiring reference ID
          example: '1234567890'
          type: string
      - in: query
        name: requestId
        required: false
        schema:
          description: Search by crypto acquiring request ID
          example: CAPD-e6fab090-aa43-4950-8ce1-bfa859d73b1e
          type: string
      - in: query
        name: searchTerm
        required: false
        schema:
          description: Search by any ID
          example: '1234567890123456'
          type: string
      - in: query
        name: status
        required: false
        schema:
          description: Search by payment status(es)
          example:
          - NEW
          - PENDING
          items:
            type: string
          type: array
      - in: query
        name: transactionType
        required: false
        schema:
          description: Search by transaction type(s)
          example:
          - CREDIT
          items:
            type: string
          type: array
      - in: query
        name: transferTo
        required: false
        schema:
          description: Search by transfer to user ID
          example: OWN-89f46f52-453d-4441-9652-1812c61b235c
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagePayment'
          description: OK
        '401':
          content:
            application/json:
              examples:
                ACCOUNT_BLOCKED:
                  summary: ACCOUNT_BLOCKED
                  value:
                    code: ACCOUNT_BLOCKED
                    details: null
                    message: User disabled
                TOKEN_INVALID:
                  summary: TOKEN_INVALID
                  value:
                    code: TOKEN_INVALID
                    details: null
                    message: Unauthorized
              schema:
                $ref: '#/components/schemas/ApiError'
          description: UNAUTHORIZED
      security:
      - ApiKeyAuth: []
        ApiSecretAuth: []
      - ApiKeyAuth: []
        HmacSignatureAuth: []
        SaltAuth: []
      summary: Search payments
      tags:
      - payments
servers:
- description: Inqud API Server
  url: https://api.inqud.com
tags:
- description: Operations related to user profile
  name: user
  x-displayName: User
- description: User's balances
  name: balance
  x-displayName: Balances
- description: User's crypto addresses
  name: crypto
  x-displayName: Crypto addresses
- description: Transfer limits
  name: transfer
  x-displayName: Transfer
- description: Payment history
  name: payments
  x-displayName: Payments history
- description: Rates & Limits
  name: exchange
  x-displayName: Exchange
- description: 'Operations: payin, payout, transfer, exchange'
  name: operations
  x-displayName: Operations
- description: 2-step Host-To-Host deposit integration
  name: h2h-operations
  x-displayName: Card Gateway
- description: Payment webhooks settings
  name: payment-webhooks
  x-displayName: Webhooks Settings
- description: Crypto widget domain management
  name: crypto-acquiring-domains
  x-displayName: Domains
- description: '[!] The API specification utilizes the terms ''widgets'' and ''projects''
    synonymously.'
  name: crypto-acquiring-projects
  x-displayName: Widgets
- description: Automatically exchange payment cryptocurrency to other currency
  name: crypto-acquiring-exchange
  x-displayName: Automatic Exchange
- description: Crypto acquiring requests
  name: crypto-acquiring-requests
  x-displayName: Requests
- description: Crypto acquiring checkouts
  name: crypto-acquiring-checkouts
  x-displayName: Checkouts
- description: Crypto acquiring refunds
  name: crypto-acquiring-refunds
  x-displayName: Refunds
- description: Crypto acquiring static addreses
  name: crypto-acquiring-static-addresses
  x-displayName: Static Addresses
- description: Crypto acquiring rates
  name: crypto-acquiring-rates
  x-displayName: Rates
- description: Crypto acquiring webhooks settings
  name: crypto-acquiring-webhooks
  x-displayName: Webhooks Settings
- description: Crypto recurring projects.
  name: crypto-recurring-projects
  x-displayName: Projects
- description: Automatically exchange payment cryptocurrency to other currency
  name: crypto-recurring-exchange
  x-displayName: Automatic Exchange
- description: Crypto recurring plans
  name: crypto-recurring-plans
  x-displayName: Plans
- description: Crypto recurring authorizations
  name: crypto-recurring-authorizations
  x-displayName: Authorizations
- description: Crypto recurring subscriptions.
  name: crypto-recurring-subscriptions
  x-displayName: Subscriptions
- description: Crypto recurring invoices
  name: crypto-recurring-invoices
  x-displayName: Invoices
- description: Crypto recurring intents
  name: crypto-recurring-intents
  x-displayName: Intents
- description: Crypto recurring webhooks settings
  name: crypto-recurring-webhooks
  x-displayName: Webhooks Settings
- description: On Ramp Projects
  name: on-ramp-projects
  x-displayName: On Ramp Projects
- description: On Ramp Checkouts
  name: on-ramp-checkouts
  x-displayName: On Ramp Checkouts
- description: On Ramp Webhooks Settings
  name: on-ramp-webhooks
  x-displayName: On Ramp Webhooks Settings
x-tagGroups:
- name: API
  tags:
  - user
  - balance
  - crypto
  - transfer
  - payments
  - exchange
  - operations
  - h2h-operations
  - payment-webhooks
- name: Crypto Widgets API
  tags:
  - crypto-acquiring-domains
  - crypto-acquiring-projects
  - crypto-acquiring-exchange
  - crypto-acquiring-requests
  - crypto-acquiring-checkouts
  - crypto-acquiring-refunds
  - crypto-acquiring-static-addresses
  - crypto-acquiring-rates
  - crypto-acquiring-webhooks
- name: Crypto Recurring API
  tags:
  - crypto-recurring-projects
  - crypto-recurring-exchange
  - crypto-recurring-plans
  - crypto-recurring-authorizations
  - crypto-recurring-subscriptions
  - crypto-recurring-invoices
  - crypto-recurring-intents
  - crypto-recurring-webhooks
- name: On Ramp API
  tags:
  - on-ramp-projects
  - on-ramp-checkouts
  - on-ramp-webhooks
