Tag: Custodial Wallets

  • Case Study: Crypto Payment Orchestration Platform Development

    CodeSolution developed a B2B crypto payment orchestration platform built around two merchant operating models: direct wallet payments and managed custody. The custom software combines merchant onboarding, asset and network configuration, payment policies, invoicing, API integrations and payout workflows over a Fireblocks-based digital asset infrastructure. The platform has been delivered to the client and is operational. Its merchant workspace brings together wallet operations, payment acceptance and treasury management in a single product.

    Crypto payment orchestration platform merchant dashboard with payment analytics and wallet balances

    Platform interfaces adapted for this case study. Financial figures shown in the illustrations are examples, not reported operating results.

    Case Overview

    ParameterProject scope
    ProductCustom multi-merchant crypto payment platform
    Project statusDelivered and in use by the client
    InfrastructureFireblocks-based digital asset infrastructure
    Merchant modelsMerchant Lite (non-custodial) and Merchant Pro (custodial; KYB/AML required)
    Configured payment methodsBTC on Bitcoin, ETH on Ethereum, USDT on Ethereum and Tron
    Merchant controlsDefault currency, fee allocation, underpayment policy, payment password and setup checklist
    Integration interfacesAPI keys, webhook endpoints and embeddable payment buttons
    Financial workflowsMulti-asset wallet, payment links, POS, automation and fiat payouts

    Client Request

    The client required a branded payment software environment for businesses with different requirements for control of funds. Some merchants needed payments to reach their own wallet; others needed managed balances, conversion and automated payouts. Both groups needed merchant-facing tools rather than separate products for every payment workflow.

    The development challenge was to connect merchant-specific settings and payment operations with specialized wallet infrastructure while keeping the application logic under the control of the payment platform.

    Development Challenges & Engineering Approach

    ChallengeDesign decision
    Custody separationOffer two merchant types with different fund-control models and operational permissions.
    Asset and network selectionTreat an asset-network combination as a payment method; USDT on Ethereum and USDT on Tron are separate configurations.
    Payment amount discrepanciesExpose tolerance and handling rules instead of assuming every transfer exactly matches an invoice.
    Fee responsibilityAllow the merchant to choose who bears transaction fees.
    Integration flexibilityProvide API-based integration and payment button interfaces, alongside invoice workflows.
    Treasury operationsSeparate the core payment experience from optional conversion, automated distribution and banking integrations.

    The engineering approach separates the payment product from the underlying digital asset infrastructure. This allows the operator to define merchant onboarding, commercial policies and payment workflows in its own application while relying on specialized infrastructure for wallet and transaction capabilities.

    Platform Architecture

    Fireblocks provides the digital asset infrastructure foundation, but a wallet infrastructure integration alone does not create a merchant payment gateway. The gateway also needs to know which merchant a payment belongs to, which asset and network are permitted, how fees are allocated and how payment information reaches the merchant’s business system. The custom orchestration layer brings these responsibilities together.

    Merchant Applications & Business PlatformsDashboard · API integration

    Custom Payment Orchestration Layer

    Merchant ManagementAccounts and configuration
    Payment APIPayment requests and status
    Wallet ManagementCustody model and wallet association
    Transaction ManagementPayment records and workflows
    Treasury & SettlementFinancial operations
    AdministrationAccess and operational controls
    FireblocksDigital asset infrastructure
    External Financial ServicesOptional provider and liquidity connectors
    Blockchain NetworksSupported assets and networks
    Functional architecture of the payment platform. The diagram describes logical components, not the physical deployment topology.

    Merchant applications interact with the dashboard or payment API. The orchestration layer associates requests with a merchant, its payment configuration and custody model; the infrastructure handles underlying wallet and transaction capabilities. This separation gives a payment company control over its commercial product and provides a clear integration boundary for additional financial services. It also avoids coupling every merchant-facing change to the underlying wallet infrastructure.

    Custodial & Non-Custodial Merchant Models

    Merchant type is selected when creating a merchant account. Merchant Lite and Merchant Pro share the same merchant management, payment API and transaction management foundation. Wallet Management applies the selected custody model, while Treasury & Settlement accommodates the financial operations appropriate to that model. The dashboard provides access to merchant workflows, with administrative controls forming a separate logical layer.

    ParameterMerchant LiteMerchant Pro
    Custody modelNon-custodialCustodial
    Fund destinationMerchant’s own core walletManaged wallet environment
    Merchant operationsInvoices, mass payouts and payment APIManaged balances, conversion and automated user payouts
    VerificationRequirements depend on the operator and applicable rulesKYB/AML required in the onboarding interface
    AuthorizationAligned with merchant wallet controlAligned with managed custody and operator policies
    Crypto payment platform merchant onboarding interface with custodial and non-custodial account options.

    In the non-custodial model, payments are directed to the merchant’s core wallet without custodial storage by the platform. This suits businesses that want to retain control of their funds and use the gateway primarily for payment acceptance. The custodial model is designed for merchants that need managed balances, conversion and automated user payouts. For the platform operator, supporting both models makes it possible to address different merchant segments without building separate products. Custody choice also changes the responsibilities for signing, transfer authorization and verification; these must be defined for each implementation.

    Payment Methods & Multi-Asset Wallet

    Payment methods are configured at merchant level. The interface distinguishes asset, network, activation status and separate deposit and payout controls.

    AssetNetworkPayment controls
    BTCBitcoinIndependent deposit and payout controls
    ETHEthereumIndependent deposit and payout controls
    USDTEthereumIndependent deposit and payout controls
    USDTTronIndependent deposit and payout controls

    Asset and network must be treated as separate configuration dimensions. USDT on Ethereum and USDT on Tron represent different transfer routes, network fees and address requirements. A merchant may want to accept deposits on one network while restricting payouts to another; independent controls make this policy possible. Activation is managed separately from deposit and payout configuration.

    The multi-asset wallet interface extends this operational model with BTC, ETH, USDT, USDC, SOL and TRX balances, deposit addresses, recent transactions and deposit, withdrawal, swap and buy-crypto actions. A consolidated wallet view helps finance teams understand which assets are available and where funds are held before initiating treasury operations.

    Merchant Payment Policies

    Underpayment rules

    Crypto transfers do not always match the requested amount. A configurable tolerance and handling action let merchants define how discrepancies should be treated instead of relying on ad hoc manual decisions. The example policy is Accept as partial with 1% tolerance.

    Fee allocation

    Customer pays, Merchant pays and Split 50/50 allow businesses to choose how transaction costs affect checkout pricing and net revenue. Fee responsibility can be configured independently of the selected asset and network.

    Merchant settings

    Merchant-level configuration brings business identity, default currency, fee policy, underpayment handling and payment password into one workspace. Different merchants can define different payment policies within the same platform.

    Merchant settings interface for configuring default currency, transaction fees, underpayment rules and payment password.

    For example, a 100 USDT request receiving 99 USDT has a 1% shortfall. The merchant’s configured policy determines whether the payment should remain partial or be handled differently.

    Fee allocation also has a direct commercial effect. In a simplified $100 purchase with a $2 fee, customer-paid fees result in a $102 customer payment and $100 merchant receipt; merchant-paid fees result in $100 paid and $98 received; a 50/50 split results in $101 paid and $99 received. Actual fee calculations depend on the chosen fee basis and network costs.

    Payment Acceptance & Merchant Integrations

    A multi-merchant gateway needs more than one integration path. A software platform may require an API to embed payments in its existing customer journey, while a smaller business may prefer an invoice or a ready-to-share checkout link. Offering different entry points lets the operator serve both without creating separate payment products.

    InterfaceFunctionality
    InvoicesBusiness profile, delivery method, invoice date, optional due date, invoice number, PO number and optional buyer and shipping details.
    API keysInterface for creating and managing keys used to authenticate payment API requests.
    WebhooksEndpoint configuration for real-time event notifications.
    Payment buttonsButton label, color and size options (252 × 48, 210 × 40 and 160 × 32), preview and snippet generation control.
    Payment linksHosted checkout link creation for one-time or recurring payments, USD/EUR/USDT denomination options and link status tracking.
    Point of saleSale amount and description entry with a separate customer display area.

    Developer Integrations

    API keys identify and authenticate requests from integrated applications. Webhooks provide an event-driven channel for external systems to receive payment updates, reducing the need to repeatedly query the gateway. Payment buttons address a different integration need: a business can embed a payment entry point using a configurable code snippet instead of designing its own checkout interface.

    Crypto payment platform API key management interface for authenticating payment API requests.
    Crypto payment platform webhook configuration interface for receiving real-time payment event notifications at external API endpoints.

    Payment Acceptance Tools

    Hosted payment links provide a way to present checkout outside a custom integration, while invoices connect payment requests to business documents, due dates and buyer details. This is useful for service businesses, B2B billing and settlements with counterparties. Payment links and POS provide additional channels: shareable one-time or recurring payment requests and in-person payment acceptance. USD and EUR denomination allows businesses to express prices in familiar accounting currencies while accepting crypto payments. Recurring payment authorization is a separate integration consideration.

    Merchant Acquisition & Referral Infrastructure

    A payment platform is also a distribution business. Personalized referral links allow existing users or partners to introduce new users and associate their registrations with the inviter. The attribution identifier provides a foundation for referral-based acquisition without requiring every introduction to be recorded manually. Commission accounting and partner analytics would be separate extensions to this attribution mechanism.

    Crypto payment platform referral link interface for inviting new users and tracking referral attribution.

    Transaction Lifecycle

    The key engineering task is connecting an on-chain transfer to a business payment request. A merchant needs to know which order or invoice has been paid, what amount was received and when its own application should update the order status. The following functional model illustrates how the platform components relate, rather than defining a backend API contract.

    StepApplication responsibility
    1. Configure merchantSelect custody model, asset-network method, fee responsibility and underpayment policy.
    2. Create requestAssociate an invoice or integrated payment request with merchant and expected amount.
    3. Receive paymentUse the configured wallet route and associate the incoming transfer with the request.
    4. Evaluate paymentCompare expected and received amounts; apply the configured policy for discrepancies.
    5. Update merchant systemExpose payment state in the merchant environment and use configured webhook notifications for external integration.
    6. Manage fundsApply the selected custody model to further wallet or payout operations.

    In production payment software, a transfer being detected and a payment being accepted are distinct events. Confirmation thresholds, webhook signatures, retries, duplicate-event handling, idempotency and ledger reconciliation are important design and validation requirements. For example, a repeated event must not cause an order to be credited twice. These requirements form part of the integration design for each new deployment.

    Payouts & Treasury Automation

    Mass payouts address a different operational problem from accepting payments: businesses may need to prepare many withdrawals or partner payments at once. The interface accepts CSV uploads or manual recipients with wallet address, amount, currency and network. The example prepares two USDT payouts on Tron for 120.00 and 75.50 USDT. Grouping recipients into one workflow can reduce repetitive data entry and gives operators a consolidated view before submission. Batch preparation does not necessarily mean a single on-chain transaction.

    Crypto mass payout interface with CSV upload, multiple wallet recipients and USDT transfers via the Tron network.

    Settlement & Treasury Management

    Treasury management starts after payment acceptance. An operator may need to keep liquid funds for day-to-day payouts, transfer a portion to reserves and convert another portion into fiat for operating expenses. The settlement split design brings these destinations into one configurable allocation policy, with instant, daily, weekly or custom scheduling. The illustrated configuration uses daily settlement, time-zone awareness and holiday exclusions.

    Configurable crypto settlement distribution between operating wallets, cold storage and fiat payouts with automated settlement scheduling.
    DestinationAsset / railExample allocation
    Operating walletUSDT / Tron50%
    Cold storageBTC / Bitcoin30%
    Fiat payoutEUR / SEPA20%

    For example, a $10,000 equivalent settlement allocation would direct $5,000 of value toward operating liquidity, $3,000 toward reserves and $2,000 toward fiat settlement before conversion costs and network fees. The benefit is the ability to define a treasury policy in advance instead of deciding where each incoming payment should go manually.

    Payment Automation & Business Rules Engine

    The visual automation interface illustrates an event-driven rules engine: a trigger or condition initiates one or more actions. Rather than hard-coding every finance policy into the payment integration, this design exposes configurable rules to the operator. A change in treasury policy or review threshold can therefore be expressed as a rule configuration, subject to the permissions and capabilities of the deployed system.

    Visual no-code crypto payment automation interface with asset conversion, transaction review, scheduled settlement and notification rules.
    TriggerAction sequence
    BTC receivedConvert 50% to USDT → notify finance by email
    Payment above $5,000Hold for manual review → send Slack alert

    The BTC conversion example illustrates a way to reduce exposure to volatile assets while notifying the finance team. The high-value payment rule illustrates an additional review step before further processing. Other automation scenarios include scheduled settlement at 18:00 UTC, low-balance alerts below $500, duplicate refunds, ETH routing to cold storage above 2 ETH and weekly CSV reporting. Each addresses a distinct operational need: liquidity, exception handling, asset storage or reporting.

    Crypto-to-Fiat Settlement & Banking Extensions

    Crypto acceptance does not remove the need to pay salaries, suppliers or other expenses in fiat. A crypto-to-fiat settlement module can connect digital asset balances to bank payout workflows through external conversion and banking providers. The Fiat payouts interface presents EUR, USD and GBP options, SEPA and ACH rails, estimated fees, net amount, arrival estimates and payout history. Available banking rails, fees and settlement times are determined by connected providers and merchant eligibility.

    Crypto-to-fiat payout interface with EUR, USD and GBP currency options, SEPA and ACH bank transfers, fee calculation and settlement history.

    The architecture can be extended with fiat pay-in, local payment methods, external PSP connectors and on-ramp/off-ramp integrations. Fiat acceptance is a separate integration scope from crypto-to-fiat settlement.

    Merchant Dashboard & Operational Controls

    The merchant dashboard brings together available balances by asset and network, a balance chart, payment volume, payment count, success rate, daily activity and average transaction size. Its setup checklist covers integration, payment methods, fees, underpayment, two-factor authentication and payment password. Navigation connects the merchant to wallet, payments, invoices, payouts and integration settings.

    The dashboard is designed to give merchants an operational overview: available balances help plan withdrawals, payment counts and volume describe activity, and success-rate metrics can help identify changes in payment performance. The onboarding checklist makes configuration requirements visible before use.

    Security & Integration Foundation

    ComponentScope
    FireblocksDigital asset infrastructure foundation identified for the project.
    MPCMulti-party computation (MPC) is identified in the wallet interface.
    Merchant authenticationAPI key management, payment password and 2FA setup controls shown in the interface.
    VerificationMerchant Pro onboarding specifies KYB/AML requirements.
    External notificationsWebhook endpoint configuration for event notifications.

    Security in a payment platform involves distinct layers: account access, application authentication, authorization of financial operations and cryptographic signing. Two-factor authentication (2FA) protects account access; API keys authenticate integrated applications; a payment password adds a separate payment authorization control. Multi-party computation (MPC) can distribute signing responsibilities without concentrating a complete private key in one location. KYB (Know Your Business) and AML (Anti-Money Laundering) address business verification and financial risk, respectively. The custody model and connected providers determine actual responsibilities; software alone does not establish regulatory compliance.

    Development Deliverables

    Dual merchant onboarding

    Merchant creation with separate Lite and Pro operating models.

    Merchant configuration

    Asset-network payment methods, separate deposit/payout controls, fee policy and underpayment settings.

    Integration workspace

    API key and webhook configuration interfaces, payment button customization and snippet generation controls.

    Payment operations

    Invoice configuration, mass payout preparation and referral link attribution.

    The completed project brings merchant onboarding, payment configuration, integration tools and financial workflows together in a working software product. The platform has been handed over to the client and provides an existing foundation for customized implementations.

    Business Models Enabled by the Platform

    The same architectural foundation can be adapted to several commercial products. The following scenarios illustrate how the existing architecture can be adapted to new business models.

    Use caseCustomization scope
    White-label crypto payment gatewayMerchant onboarding, payment interfaces and branded integration tools.
    iGaming deposits and withdrawalsPayment API integration, status exchange, wallet and payout workflows.
    Payment company or PSPMulti-merchant operations, provider connectors and optional routing or failover logic.
    Treasury platformAsset conversion, settlement distribution, approval and notification workflows.
    B2B crypto invoicing platformBranded billing, invoice delivery, buyer information and hosted checkout workflows.

    Platform Customization & Extension

    A new implementation starts with the operator’s commercial model: who controls funds, which merchants are served, how fees are calculated and which financial operations the product must support. CodeSolution can adapt the merchant workspace, payment interfaces and orchestration logic to those requirements. Additional provider connectors, routing and failover, banking integrations and treasury rules can be scoped independently. Reusing the architectural approach avoids treating every new payment platform as an entirely new design, while allowing the product to be tailored to its operator.

    Build Your Own Crypto Payment Platform

    CodeSolution can develop a customized payment platform around your custody model, payment methods, merchant workflows and infrastructure providers. During project discussions, we can demonstrate the working platform and walk through its merchant workflows, integration options and configuration tools. Explore our payment software development services to discuss the architecture and integration scope for your business.