wise.json•11.2 kB
{
"nodeType": "n8n-nodes-base.wise",
"displayName": "Wise",
"description": "Consume the Wise API",
"version": 1,
"properties": [
{
"name": "profileId",
"displayName": "Profile Name or ID",
"type": "options",
"default": [],
"description": "ID of the user profile to retrieve the balance of. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"resource": [
"account"
],
"operation": [
"getBalances"
]
}
}
},
{
"name": "borderlessAccountId",
"displayName": "Borderless Account Name or ID",
"type": "options",
"default": [],
"description": "ID of the borderless account to retrieve the statement of. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"resource": [
"account"
],
"operation": [
"getStatement"
]
}
}
},
{
"name": "currency",
"displayName": "Currency",
"type": "string",
"default": "",
"description": "Code of the currency of the borderless account to retrieve the statement of",
"displayOptions": {
"show": {
"resource": [
"account"
],
"operation": [
"getStatement"
]
}
}
},
{
"name": "format",
"displayName": "Format",
"type": "options",
"default": "json",
"description": "File format to retrieve the statement in",
"options": [
{
"name": "JSON",
"value": "json"
},
{
"name": "CSV",
"value": "csv"
},
{
"name": "PDF",
"value": "pdf"
},
{
"name": "XML (CAMT.053)",
"value": "xml"
}
],
"displayOptions": {
"show": {
"resource": [
"account"
],
"operation": [
"getStatement"
]
}
}
},
{
"name": "binaryProperty",
"displayName": "Put Output File in Field",
"type": "string",
"default": "data",
"required": true,
"displayOptions": {
"show": {
"resource": [
"account"
],
"operation": [
"getStatement"
],
"format": [
"csv",
"pdf",
"xml"
]
}
}
},
{
"name": "fileName",
"displayName": "File Name",
"type": "string",
"default": "",
"description": "Name of the file that will be downloaded",
"placeholder": "data.pdf",
"required": true,
"displayOptions": {
"show": {
"resource": [
"account"
],
"operation": [
"getStatement"
],
"format": [
"csv",
"pdf",
"xml"
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "Line style to retrieve the statement in",
"placeholder": "Add Field",
"displayOptions": {
"show": {
"resource": [
"account"
],
"operation": [
"getStatement"
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "getBalances",
"description": "Retrieve balances for all account currencies of this user",
"options": [
{
"name": "Get Balances",
"value": "getBalances",
"description": "Retrieve balances for all account currencies of this user"
},
{
"name": "Get Currencies",
"value": "getCurrencies",
"description": "Retrieve currencies in the borderless account of this user"
},
{
"name": "Get Statement",
"value": "getStatement",
"description": "Retrieve the statement for the borderless account of this user"
}
],
"displayOptions": {
"show": {
"resource": [
"account"
]
}
}
},
{
"name": "source",
"displayName": "Source Currency",
"type": "string",
"default": "",
"description": "Code of the source currency to retrieve the exchange rate for",
"displayOptions": {
"show": {
"resource": [
"exchangeRate"
],
"operation": [
"get"
]
}
}
},
{
"name": "target",
"displayName": "Target Currency",
"type": "string",
"default": "",
"description": "Code of the target currency to retrieve the exchange rate for",
"displayOptions": {
"show": {
"resource": [
"exchangeRate"
],
"operation": [
"get"
]
}
}
},
{
"name": "targetAccountId",
"displayName": "Target Account Name or ID",
"type": "options",
"default": [],
"description": "ID of the account that will receive the funds. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true,
"displayOptions": {
"show": {
"resource": [
"quote"
],
"operation": [
"create"
]
}
}
},
{
"name": "amountType",
"displayName": "Amount Type",
"type": "options",
"default": "source",
"description": "Whether the amount is to be sent or received",
"options": [
{
"name": "Source",
"value": "source"
},
{
"name": "Target",
"value": "target"
}
],
"displayOptions": {
"show": {
"resource": [
"quote"
],
"operation": [
"create"
]
}
}
},
{
"name": "amount",
"displayName": "Amount",
"type": "number",
"default": 1,
"description": "Amount of funds for the quote to create",
"typeOptions": {
"minValue": 1
},
"displayOptions": {
"show": {
"resource": [
"quote"
],
"operation": [
"create"
]
}
}
},
{
"name": "sourceCurrency",
"displayName": "Source Currency",
"type": "string",
"default": "",
"description": "Code of the currency to send for the quote to create",
"displayOptions": {
"show": {
"resource": [
"quote"
],
"operation": [
"create"
]
}
}
},
{
"name": "targetCurrency",
"displayName": "Target Currency",
"type": "string",
"default": "",
"description": "Code of the currency to receive for the quote to create",
"displayOptions": {
"show": {
"resource": [
"quote"
],
"operation": [
"create"
]
}
}
},
{
"name": "quoteId",
"displayName": "Quote ID",
"type": "string",
"default": "",
"description": "ID of the quote to retrieve",
"required": true,
"displayOptions": {
"show": {
"resource": [
"quote"
],
"operation": [
"get"
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": false,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"resource": [
"recipient"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 5,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1,
"maxValue": 1000
},
"displayOptions": {
"show": {
"resource": [
"recipient"
],
"operation": [
"getAll"
],
"returnAll": [
false
]
}
}
},
{
"name": "transferId",
"displayName": "Transfer ID",
"type": "string",
"default": "",
"description": "ID of the transfer to delete",
"required": true,
"displayOptions": {
"show": {
"resource": [
"transfer"
],
"operation": [
"delete"
]
}
}
},
{
"name": "downloadReceipt",
"displayName": "Download Receipt",
"type": "boolean",
"default": false,
"description": "Whether to download the transfer receipt as a PDF file. Only for executed transfers, having status 'Outgoing Payment Sent'.",
"required": true,
"displayOptions": {
"show": {
"resource": [
"transfer"
],
"operation": [
"get"
]
}
}
},
{
"name": "filters",
"displayName": "Filters",
"type": "collection",
"default": {},
"description": "Range of time for filtering the transfers",
"placeholder": "Add Filter",
"displayOptions": {
"show": {
"resource": [
"transfer"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "account",
"options": [
{
"name": "Account",
"value": "account"
},
{
"name": "Exchange Rate",
"value": "exchangeRate"
},
{
"name": "Profile",
"value": "profile"
},
{
"name": "Quote",
"value": "quote"
},
{
"name": "Recipient",
"value": "recipient"
},
{
"name": "Transfer",
"value": "transfer"
}
]
}
],
"credentialsConfig": [
{
"name": "wiseApi",
"required": true
},
{
"name": "resource",
"required": false
}
],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}