GET
/
v1
/
portfolios
/
{portfolio_id}
/
commission
curl --request GET \
  --url https://api.prime.coinbase.com/v1/portfolios/{portfolio_id}/commission
{
  "commission": {
    "type": "<string>",
    "rate": "<string>",
    "trading_volume": "<string>"
  }
}

Use the Prime SDK or CLI to test this endpoint by following the quickstart guide and running with the following examples

CommissionService commissionService = PrimeServiceFactory.createCommissionService(client);

GetPortfolioCommissionRequest request = new GetPortfolioCommissionRequest.Builder()
    .portfolioId("PORTFOLIO_ID_HERE")
    .build();

GetPortfolioCommissionResponse response = commissionService.getPortfolioCommission(request);

For more information, please visit the Prime Java SDK.

Path Parameters

portfolio_id
string
required

Response

200
application/json

A successful response.

The response is of type object.