> ## 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.

# Register standing address

> Create or fetch permanent addresses for an immutable instruction. New chain bindings require structural reachability from at least one eligible source asset; this does not guarantee pricing or execution for a deposit amount. Existing bindings are preserved. Requires a server key.

**/v1/standing-deposit-addresses/\{ref}**


## OpenAPI

````yaml https://orchestration.flashnet.xyz/openapi.json PUT /v1/standing-deposit-addresses/{ref}
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/standing-deposit-addresses/{ref}:
    put:
      tags:
        - Standing Deposit Addresses
      summary: Register standing address
      description: >-
        Create or fetch permanent addresses for an immutable instruction. New
        chain bindings require structural reachability from at least one
        eligible source asset; this does not guarantee pricing or execution for
        a deposit amount. Existing bindings are preserved. Requires a server
        key.
      operationId: registerStandingDepositAddress
      parameters:
        - schema:
            type: string
            minLength: 1
            maxLength: 128
          required: true
          name: ref
          in: path
        - schema:
            type: string
            minLength: 1
          required: true
          name: X-Idempotency-Key
          in: header
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StandingDepositAddressRequest'
            example:
              destination:
                chain: base
                asset: USDC
                address: RECIPIENT_ADDRESS
              slippageBps: 50
      responses:
        '200':
          description: Permanent addresses and enabled state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandingDepositAddress'
        '400':
          description: Error with a stable error.code; foreign customers return not_found.
        '401':
          description: Error with a stable error.code; foreign customers return not_found.
        '403':
          description: Error with a stable error.code; foreign customers return not_found.
        '404':
          description: Error with a stable error.code; foreign customers return not_found.
        '409':
          description: Error with a stable error.code; foreign customers return not_found.
        '503':
          description: Error with a stable error.code; foreign customers return not_found.
      security:
        - bearerAuth: []
components:
  schemas:
    StandingDepositAddressRequest:
      type: object
      properties:
        destination:
          type: object
          properties:
            chain:
              type: string
              minLength: 1
            asset:
              type: string
              minLength: 1
            address:
              type: string
              minLength: 1
          required:
            - chain
            - asset
            - address
          additionalProperties: false
        slippageBps:
          type: integer
          minimum: 0
          maximum: 10000
          default: 50
        feeBps:
          type: integer
          minimum: 0
          maximum: 9999
          default: 0
        affiliateIds:
          type: array
          items:
            anyOf:
              - type: string
                pattern: ^[a-z0-9][a-z0-9_-]{0,63}$
              - type: object
                properties:
                  affiliateId:
                    type: string
                    pattern: ^[a-z0-9][a-z0-9_-]{0,63}$
                  feeBps:
                    type: integer
                    minimum: 1
                    maximum: 9999
                required:
                  - affiliateId
                  - feeBps
                additionalProperties: false
          maxItems: 16
          default: []
        refundAddresses:
          type: object
          additionalProperties:
            type: string
            minLength: 1
          default: {}
      required:
        - destination
      additionalProperties: false
    StandingDepositAddress:
      type: object
      properties:
        standingAddressId:
          type: string
        addresses:
          type: object
          additionalProperties:
            type: string
        enabled:
          type: boolean
      required:
        - standingAddressId
        - addresses
        - enabled
  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.