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
}
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
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The apply.account-application to create
The body is of type object
.
The apply.account-application created
The response is of type object
.
Was this page helpful?