List fees for an account

List fees associated with an account.

To access this endpoint using an access token you’ll need to specify the /accounts/{accountID}/transfers.read scope.

POST
/accounts/{accountID}/fees/.fetch
cURL
curl --request POST \
  --url https://api.moov.io/accounts/{accountID}/fees/.fetch \
  --header 'Authorization: Basic REPLACE_BASIC_AUTH' \
  --header 'content-type: application/json' \
  --header 'x-moov-version: SOME_STRING_VALUE' \
  --data '{"feeIDs":["497f6eca-6276-4993-bfeb-53cbbbba6f08"]}'
200 401 403 429 500 504
The request completed successfully.
[
  {
    "accountID": "3dfff852-927d-47e8-822c-2fffc57ff6b9",
    "amount": {
      "currency": "USD",
      "valueDecimal": "12.987654321"
    },
    "createdOn": "2019-08-24T14:15:22Z",
    "feeID": "9dae7250-d128-4dbb-bc2c-3c2e8a2fb42d",
    "feeName": "string",
    "generatedBy": {
      "transferID": "e23de6dd-5168-4e1d-894d-807fa691dc80"
    },
    "walletID": "0eb7d670-c252-422a-892d-002136c358e0"
  }
]

x-request-id

string <uuid> required
A unique identifier used to trace requests.
The request contained missing or expired authentication.

x-request-id

string <uuid> required
A unique identifier used to trace requests.
The user is not authorized to make the request.

x-request-id

string <uuid> required
A unique identifier used to trace requests.
Request was refused due to rate limiting.

x-request-id

string <uuid> required
A unique identifier used to trace requests.
The request failed due to an unexpected error.

x-request-id

string <uuid> required
A unique identifier used to trace requests.
The request failed because a downstream service failed to respond.

x-request-id

string <uuid> required
A unique identifier used to trace requests.

Headers

x-moov-version

string
API version

Specify an API version.

API versioning follows the format vYYYY.QQ.BB, where

  • YYYY is the year
  • QQ is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
  • BB is the build number, starting at .01, for subsequent builds in the same quarter.
    • For example, v2024.01.00 is the initial release of the first quarter of 2024.

The latest version represents the most recent development state. It may include breaking changes and should be treated as a beta release.

Default: v2024.01.00

Path parameters

accountID

string <uuid> required

Body

application/json
Array of fee IDs to fetch.

feeIDs

array

Response

application/json

accountID

string<uuid>

amount

object
Show child attributes

currency

string required Pattern
A 3-letter ISO 4217 currency code.

valueDecimal

string required Pattern

A decimal-formatted numerical string that represents up to 9 decimal place precision.

For example, $12.987654321 is ‘12.987654321’.

createdOn

string<date-time>

feeID

string<uuid>

feeName

string

generatedBy

The entity that generated the fee.
Show child attributes
Transfer ID Card ID Dispute ID Account ID Bank account ID

transferID

string<uuid>

CardID

string<uuid>

DisputeID

string<uuid>

AccountID

string<uuid>

BankAccountID

string<uuid>

walletID

string<uuid>