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

The body is of type object.

Response

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

The response is of type object.