{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/MonetaryAccountBank",
"title": "MonetaryAccountBank",
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "The currency of the MonetaryAccountBank as an ISO 4217 formatted currency code.",
"readOnly": false,
"writeOnly": false
},
"description": {
"type": "string",
"description": "The description of the MonetaryAccountBank. Defaults to 'bunq account'.",
"readOnly": false,
"writeOnly": false
},
"daily_limit": {
"type": "object",
"description": "The daily spending limit Amount of the MonetaryAccountBank. Defaults to 1000 EUR. Currency must match the MonetaryAccountBank's currency. Limited to 10000 EUR.",
"readOnly": false,
"writeOnly": false,
"$ref": "#/components/schemas/Amount"
},
"avatar_uuid": {
"type": "string",
"description": "The UUID of the Avatar of the MonetaryAccountBank.",
"readOnly": false,
"writeOnly": true
},
"status": {
"type": "string",
"description": "The status of the MonetaryAccountBank. Can be: ACTIVE, BLOCKED, CANCELLED or PENDING_REOPEN",
"readOnly": false,
"writeOnly": false
},
"sub_status": {
"type": "string",
"description": "The sub-status of the MonetaryAccountBank providing extra information regarding the status. Will be NONE for ACTIVE or PENDING_REOPEN, COMPLETELY or ONLY_ACCEPTING_INCOMING for BLOCKED and REDEMPTION_INVOLUNTARY, REDEMPTION_VOLUNTARY or PERMANENT for CANCELLED.",
"readOnly": false,
"writeOnly": false
},
"reason": {
"type": "string",
"description": "The reason for voluntarily cancelling (closing) the MonetaryAccountBank, can only be OTHER.",
"readOnly": false,
"writeOnly": false
},
"reason_description": {
"type": "string",
"description": "The optional free-form reason for voluntarily cancelling (closing) the MonetaryAccountBank. Can be any user provided message.",
"readOnly": false,
"writeOnly": false
},
"display_name": {
"type": "string",
"description": "The legal name of the user / company using this monetary account.",
"readOnly": false,
"writeOnly": false
},
"setting": {
"type": "object",
"description": "The settings of the MonetaryAccountBank.",
"readOnly": false,
"writeOnly": false,
"$ref": "#/components/schemas/MonetaryAccountSetting"
},
"country_iban": {
"type": "string",
"description": "The country of the monetary account IBAN.",
"readOnly": false,
"writeOnly": true
},
"id": {
"type": "integer",
"description": "The id of the MonetaryAccountBank.",
"readOnly": true,
"writeOnly": false
},
"created": {
"type": "string",
"description": "The timestamp of the MonetaryAccountBank's creation.",
"readOnly": true,
"writeOnly": false
},
"updated": {
"type": "string",
"description": "The timestamp of the MonetaryAccountBank's last update.",
"readOnly": true,
"writeOnly": false
},
"avatar": {
"type": "object",
"description": "The Avatar of the MonetaryAccountBank.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/Avatar"
},
"overdraft_limit": {
"type": "object",
"description": "The maximum Amount the MonetaryAccountBank can be 'in the red'.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/Amount"
},
"balance": {
"type": "object",
"description": "The current available balance Amount of the MonetaryAccountBank.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/Amount"
},
"alias": {
"type": "array",
"description": "The Aliases for the MonetaryAccountBank.",
"readOnly": true,
"writeOnly": false,
"items": {
"$ref": "#/components/schemas/Pointer"
}
},
"public_uuid": {
"type": "string",
"description": "The MonetaryAccountBank's public UUID.",
"readOnly": true,
"writeOnly": false
},
"user_id": {
"type": "integer",
"description": "The id of the User who owns the MonetaryAccountBank.",
"readOnly": true,
"writeOnly": false
},
"monetary_account_profile": {
"type": "object",
"description": "The profile of the account.",
"readOnly": true,
"writeOnly": false,
"$ref": "#/components/schemas/MonetaryAccountProfile"
},
"all_auto_save_id": {
"type": "array",
"description": "The ids of the AutoSave.",
"readOnly": true,
"writeOnly": false,
"items": {
"$ref": "#/components/schemas/BunqId"
}
}
}
}