Skip to main content
GET
/
person
/
{id}
Fetch a Person
curl --request GET \
  --url https://api.treasuryprime.com/person/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "account_ids": [
    "<string>"
  ],
  "address": {
    "city": "<string>",
    "country": "<string>",
    "postal_code": "<string>",
    "state": "<string>",
    "street_line_1": "<string>",
    "street_line_2": "<string>"
  },
  "bankdata": {},
  "email": "<string>",
  "first_name": "<string>",
  "id": "<string>",
  "last_name": "<string>",
  "mailing_address": {
    "city": "<string>",
    "country": "<string>",
    "postal_code": "<string>",
    "state": "<string>",
    "street_line_1": "<string>",
    "street_line_2": "<string>"
  },
  "middle_name": "<string>",
  "phone_number": "<string>",
  "physical_address": {
    "city": "<string>",
    "country": "<string>",
    "postal_code": "<string>",
    "state": "<string>",
    "street_line_1": "<string>",
    "street_line_2": "<string>"
  },
  "suffix": "<string>",
  "tin_last4": "<string>",
  "userdata": {}
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

Unique identifier for object

Response

200 - application/json

The person

account_ids
string[]

Account IDs associated with the Person

address
object
deprecated

Address associated with the Person

bankdata
object

Optional bank data associated with the person

email
string

Email address

first_name
string

Given name of person

id
string

Unique identifier for object

last_name
string

Family name of person

mailing_address
object

The address where the person can receive mail. This is where physical cards will be sent when issued. If this field is null, physical_address will be used instead.

middle_name
string

Middle name of person

phone_number
string

The person's phone number. When necessary, this number will be used for calls or texts related to card activation.

physical_address
object

The address of person's physical location

suffix
string

The person's suffix (e.g. 'Jr.', 'Sr.', 'III'), if applicable

tin_last4
string

Last 4 digits of the person's tax ID (SSN), if available

userdata
object

Optional user data associated with the person