List fees for an account
POST
/accounts/{accountID}/fees/.fetch
curl --request POST \
--url https://api.moov.io/accounts/{accountID}/fees/.fetch \
--header 'content-type: application/json' \
--data '{"feeIDs":["ec7e1848-dc80-4ab0-8827-dd7fc0737b43"]}'
List of fees.
[
{
"accountID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
"amount": {
"currency": "USD",
"valueDecimal": "12.987654321"
},
"createdOn": "2019-08-24T14:15:22Z",
"feeID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
"feeName": "string",
"generatedBy": {
"transferID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43"
},
"walletID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43"
}
]
The user is not authorized to make the request.
The parameters provided are not processable.
Request was refused due to rate limiting.
Response headers
Retry-After
number
Path parameters
accountID
string
<uuid>
required
ID of the account.
Body
application/json
feeIDs
array
Response
application/json
accountID
string<uuid>
<=36 characters
UUID
amount
object
A decimal value representing money in a specific currency.
Show child attributes
currency
string
<=3 characters
Pattern
A 3-letter ISO 4217 currency code.
valueDecimal
string
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>
<=24 characters
feeID
string<uuid>
<=36 characters
UUID
feeName
string
generatedBy
object
The entity that generated the fee.
Show child attributes
transferID
string<uuid>
<=36 characters
UUID
cardID
string<uuid>
<=36 characters
UUID
disputeID
string<uuid>
<=36 characters
UUID
accountID
string<uuid>
<=36 characters
UUID
bankAccountID
string<uuid>
<=36 characters
UUID
walletID
string<uuid>
<=36 characters
UUID