Get account details
fizen_get_accountRetrieve details for a linked bank account, including owner, account number, currency, balances, and consent expiry, to verify account data after access approval.
Instructions
Account details for a linked account: owner name and address, account number, currency, available and booked balance, description and consent expiry. Fields vary by bank.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bankId": "<bankId>",
"accountId": "<accountId>",
"state": "<state>"
},
"name": "fizen_get_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | The consent state returned by fizen_start_linking (also in the callback). Valid for 200 days. | |
| bankId | Yes | Bank identifier from fizen_list_banks, e.g. "mbank" or "fizenbank" (sandbox test bank). | |
| accountId | Yes | Account id from the AIS callback (the accounts list Fizen posts after the user approves access). | |
| accountType | No | "company" for business accounts: the API uses "<bankId>-company" paths. Default "retail". | retail |