---
title: "Create Funding Address for a sub-account using token network."
method: POST
path: "/ledger/subaccounts/{subAccountIdRef}/funding-address"
tags: ["ledger-sub-accounts"]
---

# Create Funding Address for a sub-account using token network.

`POST /ledger/subaccounts/{subAccountIdRef}/funding-address`

## Request

- Base URL: `https://external.dev.onboardpay.co`
- URL: `https://external.dev.onboardpay.co/ledger/subaccounts/{subAccountIdRef}/funding-address`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/nestechops/apis/onboard-external-api-gateway/docs/ledger/subaccounts/:subAccountIdRef/funding-address/post.ts> (a function with typed inputs; its response is checked against the schema)

This operation allows the client to create an address for the supported token and network for a sub-account.

## Path parameters

- `subAccountIdRef` string, required

## Response `201`

Address created Successfully

- FundingAddress
  - `address` string, required: The deposit address
  - `memo` string: Optional, for networks that support memo.
  - `tokenInfo` TokenNetwork, required
    - `code` string, required: human-readable identifier for the token on this network. Usually a combination of network code and asset symbol
    - `decimals` integer, required: The number of decimals used by this token on this network.
    - `contractAddress` string, required: Contract address of the token on the given network.
    - `minimumDeposit` number, required: Minimum amount allowed for deposits.
    - `depositAvailable` boolean: Indicates if deposits are currently available. Address request will fail if this is false.
    - `withdrawalAvailable` boolean: Indicates if withdrawals are currently available. Withdrawal request will fail if this is false.
    - `withdrawalFee` number: Network fee for a withdrawal on this network. The total a business is charged also includes its withdrawal fee; see `GET /crypto-transfer/fee`.
    - `platformFeePercentage` number: System-default platform fee charged on withdrawal, as a fraction of the withdrawal amount (e.g. 0.001 = 0.1%), on top of withdrawalFee. Null when no platform fee applies. A business's own fee can differ; see `GET /crypto-transfer/fee`.
    - `networkInfo` LedgerSvcBlockchainNetwork, required: Details of blockchain network
      - `id` string, required: Simple identifier to identify the network
      - `name` string, required: Descriptive name for network
      - `blockTime` integer, required: Average time to generate new blocks in seconds.
      - `confirmations` number, required: Minimum number of confirmations needed for a transaction to be confirmed. Total wait time for an asset can be computed as blockTime * confirmations.
      - `coinName` string, required: name of the network's native coin
      - `coinSymbol` string, required: symbol of the network's native coin
      - `supportsMemo` boolean: Indicates if the network has memo support.
      - `alias` string: The network alias
      - `addressExplorerUrl` string, url: Base URL path of an address on the blockchain explorer. Full URL can be obtained by appending the address to this.
      - `txExplorerUrl` string, url: Base URL Path of a transaction on the blockchain explorer. Full URL can be obtained by appending the TX hash to this URL.

## Other responses

- `400`: Request could not be validated
- `401`: Client is not authorized to make request
- `403`: Expected permission is not available.
- `409`: Entity already exist, it can not be created.
- `default`: Internal Server Error

## Changes

- **2026-07-26** `a3c4e2742615`: 3 info
  - the endpoint scheme security `HMACAuth` was added to the API
  - the endpoint scheme security `authToken` was removed from the API
  - added the optional property `tokenInfo/platformFeePercentage` to the response with the `201` status
- **2026-07-13** `fc790ea4deb6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nestechops/apis/onboard-external-api-gateway/changes/ledger/subaccounts/:subAccountIdRef/funding-address/post.md)

---

[API](https://skmtc.dev/nestechops/apis/onboard-external-api-gateway.md) - [All operations](https://skmtc.dev/nestechops/apis/onboard-external-api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/nestechops/apis/onboard-external-api-gateway/revisions/5da9ec1b2573?raw)
