ledger-sub-accounts
Check funding address for a sub-account.
Changed onThis operation allows the client to get the address for the sub-account if it exists
get/ledger/subaccounts/{subAccountIdRef}/funding-address
Request
- Base URLhttps://external.dev.onboardpay.co
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Address Fetched Successfully
Example response
{
"fundingAddress": {
"address": "0x43e4715ae093a4c86b5ecddb52216c4f879e9672",
"tokenInfo": {
"code": "ETH_USDC",
"decimals": 6,
"contractAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"minimumDeposit": 5.25,
"platformFeePercentage": 0.001,
"networkInfo": {
"id": "ETH",
"name": "Ethereum",
"blockTime": 15,
"confirmations": 8,
"coinName": "Ether",
"coinSymbol": "ETH",
"alias": "BEP20",
"addressExplorerUrl": "https://etherscan.io/address",
"txExplorerUrl": "https://etherscan.io/tx"
}
}
}
}Changes
- info
the endpoint scheme security
HMACAuthwas added to the API - info
the endpoint scheme security
authTokenwas removed from the API - info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info