portfolios
Create Portfolio
blockchain
clearloop
network
address-book
currencies
API Reference
orders
files
lending
- GETGet Loans
- POSTCreate Loan
- PATCHCalculate Loan LTV Dry Run
- PATCHAccept Loan Term Extension
- PATCHAccept Loan Interest Payment
- PATCHAccept Loan
- PATCHAccept Loan Rebalance
- PATCHAccept Loan Repayment
- PATCHAccept Loan Rerate
- PATCHAccept Loan Top Up
- PATCHApprove Loan
- PATCHCancel Loan Default
- PATCHCancel Loan Term Extension
- PATCHCancel Loan Interest Payment
- PATCHCancel Loan
- PATCHCancel Loan Rebalance
- PATCHCancel Loan Repayment
- PATCHCancel Loan Rerate
- PATCHCancel Loan Top Up
- PATCHConfirm External Disbursement
- PATCHConfirm External Interest Payment
- PATCHConfirm External Repayment
- PATCHConfirm External Top Up
- PATCHDefault Loan
- PATCHEstimate Loan Leverage Ratio
- PATCHEstimate Loan LTV
- PATCHExtend Loan Term
- GETGet Loan by ID
- PATCHPay Loan Interest
- PATCHRebalance Loan
- PATCHReject Loan
- PATCHRepay Loan
- PATCHRerate Loan
- PATCHSecure Collateral Loan
- PATCHTop Up Loan
reports
portfolios
Create Portfolio
Create a new portfolio
POST
/
portfolios
curl --request POST \
--url https://api.copper.co/platform/portfolios \
--header 'Content-Type: application/json' \
--data '{
"isDefiVault": true,
"organizationId": "<string>",
"parentPortfolioId": "<string>",
"portfolioDescription": "My portfolio description",
"portfolioId": "<string>",
"portfolioName": "My portfolio",
"portfolioType": "custody"
}'
{
"createdAt": "1617235200000",
"createdBy": "<string>",
"extra": {
"baseCurrency": "<string>",
"clearLoopDelegationsBlocked": true,
"clearLoopPortfolioId": "<string>",
"clearLoopUnDelegationsBlocked": true,
"clientAccountId": "<string>",
"customerId": "<string>",
"exchange": "okex",
"externalAccountId": "<string>",
"parentPortfolioId": "<string>",
"quoteCurrency": "<string>",
"showWalletBalance": "real",
"usdWithdrawalLimit": "<string>"
},
"isActive": true,
"organizationId": "1fa95ae7-5f74-4258-a4c6-687b39d7941d",
"portfolioDescription": "My portfolio description",
"portfolioId": "<string>",
"portfolioName": "My portfolio",
"portfolioType": "custody",
"status": "active",
"updatedAt": "1617235200000",
"updatedBy": "<string>"
}
Body
application/json
Response
200
application/json
OK
The response is of type object
.
curl --request POST \
--url https://api.copper.co/platform/portfolios \
--header 'Content-Type: application/json' \
--data '{
"isDefiVault": true,
"organizationId": "<string>",
"parentPortfolioId": "<string>",
"portfolioDescription": "My portfolio description",
"portfolioId": "<string>",
"portfolioName": "My portfolio",
"portfolioType": "custody"
}'
{
"createdAt": "1617235200000",
"createdBy": "<string>",
"extra": {
"baseCurrency": "<string>",
"clearLoopDelegationsBlocked": true,
"clearLoopPortfolioId": "<string>",
"clearLoopUnDelegationsBlocked": true,
"clientAccountId": "<string>",
"customerId": "<string>",
"exchange": "okex",
"externalAccountId": "<string>",
"parentPortfolioId": "<string>",
"quoteCurrency": "<string>",
"showWalletBalance": "real",
"usdWithdrawalLimit": "<string>"
},
"isActive": true,
"organizationId": "1fa95ae7-5f74-4258-a4c6-687b39d7941d",
"portfolioDescription": "My portfolio description",
"portfolioId": "<string>",
"portfolioName": "My portfolio",
"portfolioType": "custody",
"status": "active",
"updatedAt": "1617235200000",
"updatedBy": "<string>"
}