Create Organization Bank Accounts Bulk
curl --request POST \
--url https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"financial_institution_name": "<string>",
"account_number": "DE: DE89370400440532013000",
"routing_number": "DE: 370400440",
"iban": "DE: DE89370400440532013000",
"swift_code": "DE: COBADEFFXXX",
"account_details": {},
"is_active": true,
"is_primary": false
}
]
'import requests
url = "https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list"
payload = [
{
"financial_institution_name": "<string>",
"account_number": "DE: DE89370400440532013000",
"routing_number": "DE: 370400440",
"iban": "DE: DE89370400440532013000",
"swift_code": "DE: COBADEFFXXX",
"account_details": {},
"is_active": True,
"is_primary": False
}
]
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
financial_institution_name: '<string>',
account_number: 'DE: DE89370400440532013000',
routing_number: 'DE: 370400440',
iban: 'DE: DE89370400440532013000',
swift_code: 'DE: COBADEFFXXX',
account_details: {},
is_active: true,
is_primary: false
}
])
};
fetch('https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
[
'financial_institution_name' => '<string>',
'account_number' => 'DE: DE89370400440532013000',
'routing_number' => 'DE: 370400440',
'iban' => 'DE: DE89370400440532013000',
'swift_code' => 'DE: COBADEFFXXX',
'account_details' => [
],
'is_active' => true,
'is_primary' => false
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list"
payload := strings.NewReader("[\n {\n \"financial_institution_name\": \"<string>\",\n \"account_number\": \"DE: DE89370400440532013000\",\n \"routing_number\": \"DE: 370400440\",\n \"iban\": \"DE: DE89370400440532013000\",\n \"swift_code\": \"DE: COBADEFFXXX\",\n \"account_details\": {},\n \"is_active\": true,\n \"is_primary\": false\n }\n]")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("[\n {\n \"financial_institution_name\": \"<string>\",\n \"account_number\": \"DE: DE89370400440532013000\",\n \"routing_number\": \"DE: 370400440\",\n \"iban\": \"DE: DE89370400440532013000\",\n \"swift_code\": \"DE: COBADEFFXXX\",\n \"account_details\": {},\n \"is_active\": true,\n \"is_primary\": false\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"financial_institution_name\": \"<string>\",\n \"account_number\": \"DE: DE89370400440532013000\",\n \"routing_number\": \"DE: 370400440\",\n \"iban\": \"DE: DE89370400440532013000\",\n \"swift_code\": \"DE: COBADEFFXXX\",\n \"account_details\": {},\n \"is_active\": true,\n \"is_primary\": false\n }\n]"
response = http.request(request)
puts response.read_body[
{
"financial_institution_name": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"account_number": "DE: DE89370400440532013000",
"routing_number": "DE: 370400440",
"iban": "DE: DE89370400440532013000",
"swift_code": "DE: COBADEFFXXX",
"account_details": {},
"is_active": true,
"is_primary": false
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Banking
Create Organization Bank Accounts Bulk
Create multiple bank accounts and attach them to an organization
POST
/
organizations
/
{organization_id}
/
bank-accounts
/
list
Create Organization Bank Accounts Bulk
curl --request POST \
--url https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"financial_institution_name": "<string>",
"account_number": "DE: DE89370400440532013000",
"routing_number": "DE: 370400440",
"iban": "DE: DE89370400440532013000",
"swift_code": "DE: COBADEFFXXX",
"account_details": {},
"is_active": true,
"is_primary": false
}
]
'import requests
url = "https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list"
payload = [
{
"financial_institution_name": "<string>",
"account_number": "DE: DE89370400440532013000",
"routing_number": "DE: 370400440",
"iban": "DE: DE89370400440532013000",
"swift_code": "DE: COBADEFFXXX",
"account_details": {},
"is_active": True,
"is_primary": False
}
]
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
financial_institution_name: '<string>',
account_number: 'DE: DE89370400440532013000',
routing_number: 'DE: 370400440',
iban: 'DE: DE89370400440532013000',
swift_code: 'DE: COBADEFFXXX',
account_details: {},
is_active: true,
is_primary: false
}
])
};
fetch('https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
[
'financial_institution_name' => '<string>',
'account_number' => 'DE: DE89370400440532013000',
'routing_number' => 'DE: 370400440',
'iban' => 'DE: DE89370400440532013000',
'swift_code' => 'DE: COBADEFFXXX',
'account_details' => [
],
'is_active' => true,
'is_primary' => false
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list"
payload := strings.NewReader("[\n {\n \"financial_institution_name\": \"<string>\",\n \"account_number\": \"DE: DE89370400440532013000\",\n \"routing_number\": \"DE: 370400440\",\n \"iban\": \"DE: DE89370400440532013000\",\n \"swift_code\": \"DE: COBADEFFXXX\",\n \"account_details\": {},\n \"is_active\": true,\n \"is_primary\": false\n }\n]")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("[\n {\n \"financial_institution_name\": \"<string>\",\n \"account_number\": \"DE: DE89370400440532013000\",\n \"routing_number\": \"DE: 370400440\",\n \"iban\": \"DE: DE89370400440532013000\",\n \"swift_code\": \"DE: COBADEFFXXX\",\n \"account_details\": {},\n \"is_active\": true,\n \"is_primary\": false\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.intermezzo.ai/organizations/{organization_id}/bank-accounts/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"financial_institution_name\": \"<string>\",\n \"account_number\": \"DE: DE89370400440532013000\",\n \"routing_number\": \"DE: 370400440\",\n \"iban\": \"DE: DE89370400440532013000\",\n \"swift_code\": \"DE: COBADEFFXXX\",\n \"account_details\": {},\n \"is_active\": true,\n \"is_primary\": false\n }\n]"
response = http.request(request)
puts response.read_body[
{
"financial_institution_name": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"account_number": "DE: DE89370400440532013000",
"routing_number": "DE: 370400440",
"iban": "DE: DE89370400440532013000",
"swift_code": "DE: COBADEFFXXX",
"account_details": {},
"is_active": true,
"is_primary": false
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Get token from Auth0 and paste it here
Path Parameters
Body
application/json
Examples:
"Deutsche Bank"
"Lloyds Bank"
Example:
"DE: DE89370400440532013000"
Required string length:
9Example:
"DE: 370400440"
Maximum string length:
34Example:
"DE: DE89370400440532013000"
Required string length:
8 - 11Pattern:
[A-Z0-9]{4}[A-Z]{2}[A-Z0-9]{2}(:?[A-Z0-9]{3})?Example:
"DE: COBADEFFXXX"
Response
Successful Response
Examples:
"Deutsche Bank"
"Lloyds Bank"
Example:
"DE: DE89370400440532013000"
Required string length:
9Example:
"DE: 370400440"
Example:
"DE: DE89370400440532013000"
Example:
"DE: COBADEFFXXX"
⌘I