POST
/
apply
/
person_application
curl --request POST \
  --url https://api.treasuryprime.com/apply/person_application \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "bankdata": {
    "ip_address": "127.0.0.40"
  },
  "citizenship": "US",
  "date_of_birth": "1732-02-22",
  "email_address": "gwash@whitehouse.gov",
  "first_name": "George",
  "last_name": "Washington",
  "occupation": "General",
  "phone_number": "2025551111",
  "physical_address": {
    "city": "Washington",
    "postal_code": "20500",
    "state": "DC",
    "street_line_1": "1600 Pennsylvania Ave"
  },
  "tin": "111222444"
}'
{
  "bankdata": {
    "ip_address": "127.0.0.40"
  },
  "citizenship": "US",
  "created_at": "2019-03-02T11:55:14Z",
  "date_of_birth": "1732-02-22",
  "email_address": "gwash@whitehouse.gov",
  "first_name": "George",
  "id": "apsn_01d5w7mvmwvy",
  "identification_number": null,
  "identification_number_type": null,
  "last_name": "Washington",
  "middle_name": null,
  "occupation": "General",
  "person_id": null,
  "phone_number": "2025551111",
  "physical_address": {
    "city": "Washington",
    "country": "US",
    "postal_code": "20500",
    "state": "DC",
    "street_line_1": "1600 Pennsylvania Ave",
    "street_line_2": null
  },
  "updated_at": "2019-03-02T11:55:14Z",
  "userdata": null
}

Authorizations

Authorization
string
header
required

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

Body

application/json
The apply.person-application to create
email_address
string
required

Email address of the person

first_name
string
required

First (given) name of the person (max of 36 ASCII characters)

last_name
string
required

Last name (surname) of the person (max of 40 ASCII characters)

bankdata
object

Optional arbitrary data the bank can attach to the object

citizenship
string

Two letter ISO country code indicating where this person has citizenship

date_of_birth
string

Date of birth of the person, ISO 8601 format ('YYYY-MM-DD')

document_ids
string[]

Array of Document IDs pertaining to this person

gov_id
string
deprecated
identification_number
string

International identification number (max of 30 characters)

identification_number_type
string

Type of international identification number (max of 30 characters)

mailing_address
object

Object representing the person's mailing address

middle_name
string

Middle name or initial of the person, if they have one

occupation
string

Occupation of the person

phone_number
string

Phone number of the person

physical_address
object

Object representing the person's home address. Required for virutal ledger and some core direct integrations

secondary_email_address
string

Optional secondary email address of the person

tin
string

U.S. Social Security or IRS tax ID number of the person

userdata
object

Optional arbitrary data the user can attach to the object

Response

200 - application/json
The apply.person-application created
bankdata
object

Optional arbitrary data the bank can attach to the object

citizenship
string

Two letter ISO country code indicating where this person has citizenship

date_of_birth
string

Date of birth of the person, ISO 8601 format ('YYYY-MM-DD')

document_ids
string[]

Array of Document IDs pertaining to this person

email_address
string

Email address of the person

first_name
string

First (given) name of the person (max of 36 ASCII characters)

gov_id
string
deprecated
id
string

Unique identifier for object

identification_number
string

International identification number (max of 30 characters)

identification_number_type
string

Type of international identification number (max of 30 characters)

last_name
string

Last name (surname) of the person (max of 40 ASCII characters)

mailing_address
object

Object representing the person's mailing address

middle_name
string

Middle name or initial of the person, if they have one

occupation
string

Occupation of the person

person_id
string

ID of the person object created as a result of a successful account application

phone_number
string

Phone number of the person

physical_address
object

Object representing the person's home address. Required for virutal ledger and some core direct integrations

secondary_email_address
string

Optional secondary email address of the person

tin
string

U.S. Social Security or IRS tax ID number of the person

userdata
object

Optional arbitrary data the user can attach to the object