get
https://sandbox.pismolabs.io/interest-engine/v1/interest/account/
Get account interest details.
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 interest account is 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 interest configuration.
Any other failure of those APIs fails with 500.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
401Unauthorized. The response body is produced by the upstream authentication gateway and is not defined by this service.