curl --request GET \
--url https://api.paxos.com/v2/identity/accounts/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.paxos.com/v2/identity/accounts/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paxos.com/v2/identity/accounts/{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.paxos.com/v2/identity/accounts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.paxos.com/v2/identity/accounts/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.paxos.com/v2/identity/accounts/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.paxos.com/v2/identity/accounts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"identity_id": "<string>",
"description": "<string>",
"admin_disabled": true,
"user_disabled": true,
"metadata": {},
"ref_id": "<string>",
"members": [
{
"identity_id": "<string>",
"type": "BENEFICIAL_OWNER",
"roles": [
"BENEFICIAL_OWNER"
],
"id": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"summary_status": "PENDING",
"updated_at": "2023-11-07T05:31:56Z",
"profile_id": "<string>",
"type": "BROKERAGE"
}Get account
curl --request GET \
--url https://api.paxos.com/v2/identity/accounts/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.paxos.com/v2/identity/accounts/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paxos.com/v2/identity/accounts/{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.paxos.com/v2/identity/accounts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.paxos.com/v2/identity/accounts/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.paxos.com/v2/identity/accounts/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.paxos.com/v2/identity/accounts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"identity_id": "<string>",
"description": "<string>",
"admin_disabled": true,
"user_disabled": true,
"metadata": {},
"ref_id": "<string>",
"members": [
{
"identity_id": "<string>",
"type": "BENEFICIAL_OWNER",
"roles": [
"BENEFICIAL_OWNER"
],
"id": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"summary_status": "PENDING",
"updated_at": "2023-11-07T05:31:56Z",
"profile_id": "<string>",
"type": "BROKERAGE"
}identity:read_account
Authorizations
Paxos APIs use OAuth 2 with the client credentials grant flow.
Token URLs:
- Production: https://oauth.paxos.com/oauth2/token
- Sandbox: https://oauth.sandbox.paxos.com/oauth2/token
Learn more in the API credentials guide →
Path Parameters
uuid id of account
Response
A successful response.
The id used for all other interactions with this account. Required on update. Auto-generated on create; do not set.
The primary identity associated with the account. Required on create. Not writable on update.
A free-text description of the account.
true if the account has been disabled by a Paxos admin.
true if the account has been disabled by the API user.
API User-facing metadata.
Show child attributes
Show child attributes
A user-facing ID to prevent duplicate account creation. Unique for all accounts created by the same API user.
Additional Identities with varying types of access to this account.
Show child attributes
Show child attributes
The time this account was created.
PENDING, ERROR, APPROVED, DENIED, DISABLED The time this account was updated.
BROKERAGE, TRADITIONAL_IRA, ROTH_IRA, SEP_IRA, FINANCIAL_ADVISOR Was this page helpful?