POST
/
apply
/
account_application
curl --request POST \
  --url https://api.treasuryprime.com/apply/account_application \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "account_product_id": "apt_11gqk87qmrax",
  "deposit_id": "adpt_01d5w6xx0tvs",
  "person_applications": [
    {
      "id": "apsn_01d5w6yaa6vt",
      "roles": [
        "owner",
        "signer"
      ]
    }
  ],
  "primary_person_application_id": "apsn_01d5w6yaa6vt"
}'
{
  "account_id": null,
  "account_number_reservation_id": null,
  "account_product_id": "apt_11gqk87qmrax",
  "bankdata": null,
  "business_application_id": null,
  "created_at": "2019-03-15T11:55:14Z",
  "deposit_id": "adpt_01d5w6xx0tvs",
  "id": "aact_01d5w6xb72vr",
  "person_applications": [
    {
      "id": "apsn_01d5w6yaa6vt",
      "roles": [
        "owner",
        "signer"
      ]
    }
  ],
  "primary_person_application_id": "apsn_01d5w6yaa6vt",
  "status": "submitted",
  "updated_at": "2019-03-15T11: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.account-application to create
primary_person_application_id
string
required

ID of the Person Application object representing the primary person applicant

account_number_reservation_id
string
deprecated

Optional ID of an Account Reservation object that allocates an account number. By default, the account number is generated when a new account is created

account_product_id
string

ID of an Account Product object that determines what kind of account is created. Filterable.

bankdata
object

Optional arbitrary data that can be attached for the bank's use

business_application_id
string

ID of the Business Application object for the business applying for the account. Only needed for business accounts

deposit_id
string

ID of the Deposit object that defines the initial funding deposit for the new account

person_applications
object[]

Array of objects describing persons associated with this account application, including the primary person. Always [] for business accounts

product
string
deprecated

Name of the account product (superseded by account_product_id)

status
string

One of: unsubmitted, submitted, processing, manual_review, rejected, or approved. Indicates the current status of the application as it is evaluated. Filterable.

userdata
object

Optional arbitrary data the user can attach to the object

Response

200 - application/json
The apply.account-application created
account_id
string

ID of the Account object that is created as a result of a successful application. Filterable.

account_number
string

Account number associated with Account object that is created as a result of a successful application

account_number_reservation_id
string
deprecated

Optional ID of an Account Reservation object that allocates an account number. By default, the account number is generated when a new account is created

account_product_id
string

ID of an Account Product object that determines what kind of account is created. Filterable.

bankdata
object

Optional arbitrary data that can be attached for the bank's use

business_application_id
string

ID of the Business Application object for the business applying for the account. Only needed for business accounts

deposit_id
string

ID of the Deposit object that defines the initial funding deposit for the new account

id
string

Unique identifier for object

ownership_type
string

One of: business, personal. Filterable.

person_applications
object[]

Array of objects describing persons associated with this account application, including the primary person. Always [] for business accounts

primary_person_application_id
string

ID of the Person Application object representing the primary person applicant

product
string
deprecated

Name of the account product (superseded by account_product_id)

status
string

One of: unsubmitted, submitted, processing, manual_review, rejected, or approved. Indicates the current status of the application as it is evaluated. Filterable.

userdata
object

Optional arbitrary data the user can attach to the object