curl --request POST \
--url https://api.augustus.com/v1/account_holders/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"beneficiary_data": {
"legal_name": "<string>",
"residential_address": {
"street_line_1": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "US",
"street_line_2": "<string>"
},
"date_of_birth": "2023-12-25",
"identification": {
"type": "ssn",
"value": "<string>"
},
"country_of_citizenship": "US"
}
}
'import requests
url = "https://api.augustus.com/v1/account_holders/{id}"
payload = { "beneficiary_data": {
"legal_name": "<string>",
"residential_address": {
"street_line_1": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "US",
"street_line_2": "<string>"
},
"date_of_birth": "2023-12-25",
"identification": {
"type": "ssn",
"value": "<string>"
},
"country_of_citizenship": "US"
} }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
beneficiary_data: {
legal_name: '<string>',
residential_address: {
street_line_1: '<string>',
city: '<string>',
state: '<string>',
postal_code: '<string>',
country: 'US',
street_line_2: '<string>'
},
date_of_birth: '2023-12-25',
identification: {type: 'ssn', value: '<string>'},
country_of_citizenship: 'US'
}
})
};
fetch('https://api.augustus.com/v1/account_holders/{id}', 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://api.augustus.com/v1/account_holders/{id}",
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([
'beneficiary_data' => [
'legal_name' => '<string>',
'residential_address' => [
'street_line_1' => '<string>',
'city' => '<string>',
'state' => '<string>',
'postal_code' => '<string>',
'country' => 'US',
'street_line_2' => '<string>'
],
'date_of_birth' => '2023-12-25',
'identification' => [
'type' => 'ssn',
'value' => '<string>'
],
'country_of_citizenship' => 'US'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$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://api.augustus.com/v1/account_holders/{id}"
payload := strings.NewReader("{\n \"beneficiary_data\": {\n \"legal_name\": \"<string>\",\n \"residential_address\": {\n \"street_line_1\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"country\": \"US\",\n \"street_line_2\": \"<string>\"\n },\n \"date_of_birth\": \"2023-12-25\",\n \"identification\": {\n \"type\": \"ssn\",\n \"value\": \"<string>\"\n },\n \"country_of_citizenship\": \"US\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
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://api.augustus.com/v1/account_holders/{id}")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"beneficiary_data\": {\n \"legal_name\": \"<string>\",\n \"residential_address\": {\n \"street_line_1\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"country\": \"US\",\n \"street_line_2\": \"<string>\"\n },\n \"date_of_birth\": \"2023-12-25\",\n \"identification\": {\n \"type\": \"ssn\",\n \"value\": \"<string>\"\n },\n \"country_of_citizenship\": \"US\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.augustus.com/v1/account_holders/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"beneficiary_data\": {\n \"legal_name\": \"<string>\",\n \"residential_address\": {\n \"street_line_1\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"country\": \"US\",\n \"street_line_2\": \"<string>\"\n },\n \"date_of_birth\": \"2023-12-25\",\n \"identification\": {\n \"type\": \"ssn\",\n \"value\": \"<string>\"\n },\n \"country_of_citizenship\": \"US\"\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"type": "account_holder",
"beneficiary_data": {
"legal_name": "<string>",
"residential_address": {
"street_line_1": "<string>",
"street_line_2": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "US"
},
"date_of_birth": "2023-12-25",
"identification": {
"type": "ssn",
"value": "<string>"
},
"country_of_citizenship": "US"
},
"created_at": "2023-11-07T05:31:56Z"
}Update account holder
Replaces the beneficiary details of an existing account holder.
curl --request POST \
--url https://api.augustus.com/v1/account_holders/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"beneficiary_data": {
"legal_name": "<string>",
"residential_address": {
"street_line_1": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "US",
"street_line_2": "<string>"
},
"date_of_birth": "2023-12-25",
"identification": {
"type": "ssn",
"value": "<string>"
},
"country_of_citizenship": "US"
}
}
'import requests
url = "https://api.augustus.com/v1/account_holders/{id}"
payload = { "beneficiary_data": {
"legal_name": "<string>",
"residential_address": {
"street_line_1": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "US",
"street_line_2": "<string>"
},
"date_of_birth": "2023-12-25",
"identification": {
"type": "ssn",
"value": "<string>"
},
"country_of_citizenship": "US"
} }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
beneficiary_data: {
legal_name: '<string>',
residential_address: {
street_line_1: '<string>',
city: '<string>',
state: '<string>',
postal_code: '<string>',
country: 'US',
street_line_2: '<string>'
},
date_of_birth: '2023-12-25',
identification: {type: 'ssn', value: '<string>'},
country_of_citizenship: 'US'
}
})
};
fetch('https://api.augustus.com/v1/account_holders/{id}', 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://api.augustus.com/v1/account_holders/{id}",
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([
'beneficiary_data' => [
'legal_name' => '<string>',
'residential_address' => [
'street_line_1' => '<string>',
'city' => '<string>',
'state' => '<string>',
'postal_code' => '<string>',
'country' => 'US',
'street_line_2' => '<string>'
],
'date_of_birth' => '2023-12-25',
'identification' => [
'type' => 'ssn',
'value' => '<string>'
],
'country_of_citizenship' => 'US'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$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://api.augustus.com/v1/account_holders/{id}"
payload := strings.NewReader("{\n \"beneficiary_data\": {\n \"legal_name\": \"<string>\",\n \"residential_address\": {\n \"street_line_1\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"country\": \"US\",\n \"street_line_2\": \"<string>\"\n },\n \"date_of_birth\": \"2023-12-25\",\n \"identification\": {\n \"type\": \"ssn\",\n \"value\": \"<string>\"\n },\n \"country_of_citizenship\": \"US\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
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://api.augustus.com/v1/account_holders/{id}")
.header("Idempotency-Key", "<idempotency-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"beneficiary_data\": {\n \"legal_name\": \"<string>\",\n \"residential_address\": {\n \"street_line_1\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"country\": \"US\",\n \"street_line_2\": \"<string>\"\n },\n \"date_of_birth\": \"2023-12-25\",\n \"identification\": {\n \"type\": \"ssn\",\n \"value\": \"<string>\"\n },\n \"country_of_citizenship\": \"US\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.augustus.com/v1/account_holders/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"beneficiary_data\": {\n \"legal_name\": \"<string>\",\n \"residential_address\": {\n \"street_line_1\": \"<string>\",\n \"city\": \"<string>\",\n \"state\": \"<string>\",\n \"postal_code\": \"<string>\",\n \"country\": \"US\",\n \"street_line_2\": \"<string>\"\n },\n \"date_of_birth\": \"2023-12-25\",\n \"identification\": {\n \"type\": \"ssn\",\n \"value\": \"<string>\"\n },\n \"country_of_citizenship\": \"US\"\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"type": "account_holder",
"beneficiary_data": {
"legal_name": "<string>",
"residential_address": {
"street_line_1": "<string>",
"street_line_2": "<string>",
"city": "<string>",
"state": "<string>",
"postal_code": "<string>",
"country": "US"
},
"date_of_birth": "2023-12-25",
"identification": {
"type": "ssn",
"value": "<string>"
},
"country_of_citizenship": "US"
},
"created_at": "2023-11-07T05:31:56Z"
}Authorizations
Bearer token for authentication with Augustus Banking API
Headers
Idempotency key for safe retries. Reusing a key with an identical request body returns the cached response. Reusing a key with a different body returns 409.
Path Parameters
Unique identifier of the account holder.
^[0-9a-fA-F]{24}$Body
New beneficiary details for the account holder
New beneficiary details replacing the current values.
- Option 1
- Option 2
- Option 3
Show child attributes
Show child attributes
Response
The updated account holder resource
Unique identifier of the account holder.
^[0-9a-fA-F]{24}$Resource type discriminator.
account_holder Type of the account holder.
natural_person, business Current account holder status.
pending, active, closed Beneficiary details used to create this account holder.
- Option 1
- Option 2
- Option 3
Show child attributes
Show child attributes
ISO 8601 UTC timestamp when the account holder was created.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Was this page helpful?