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

The body is of type object.

Response

200 - application/json

The apply.account-application created

The response is of type object.