> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flashnet.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Create accumulation address

> Legacy address model; new integrations use standing deposit addresses. Create accumulation address. HyperCore source address creation is unavailable until independent deposit verification is supported; existing addresses require reconciliation.

**/v1/accumulation-addresses**


## OpenAPI

````yaml https://orchestration.flashnet.xyz/openapi.json POST /v1/accumulation-addresses
openapi: 3.1.0
info:
  title: Flashnet Orchestrator API
  version: 0.1.0
  description: >-
    Partner API for quotes, orders, standing deposits, webhooks, and affiliates.
    Operations marked x-excluded are omitted from the documentation navigation;
    internal, pay-link, SSE, and provider-integration routes are outside this
    registry.
servers:
  - url: https://orchestration.flashnet.xyz
security: []
tags:
  - name: Orchestration
    description: >-
      Routes, limits, estimates, quotes, orders, onramp, and ZeroConf decisions
      for one-off swaps.
  - name: Standing Deposit Addresses
    description: >-
      Permanent per-customer deposit addresses bound to one immutable conversion
      instruction.
  - name: Webhooks
    description: >-
      Registration of HTTPS endpoints for order status events and recovery
      events.
  - name: Affiliates
    description: Registered fee recipients, their accrued balances, and claims.
  - name: Accumulation Addresses
    description: >-
      Legacy reusable addresses that convert one source asset into Spark BTC or
      USDB.
  - name: Liquidations
    description: >-
      Legacy Bitcoin L1 deposit addresses that convert each output to a
      configured destination.
  - name: System
  - name: Explorer
  - name: Dashboard
  - name: Affiliate Dashboard
paths:
  /v1/accumulation-addresses:
    post:
      tags:
        - Accumulation Addresses
      summary: Create accumulation address
      description: >-
        Legacy address model; new integrations use standing deposit addresses.
        Create accumulation address. HyperCore source address creation is
        unavailable until independent deposit verification is supported;
        existing addresses require reconciliation.
      operationId: postV1AccumulationAddresses
      parameters:
        - schema:
            type: string
            minLength: 1
          required: true
          name: X-Idempotency-Key
          in: header
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccumulationAddressCreateRequest'
      responses:
        '200':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccumulationAddressCreateResponse'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      deprecated: true
      security:
        - bearerAuth: []
components:
  schemas:
    AccumulationAddressCreateRequest:
      type: object
      properties:
        label:
          type: string
          maxLength: 255
          pattern: ^[^\x00-\x1F\x7F]*$
        sourceChain:
          $ref: '#/components/schemas/Chain'
        sourceAsset:
          type: string
          minLength: 1
        destinationAsset:
          $ref: '#/components/schemas/AccumulationDestinationAsset'
        recipientSparkAddress:
          type: string
          minLength: 1
          description: >-
            Server canonicalizes by trimming leading/trailing whitespace; case
            is preserved.
        feeBps:
          type: integer
          minimum: 0
          maximum: 9999
        slippageBps:
          type: integer
          minimum: 0
          maximum: 10000
        appFees:
          type: array
          items:
            $ref: '#/components/schemas/OrchestrationAppFeeRequest'
          minItems: 1
          maxItems: 16
          description: >-
            Inline fee recipients for each deposit, requiring a server key or
            dashboard session.
        affiliateId:
          type: string
          description: >-
            Registered affiliate ID for fees on each deposit, also accepted from
            client keys.
        affiliateIds:
          type: array
          items:
            $ref: '#/components/schemas/OrchestrationAffiliateIdEntry'
          minItems: 1
          maxItems: 16
          description: >-
            Registered affiliate IDs or fee overrides for each deposit; mutually
            exclusive with appFees, with overrides requiring a server key or
            dashboard session.
      required:
        - sourceChain
        - sourceAsset
        - destinationAsset
        - recipientSparkAddress
      description: Unknown top-level fields are ignored rather than rejected.
    AccumulationAddressCreateResponse:
      allOf:
        - $ref: '#/components/schemas/AccumulationAddressRecord'
        - type: object
          properties: {}
          additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      additionalProperties: false
    Chain:
      type: string
      enum:
        - arbitrum
        - arc
        - avalanche
        - base
        - bitcoin
        - bsc
        - ethereum
        - hedera
        - hypercore
        - hyperevm
        - lightning
        - litecoin
        - monad
        - monero
        - optimism
        - plasma
        - polygon
        - robinhood
        - sei
        - solana
        - spark
        - tempo
        - ton
        - tron
        - xrp
        - zcash
    AccumulationDestinationAsset:
      type: string
      enum:
        - BTC
        - USDB
    OrchestrationAppFeeRequest:
      type: object
      properties:
        recipient:
          type: string
          minLength: 1
          description: Fee recipient address; sanctioned addresses are rejected.
        fee:
          type: integer
          minimum: 1
          maximum: 9999
      required:
        - recipient
        - fee
      description: Unknown top-level fields are ignored rather than rejected.
    OrchestrationAffiliateIdEntry:
      anyOf:
        - type: string
          minLength: 1
          description: Registered affiliate id. Uses the profile's static feeBps.
        - type: object
          properties:
            affiliateId:
              type: string
              minLength: 1
            feeBps:
              type: integer
              minimum: 1
              maximum: 9999
              description: >-
                Fee override for this quote only; the stored affiliate profile
                is unchanged.
          required:
            - affiliateId
            - feeBps
          additionalProperties: false
      description: Registered affiliate ID or { affiliateId, feeBps } override.
    AccumulationAddressRecord:
      type: object
      properties:
        accumulationAddressId:
          type: string
        label:
          type: string
        sourceChain:
          $ref: '#/components/schemas/Chain'
        sourceAsset:
          type: string
        destinationAsset:
          $ref: '#/components/schemas/AccumulationDestinationAsset'
        recipientSparkAddress:
          type: string
        feeBps:
          type: integer
        slippageBps:
          type: integer
        enabled:
          type: boolean
        depositAddress:
          type:
            - string
            - 'null'
        createdAt:
          type: string
        updatedAt:
          type: string
        disabledAt:
          type:
            - string
            - 'null'
        subscriptions:
          type: array
          items:
            $ref: '#/components/schemas/AccumulationAddressSubscription'
        appFees:
          type: array
          items:
            $ref: '#/components/schemas/AddressAppFee'
      required:
        - accumulationAddressId
        - label
        - sourceChain
        - sourceAsset
        - destinationAsset
        - recipientSparkAddress
        - feeBps
        - slippageBps
        - enabled
        - depositAddress
        - createdAt
      additionalProperties: false
    ErrorDetail:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      additionalProperties: false
    AccumulationAddressSubscription:
      type: object
      properties:
        provider:
          type: string
        chain:
          type: string
        address:
          type: string
        status:
          type: string
          enum:
            - pending
            - active
            - failed
        lastError:
          type:
            - string
            - 'null'
        createdAt:
          type: string
        updatedAt:
          type: string
      required:
        - provider
        - chain
        - address
        - status
        - lastError
        - createdAt
        - updatedAt
      additionalProperties: false
    AddressAppFee:
      type: object
      properties:
        affiliateId:
          type: string
        recipient:
          type: string
          minLength: 1
          description: Fee recipient address; sanctioned addresses are rejected.
        feeBps:
          type: integer
          minimum: 1
          maximum: 9999
      required:
        - recipient
        - feeBps
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Partner API key in the form `Authorization: Bearer fn_...`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.