Get the configuration changes recorded for an account with Partially update account interest.
The response lists up to 50 changes, from the most recently created to the oldest. Changes whose end_date has already passed are not included, and changes with a future effective_date are. An account whose interest was configured only with PUT /v1/interest/account/{accountId} has no recorded changes, so the request fails with 404.
Account identification. The token identifies the account—the path alone is not enough. Exactly one of x-account-id or x-external-account-id must be passed and must match the {accountId} path parameter. Otherwise the request is rejected (403 on a mismatch or when neither header is passed, 400 when both are).
Identifier validation. The ID encoded in the token is confirmed to exist by calling an external API before the configuration changes are read:
x-account-id: An Accounts API call confirms the account ID exists. If it does not, the request fails with400andaccount_id not found.x-external-account-id: A Corporate API call resolves the external account ID to a Pismoaccount_id. If the external account ID does not exist, the request fails with400andexternal_account_id not found.
A 404 means the identifier is valid but the account has no active or future configuration changes. Any other failure of those APIs fails with 500.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
401Unauthorized. The response body is produced by the upstream authentication gateway and is not defined by this service.