---
title: "Get Account Fee Summary"
method: GET
path: "/programs/{programCode}/accounts/{accountIdentifier}/feeSummary"
tags: ["Account"]
---

# Get Account Fee Summary

`GET /programs/{programCode}/accounts/{accountIdentifier}/feeSummary`

This endpoint allows to retrieve the fee summary of certian account. It returns the prior month fees and the year-to-date fees in this fee summary.

**Http Status Codes**
 <table><thead><tr><th>Status Code</th><th>Code</th><th>Sub Code</th><th>Description</th></tr></thead><tbody><tr><td>200</td><td>0</td><td>0</td><td>API operation was successful.</td></tr><tr><td>401</td><td></td><td></td><td>Unauthorized: authorization prefix none bearer</td></tr><tr><td>401</td><td></td><td></td><td>Unauthorized: invalid authorization format</td></tr><tr><td>401</td><td></td><td></td><td>Unauthorized: invalid authorization token</td></tr><tr><td>401</td><td></td><td></td><td>Unauthorized: expired authorization token</td></tr><tr><td>401</td><td></td><td></td><td>Unauthorized: out of credential scopes</td></tr><tr><td>401</td><td></td><td></td><td>Unauthorized: invalid program code</td></tr><tr><td>404</td><td>10</td><td>0</td><td>Account Not Found.</td></tr><tr><td>400</td><td>1000</td><td>0</td><td>The program code in the API path is unknown.</td></tr><tr><td>503</td><td>4610</td><td>4611</td><td>PRODUCT_NOT_SUPPORT_FEE</td></tr></tbody></table>

## Path parameters

- `programCode` string, required
- `accountIdentifier` string, required

## Headers

- `X-GD-RequestId` string, required

## Response `200`

OK

- GetAccountFeesResponse — Represents the response containing account fee information for a specific account.
  - `priorMonthFee` FeeValue — Represents a fee value, including the amount and the date range for which the fee applies.
    - `amount` number, double — The amount of the fee for the specified period.
    - `startDate` string, nullable — The start date of the period for which the fee applies, typically formatted as an ISO 8601 string.
    - `endDate` string, nullable — The end date of the period for which the fee applies, typically formatted as an ISO 8601 string.
  - `yearToDateFee` FeeValue — Represents a fee value, including the amount and the date range for which the fee applies.
    - `amount` number, double — The amount of the fee for the specified period.
    - `startDate` string, nullable — The start date of the period for which the fee applies, typically formatted as an ISO 8601 string.
    - `endDate` string, nullable — The end date of the period for which the fee applies, typically formatted as an ISO 8601 string.
  - `responseDetails` ResponseDetail[], nullable — Required: A list of response details providing status codes, descriptions, and additional information about the result of the operation.
    - `code` integer — The primary status or error code for the response (e.g., 200 for success, 400 for validation error).
    - `subCode` integer, nullable — An optional subcode providing more granular detail about the response or error.
    - `description` string, nullable — A human-readable description of the response, error, or status.
    - `url` string, nullable — A URL linking to documentation or a web page with more information about the response code.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/greendot/apis/baas-apis.md) · [All operations](https://skmtc.net/greendot/apis/baas-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/greendot/baas-apis/versions/666553766b78/schema)
