Accounts
Create an Account
Create an account for a new or existing account holder. Required fields, eligibility, and initial status depend on the account type, enabled assets, and your correspondent configuration. Account status changes are available through the Account Status Events stream.
To create an account for an existing holder, provide primary_account_holder_id instead of inline holder information. Among the documented account types, existing holders are supported for trading and IRA accounts. Donor-advised accounts instead reference an existing legal entity with entity_id.
post/v1/accounts
Request
- Base URLhttps://broker-api.giftcity.sandbox.in.alpaca.markets
- URLhttps://broker-api.giftcity.sandbox.in.alpaca.markets/v1/accounts
- AuthHTTP basic
Request body
Example request
{
"account_sub_type": "traditional",
"account_type": "trading",
"agreements": [
{
"agreement": "customer_agreement",
"ip_address": "185.13.21.99",
"signed_at": "2019-09-11T18:09:33Z"
}
],
"beneficiaries": [
{
"date_of_birth": "1970-01-01",
"family_name": "Doe",
"given_name": "Jane",
"middle_name": null,
"relationship": "spouse",
"share_pct": "100",
"tax_id": "xxx-xx-xxxx",
"tax_id_type": "USA_SSN",
"type": "primary"
}
],
"cash_interest": {
"USD": {
"apr_tier_name": "gold",
"status": "ACTIVE"
}
},
"contact": {
"city": "San Mateo",
"country": "USA",
"email_address": "john.doe@example.com",
"phone_number": "+15556667788",
"postal_code": "94401",
"state": "CA",
"street_address": [
"20 N San Mateo Dr"
]
},
"disclosures": {
"immediate_family_exposed": false,
"is_affiliated_exchange_or_finra": false,
"is_control_person": false,
"is_politically_exposed": false
},
"documents": [
{
"content": "/9j/Cg==",
"document_sub_type": "passport",
"document_type": "identity_verification",
"mime_type": "image/jpeg"
}
],
"fpsl": {
"US": {
"tier_id": "61e69015-8549-4bfd-b9c3-01e75843f47d"
}
},
"identity": {
"country_of_birth": "AUS",
"country_of_citizenship": "AUS",
"country_of_tax_residence": "USA",
"date_of_birth": "1990-01-01",
"family_name": "Doe",
"funding_source": [
"employment_income"
],
"given_name": "John",
"tax_id": "666-55-4321",
"tax_id_type": "USA_SSN"
},
"minor_identity": {
"tax_id_type": "USA_SSN"
},
"trusted_contact": {
"email_address": "jane.doe@example.com",
"family_name": "Doe",
"given_name": "Jane"
}
}Response
OK
Example response
{
"account_number": "9034005019",
"created_at": "2019-09-30T23:55:31.185998Z",
"currency": "USD",
"id": "0d18ae51-3c94-4511-b209-101e1666416b",
"last_equity": "1500.65",
"primary_account_holder_id": null,
"status": "APPROVED"
}Changes
No recorded changes to this operation across all 1 revision of this API.