Account Opening
resourcesopenapi-apply.json
{
"components": {
"securitySchemes": {
"apiKey": {
"bearerFormat": "JWT",
"scheme": "bearer",
"type": "http"
},
"basicAuth": {
"scheme": "basic",
"type": "http"
}
}
},
"info": {
"contact": {
"email": "[email protected]",
"name": "Treasury Prime Support",
"url": "https://support.treasuryprime.com"
},
"summary": "Banking APIs",
"termsOfService": "https://www.treasuryprime.com/policy/terms",
"title": "Account Opening",
"version": "1.16.137-gec7bd54b"
},
"openapi": "3.1.0",
"paths": {
"/account_product": {
"get": {
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"data": [
{
"account_type": "checking",
"created_at": "2021-10-27T18:56:55Z",
"id": "apt_11gqk87qmrax",
"name": "Personal checking",
"ownership": "personal",
"updated_at": "2021-10-27T18:56:55Z",
"userdata": null
}
]
}
}
},
"schema": {
"properties": {
"data": {
"items": {
"properties": {
"account_type": {
"description": "The type of account, such as `checking` or `savings`. Filterable.",
"type": "string"
},
"business_kyc_product_id": {
"description": "ID of the KYC Product used to evaluate business applications",
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"name": {
"description": "Descriptive name of the account product. Filterable.",
"type": "string"
},
"ownership": {
"description": "One of `business` or `personal`. Filterable.",
"type": "string"
},
"person_kyc_product_id": {
"description": "ID of the KYC Product used to evaluate person applications",
"type": "string"
},
"userdata": {
"description": "Optional arbitrary data the user can attach to the object",
"type": "object"
}
}
},
"type": "array"
},
"description": "Array of objects"
},
"type": "object"
}
}
},
"description": "A list of account_product elements"
}
},
"summary": "List Account Products",
"tags": [
"Account Product"
]
}
},
"/account_product/{id}": {
"get": {
"parameters": [
{
"description": "Unique identifier for object",
"in": "path",
"name": "id",
"required": true,
"schema": {
"description": "Unique identifier for object",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"account_type": "checking",
"created_at": "2021-10-27T18:56:55Z",
"id": "apt_11gqk87qmrax",
"name": "Personal checking",
"ownership": "personal",
"updated_at": "2021-10-27T18:56:55Z",
"userdata": null
}
}
},
"schema": {
"properties": {
"account_type": {
"description": "The type of account, such as `checking` or `savings`. Filterable.",
"type": "string"
},
"business_kyc_product_id": {
"description": "ID of the KYC Product used to evaluate business applications",
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"name": {
"description": "Descriptive name of the account product. Filterable.",
"type": "string"
},
"ownership": {
"description": "One of `business` or `personal`. Filterable.",
"type": "string"
},
"person_kyc_product_id": {
"description": "ID of the KYC Product used to evaluate person applications",
"type": "string"
},
"userdata": {
"description": "Optional arbitrary data the user can attach to the object",
"type": "object"
}
}
}
}
},
"description": "The account_product"
}
},
"summary": "Fetch an Account Product",
"tags": [
"Account Product"
]
}
},
"/apply/account_application": {
"get": {
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"data": [
{
"account_id": null,
"account_number_reservation_id": null,
"account_product_id": "apt_11gqk87qmrax",
"bankdata": null,
"business_application_id": "abus_01dcrqkr3yhw",
"created_at": "2019-03-15T11:55:14Z",
"deposit_id": "adpt_01d5wgg8js",
"id": "aact_01jkw68sjab33",
"person_applications": [],
"primary_person_application_id": "apsn_01d5w6yaa6vt",
"status": "submitted",
"updated_at": "2019-03-15T11:55:14Z",
"userdata": null
},
{
"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
}
]
}
}
},
"schema": {
"properties": {
"data": {
"items": {
"properties": {
"account_id": {
"description": "ID of the Account object that is created as a result of a successful application. Filterable.",
"type": "string"
},
"account_number": {
"description": "Account number associated with Account object that is created as a result of a successful application",
"type": "string"
},
"account_number_reservation_id": {
"deprecated": true,
"description": "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",
"type": "string"
},
"account_product_id": {
"description": "ID of an Account Product object that determines what kind of account is created. Filterable.",
"type": "string"
},
"bankdata": {
"description": "Optional arbitrary data that can be attached for the bank's use",
"type": "object"
},
"business_application_id": {
"description": "ID of the Business Application object for the business applying for the account. Only needed for business accounts",
"type": "string"
},
"deposit_id": {
"description": "ID of the Deposit object that defines the initial funding deposit for the new account",
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"ownership_type": {
"description": "One of: `business`, `personal`. Filterable.",
"type": "string"
},
"person_applications": {
"description": "Array of objects describing persons associated with this account application, including the primary person. Always `[]` for business accounts",
"items": {
"properties": {
"id": {
"description": "Person application ID",
"type": "string"
},
"roles": {
"description": "List of applicant's special roles, if any. Valid roles are `owner`, `signer`, and `minor`. The `minor` role is used to indicate a person who is a beneficary but not of legal age to be a signer",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"primary_person_application_id": {
"description": "ID of the Person Application object representing the primary person applicant",
"type": "string"
},
"product": {
"deprecated": true,
"description": "Name of the account product (superseded by `account_product_id`)",
"type": "string"
},
"status": {
"description": "One of: `unsubmitted`, `submitted`, `processing`, `manual_review`, `rejected`, or `approved`. Indicates the current status of the application as it is evaluated. Filterable.",
"type": "string"
},
"userdata": {
"description": "Optional arbitrary data the user can attach to the object",
"type": "object"
}
}
},
"type": "array"
},
"description": "Array of objects"
},
"type": "object"
}
}
},
"description": "A list of apply.account-application elements"
}
},
"summary": "List Account Applications",
"tags": [
"Account Application"
]
},
"post": {
"requestBody": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Personal",
"value": {
"account_product_id": "apt_11gqk87qmrax",
"deposit_id": "adpt_01d5w6xx0tvs",
"person_applications": [
{
"id": "apsn_01d5w6yaa6vt",
"roles": [
"owner",
"signer"
]
}
],
"primary_person_application_id": "apsn_01d5w6yaa6vt"
}
}
},
"schema": {
"properties": {
"account_number_reservation_id": {
"deprecated": true,
"description": "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",
"type": "string"
},
"account_product_id": {
"description": "ID of an Account Product object that determines what kind of account is created. Filterable.",
"type": "string"
},
"bankdata": {
"description": "Optional arbitrary data that can be attached for the bank's use",
"type": "object"
},
"business_application_id": {
"description": "ID of the Business Application object for the business applying for the account. Only needed for business accounts",
"type": "string"
},
"deposit_id": {
"description": "ID of the Deposit object that defines the initial funding deposit for the new account",
"type": "string"
},
"person_applications": {
"description": "Array of objects describing persons associated with this account application, including the primary person. Always `[]` for business accounts",
"items": {
"properties": {
"id": {
"description": "Person application ID",
"type": "string"
},
"roles": {
"description": "List of applicant's special roles, if any. Valid roles are `owner`, `signer`, and `minor`. The `minor` role is used to indicate a person who is a beneficary but not of legal age to be a signer",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"primary_person_application_id": {
"description": "ID of the Person Application object representing the primary person applicant",
"type": "string"
},
"product": {
"deprecated": true,
"description": "Name of the account product (superseded by `account_product_id`)",
"type": "string"
},
"status": {
"description": "One of: `unsubmitted`, `submitted`, `processing`, `manual_review`, `rejected`, or `approved`. Indicates the current status of the application as it is evaluated. Filterable.",
"type": "string"
},
"userdata": {
"description": "Optional arbitrary data the user can attach to the object",
"type": "object"
}
},
"required": [
"primary_person_application_id",
"id"
]
}
}
},
"description": "The apply.account-application to create",
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Personal",
"value": {
"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
}
}
},
"schema": {
"properties": {
"account_id": {
"description": "ID of the Account object that is created as a result of a successful application. Filterable.",
"type": "string"
},
"account_number": {
"description": "Account number associated with Account object that is created as a result of a successful application",
"type": "string"
},
"account_number_reservation_id": {
"deprecated": true,
"description": "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",
"type": "string"
},
"account_product_id": {
"description": "ID of an Account Product object that determines what kind of account is created. Filterable.",
"type": "string"
},
"bankdata": {
"description": "Optional arbitrary data that can be attached for the bank's use",
"type": "object"
},
"business_application_id": {
"description": "ID of the Business Application object for the business applying for the account. Only needed for business accounts",
"type": "string"
},
"deposit_id": {
"description": "ID of the Deposit object that defines the initial funding deposit for the new account",
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"ownership_type": {
"description": "One of: `business`, `personal`. Filterable.",
"type": "string"
},
"person_applications": {
"description": "Array of objects describing persons associated with this account application, including the primary person. Always `[]` for business accounts",
"items": {
"properties": {
"id": {
"description": "Person application ID",
"type": "string"
},
"roles": {
"description": "List of applicant's special roles, if any. Valid roles are `owner`, `signer`, and `minor`. The `minor` role is used to indicate a person who is a beneficary but not of legal age to be a signer",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"primary_person_application_id": {
"description": "ID of the Person Application object representing the primary person applicant",
"type": "string"
},
"product": {
"deprecated": true,
"description": "Name of the account product (superseded by `account_product_id`)",
"type": "string"
},
"status": {
"description": "One of: `unsubmitted`, `submitted`, `processing`, `manual_review`, `rejected`, or `approved`. Indicates the current status of the application as it is evaluated. Filterable.",
"type": "string"
},
"userdata": {
"description": "Optional arbitrary data the user can attach to the object",
"type": "object"
}
}
}
}
},
"description": "The apply.account-application created"
}
},
"summary": "Create an Account Application",
"tags": [
"Account Application"
]
}
},
"/apply/account_application/{id}": {
"get": {
"parameters": [
{
"description": "Unique identifier for object",
"in": "path",
"name": "id",
"required": true,
"schema": {
"description": "Unique identifier for object",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"account_id": null,
"account_number_reservation_id": null,
"account_product_id": "apt_11gqk87qmrax",
"bankdata": null,
"business_application_id": "abus_01dcrqkr3yhw",
"created_at": "2019-03-15T11:55:14Z",
"deposit_id": "adpt_01d5wgg8js",
"id": "aact_01jkw68sjab33",
"person_applications": [],
"primary_person_application_id": "apsn_01d5w6yaa6vt",
"status": "submitted",
"updated_at": "2019-03-15T11:55:14Z",
"userdata": null
}
}
},
"schema": {
"properties": {
"account_id": {
"description": "ID of the Account object that is created as a result of a successful application. Filterable.",
"type": "string"
},
"account_number": {
"description": "Account number associated with Account object that is created as a result of a successful application",
"type": "string"
},
"account_number_reservation_id": {
"deprecated": true,
"description": "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",
"type": "string"
},
"account_product_id": {
"description": "ID of an Account Product object that determines what kind of account is created. Filterable.",
"type": "string"
},
"bankdata": {
"description": "Optional arbitrary data that can be attached for the bank's use",
"type": "object"
},
"business_application_id": {
"description": "ID of the Business Application object for the business applying for the account. Only needed for business accounts",
"type": "string"
},
"deposit_id": {
"description": "ID of the Deposit object that defines the initial funding deposit for the new account",
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"ownership_type": {
"description": "One of: `business`, `personal`. Filterable.",
"type": "string"
},
"person_applications": {
"description": "Array of objects describing persons associated with this account application, including the primary person. Always `[]` for business accounts",
"items": {
"properties": {
"id": {
"description": "Person application ID",
"type": "string"
},
"roles": {
"description": "List of applicant's special roles, if any. Valid roles are `owner`, `signer`, and `minor`. The `minor` role is used to indicate a person who is a beneficary but not of legal age to be a signer",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"primary_person_application_id": {
"description": "ID of the Person Application object representing the primary person applicant",
"type": "string"
},
"product": {
"deprecated": true,
"description": "Name of the account product (superseded by `account_product_id`)",
"type": "string"
},
"status": {
"description": "One of: `unsubmitted`, `submitted`, `processing`, `manual_review`, `rejected`, or `approved`. Indicates the current status of the application as it is evaluated. Filterable.",
"type": "string"
},
"userdata": {
"description": "Optional arbitrary data the user can attach to the object",
"type": "object"
}
}
}
}
},
"description": "The apply.account-application"
}
},
"summary": "Fetch an Account Application",
"tags": [
"Account Application"
]
}
},
"/apply/additional_person_application": {
"get": {
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"data": [
{
"account_id": "acct_11fnfr2p45f96m",
"bankdata": {
"ip_address": "127.0.0.40"
},
"created_at": "2019-03-02T11:55:14Z",
"id": "aapa_01d5w7mvmwvy",
"person_application_id": "apsn_01d5w7mvmwvy",
"role": "owner",
"status": "pending",
"updated_at": "2019-03-02T11:55:14Z",
"userdata": null
}
]
}
}
},
"schema": {
"properties": {
"data": {
"items": {
"properties": {
"account_id": {
"description": "ID of the Account to add an additional person",
"type": "string"
},
"bankdata": {
"description": "Arbitrary data attached to the object, for the bank's use",
"type": "object"
},
"id": {
"description": "Unique identifier for the object",
"type": "string"
},
"person_application_id": {
"description": "ID of the Person Application to associate with the Account",
"type": "string"
},
"role": {
"description": "Role to use when associating the Person Application with the Account. Filterable.",
"type": "string"
},
"status": {
"description": "Status of the additional person application. One of `approved`, `error`, `pending`, `processing`, `rejected`, `manual_review`. Filterable.",
"type": "string"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
}
},
"type": "array"
},
"description": "Array of objects"
},
"type": "object"
}
}
},
"description": "A list of apply.additional-person-application elements"
}
},
"summary": "List Additional Person Applications",
"tags": [
"Additional Person"
]
},
"post": {
"requestBody": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"bankdata": {
"ip_address": "127.0.0.40"
},
"person_application_id": "apsn_01d5w7mvmwvy",
"role": "owner"
}
}
},
"schema": {
"properties": {
"account_id": {
"description": "ID of the Account to add an additional person",
"type": "string"
},
"bankdata": {
"description": "Arbitrary data attached to the object, for the bank's use",
"type": "object"
},
"person_application_id": {
"description": "ID of the Person Application to associate with the Account",
"type": "string"
},
"role": {
"description": "Role to use when associating the Person Application with the Account. Filterable.",
"type": "string"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
},
"required": [
"role",
"account_id",
"id",
"person_application_id"
]
}
}
},
"description": "The apply.additional-person-application to create",
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"account_id": "acct_11fnfr2p45f96m",
"bankdata": {
"ip_address": "127.0.0.40"
},
"created_at": "2019-03-02T11:55:14Z",
"id": "aapa_01d5w7mvmwvy",
"person_application_id": "apsn_01d5w7mvmwvy",
"role": "owner",
"status": "pending",
"updated_at": "2019-03-02T11:55:14Z",
"userdata": null
}
}
},
"schema": {
"properties": {
"account_id": {
"description": "ID of the Account to add an additional person",
"type": "string"
},
"bankdata": {
"description": "Arbitrary data attached to the object, for the bank's use",
"type": "object"
},
"id": {
"description": "Unique identifier for the object",
"type": "string"
},
"person_application_id": {
"description": "ID of the Person Application to associate with the Account",
"type": "string"
},
"role": {
"description": "Role to use when associating the Person Application with the Account. Filterable.",
"type": "string"
},
"status": {
"description": "Status of the additional person application. One of `approved`, `error`, `pending`, `processing`, `rejected`, `manual_review`. Filterable.",
"type": "string"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
}
}
}
},
"description": "The apply.additional-person-application created"
}
},
"summary": "Create an Additional Person Application",
"tags": [
"Additional Person"
]
}
},
"/apply/additional_person_application/{id}": {
"get": {
"parameters": [
{
"description": "Unique identifier for the object",
"in": "path",
"name": "id",
"required": true,
"schema": {
"description": "Unique identifier for the object",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"account_id": "acct_11fnfr2p45f96m",
"bankdata": {
"ip_address": "127.0.0.40"
},
"created_at": "2019-03-02T11:55:14Z",
"id": "aapa_01d5w7mvmwvy",
"person_application_id": "apsn_01d5w7mvmwvy",
"role": "owner",
"status": "pending",
"updated_at": "2019-03-02T11:55:14Z",
"userdata": null
}
}
},
"schema": {
"properties": {
"account_id": {
"description": "ID of the Account to add an additional person",
"type": "string"
},
"bankdata": {
"description": "Arbitrary data attached to the object, for the bank's use",
"type": "object"
},
"id": {
"description": "Unique identifier for the object",
"type": "string"
},
"person_application_id": {
"description": "ID of the Person Application to associate with the Account",
"type": "string"
},
"role": {
"description": "Role to use when associating the Person Application with the Account. Filterable.",
"type": "string"
},
"status": {
"description": "Status of the additional person application. One of `approved`, `error`, `pending`, `processing`, `rejected`, `manual_review`. Filterable.",
"type": "string"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
}
}
}
},
"description": "The apply.additional-person-application"
}
},
"summary": "Fetch an Additional Person Application",
"tags": [
"Additional Person"
]
}
},
"/apply/business_application": {
"get": {
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"data": [
{
"bank_id": "bank_anybank",
"bankdata": null,
"created_at": "2019-03-02T11:55:14Z",
"dba": null,
"description": "Our company is engaged in the buying and selling of [...]",
"established_on": "2018-08-01",
"id": "abus_21sen7m398ab",
"identification_number": null,
"identification_number_type": null,
"incorporation_state": "DE",
"legal_structure": "llc",
"mailing_address": {
"city": "Sacramento",
"country": "US",
"postal_code": "95814",
"state": "CA",
"street_line_1": "1300 L St"
},
"naics": "42",
"naics_description": "Wholesale Trade",
"name": "Acme Goods Inc",
"person_applications": [
{
"id": "apsn_01d5w6yaa6vt",
"ownership_percentage": 25,
"roles": [
"signer"
],
"title": "CEO"
},
{
"id": "apsn_0fd62018smsk",
"ownership_percentage": 30,
"roles": [
"control_person",
"signer"
],
"title": "CFO"
}
],
"phone_number": "+1 415-555-1111",
"physical_address": {
"city": "Benicia",
"postal_code": "94510",
"state": "CA",
"street_line_1": "115 W G St"
},
"tin": "11-3344555",
"updated_at": "2019-03-02T11:55:14Z",
"urls": [
"http://example.com"
],
"userdata": null
}
]
}
}
},
"schema": {
"properties": {
"data": {
"items": {
"properties": {
"bank_id": {
"description": "ID of the bank with which the object is associated",
"type": "string"
},
"bankdata": {
"description": "Optional arbitrary data that can be attached for the bank's use",
"type": "object"
},
"dba": {
"description": "Alternate 'Doing Business As' name of the business, if it has one",
"type": "string"
},
"description": {
"description": "Description of the business",
"type": "string"
},
"document_ids": {
"description": "Array of Document IDs pertaining to this business",
"items": {
"type": "string"
},
"type": "array"
},
"established_on": {
"description": "Date that the business was established, ISO 8601 format ('YYYY-MM-DD')",
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"identification_number": {
"description": "International identification number (max of 30 characters)",
"type": "string"
},
"identification_number_type": {
"description": "Type of international identification number (max of 30 characters)",
"type": "string"
},
"incorporation_state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"legal_structure": {
"description": "How the business is legally structured: one of `ccorp`, `corp`, `estate`, `foreign_entity`, `llc`, `llp`, `lp`, `nonprofit`, `partnership`, `scorp`, `soleprop`, `trust`, or `municipality`",
"type": "string"
},
"mailing_address": {
"description": "Object describing the physical address of the business",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"naics": {
"description": "NAICS sector code that describes the industry in which the business operates",
"type": "string"
},
"naics_description": {
"description": "NAICS sector description matching the above NAICS sector code. If 'Other', please use an industry description prefixed with 'Other: '",
"type": "string"
},
"name": {
"description": "Name of the business",
"type": "string"
},
"org_id": {
"description": "ID of the organization with which the object is associated",
"type": "string"
},
"parent_businesses": {
"deprecated": true,
"description": "Array of business IDs pertaining to this business",
"items": {
"properties": {
"id": {
"description": "Parent business application ID",
"type": "string"
},
"ownership_percentage": {
"description": "Ownership percentage of the parent business",
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"person_applications": {
"description": "Array of objects describing person applications associated with this business",
"items": {
"properties": {
"id": {
"description": "Person application ID",
"type": "string"
},
"ownership_percentage": {
"description": "The person's ownership interest in the business, represented as an integer from 0 to 100",
"type": "integer"
},
"roles": {
"description": "List of applicant's roles, if applicable. Valid roles are `signer` and `control_person`",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "Title of the person within the business (e.g. 'Owner', 'CEO', 'Treasurer')",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"phone_number": {
"description": "Phone number of the business",
"type": "string"
},
"physical_address": {
"description": "Object describing the physical address of the business",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"tin": {
"description": "Tax identification number (EIN or other tax ID) for U.S. businesses",
"type": "string"
},
"urls": {
"description": "URLs for the business website(s)",
"items": {
"type": "string"
},
"type": "array"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
}
},
"type": "array"
},
"description": "Array of objects"
},
"type": "object"
}
}
},
"description": "A list of apply.business-application elements"
}
},
"summary": "List Business Applications",
"tags": [
"Business Application"
]
},
"post": {
"requestBody": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"dba": null,
"description": "Our company is engaged in the buying and selling of [...]",
"established_on": "2018-08-01",
"identification_number": null,
"identification_number_type": null,
"incorporation_state": "DE",
"legal_structure": "llc",
"mailing_address": {
"city": "Sacramento",
"country": "US",
"postal_code": "95814",
"state": "CA",
"street_line_1": "1300 L St"
},
"naics": "42",
"naics_description": "Wholesale Trade",
"name": "Acme Goods Inc",
"person_applications": [
{
"id": "apsn_01d5w6yaa6vt",
"ownership_percentage": 25,
"roles": [
"signer"
],
"title": "CEO"
},
{
"id": "apsn_0fd62018smsk",
"ownership_percentage": 30,
"roles": [
"control_person",
"signer"
],
"title": "CFO"
}
],
"phone_number": "+1 415-555-1111",
"physical_address": {
"city": "Benicia",
"postal_code": "94510",
"state": "CA",
"street_line_1": "115 W G St"
},
"tin": "11-3344555",
"urls": [
"http://example.com"
]
}
}
},
"schema": {
"properties": {
"bankdata": {
"description": "Optional arbitrary data that can be attached for the bank's use",
"type": "object"
},
"dba": {
"description": "Alternate 'Doing Business As' name of the business, if it has one",
"type": "string"
},
"description": {
"description": "Description of the business",
"type": "string"
},
"document_ids": {
"description": "Array of Document IDs pertaining to this business",
"items": {
"type": "string"
},
"type": "array"
},
"established_on": {
"description": "Date that the business was established, ISO 8601 format ('YYYY-MM-DD')",
"type": "string"
},
"identification_number": {
"description": "International identification number (max of 30 characters)",
"type": "string"
},
"identification_number_type": {
"description": "Type of international identification number (max of 30 characters)",
"type": "string"
},
"incorporation_state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"legal_structure": {
"description": "How the business is legally structured: one of `ccorp`, `corp`, `estate`, `foreign_entity`, `llc`, `llp`, `lp`, `nonprofit`, `partnership`, `scorp`, `soleprop`, `trust`, or `municipality`",
"type": "string"
},
"mailing_address": {
"description": "Object describing the physical address of the business",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"naics": {
"description": "NAICS sector code that describes the industry in which the business operates",
"type": "string"
},
"naics_description": {
"description": "NAICS sector description matching the above NAICS sector code. If 'Other', please use an industry description prefixed with 'Other: '",
"type": "string"
},
"name": {
"description": "Name of the business",
"type": "string"
},
"parent_businesses": {
"deprecated": true,
"description": "Array of business IDs pertaining to this business",
"items": {
"properties": {
"id": {
"description": "Parent business application ID",
"type": "string"
},
"ownership_percentage": {
"description": "Ownership percentage of the parent business",
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"person_applications": {
"description": "Array of objects describing person applications associated with this business",
"items": {
"properties": {
"id": {
"description": "Person application ID",
"type": "string"
},
"ownership_percentage": {
"description": "The person's ownership interest in the business, represented as an integer from 0 to 100",
"type": "integer"
},
"roles": {
"description": "List of applicant's roles, if applicable. Valid roles are `signer` and `control_person`",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "Title of the person within the business (e.g. 'Owner', 'CEO', 'Treasurer')",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"phone_number": {
"description": "Phone number of the business",
"type": "string"
},
"physical_address": {
"description": "Object describing the physical address of the business",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"tin": {
"description": "Tax identification number (EIN or other tax ID) for U.S. businesses",
"type": "string"
},
"urls": {
"description": "URLs for the business website(s)",
"items": {
"type": "string"
},
"type": "array"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
},
"required": [
"legal_structure",
"name",
"physical_address",
"id",
"person_applications"
]
}
}
},
"description": "The apply.business-application to create",
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"bank_id": "bank_anybank",
"bankdata": null,
"created_at": "2019-03-02T11:55:14Z",
"dba": null,
"description": "Our company is engaged in the buying and selling of [...]",
"established_on": "2018-08-01",
"id": "abus_21sen7m398ab",
"identification_number": null,
"identification_number_type": null,
"incorporation_state": "DE",
"legal_structure": "llc",
"mailing_address": {
"city": "Sacramento",
"country": "US",
"postal_code": "95814",
"state": "CA",
"street_line_1": "1300 L St"
},
"naics": "42",
"naics_description": "Wholesale Trade",
"name": "Acme Goods Inc",
"person_applications": [
{
"id": "apsn_01d5w6yaa6vt",
"ownership_percentage": 25,
"roles": [
"signer"
],
"title": "CEO"
},
{
"id": "apsn_0fd62018smsk",
"ownership_percentage": 30,
"roles": [
"control_person",
"signer"
],
"title": "CFO"
}
],
"phone_number": "+1 415-555-1111",
"physical_address": {
"city": "Benicia",
"postal_code": "94510",
"state": "CA",
"street_line_1": "115 W G St"
},
"tin": "11-3344555",
"updated_at": "2019-03-02T11:55:14Z",
"urls": [
"http://example.com"
],
"userdata": null
}
}
},
"schema": {
"properties": {
"bank_id": {
"description": "ID of the bank with which the object is associated",
"type": "string"
},
"bankdata": {
"description": "Optional arbitrary data that can be attached for the bank's use",
"type": "object"
},
"dba": {
"description": "Alternate 'Doing Business As' name of the business, if it has one",
"type": "string"
},
"description": {
"description": "Description of the business",
"type": "string"
},
"document_ids": {
"description": "Array of Document IDs pertaining to this business",
"items": {
"type": "string"
},
"type": "array"
},
"established_on": {
"description": "Date that the business was established, ISO 8601 format ('YYYY-MM-DD')",
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"identification_number": {
"description": "International identification number (max of 30 characters)",
"type": "string"
},
"identification_number_type": {
"description": "Type of international identification number (max of 30 characters)",
"type": "string"
},
"incorporation_state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"legal_structure": {
"description": "How the business is legally structured: one of `ccorp`, `corp`, `estate`, `foreign_entity`, `llc`, `llp`, `lp`, `nonprofit`, `partnership`, `scorp`, `soleprop`, `trust`, or `municipality`",
"type": "string"
},
"mailing_address": {
"description": "Object describing the physical address of the business",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"naics": {
"description": "NAICS sector code that describes the industry in which the business operates",
"type": "string"
},
"naics_description": {
"description": "NAICS sector description matching the above NAICS sector code. If 'Other', please use an industry description prefixed with 'Other: '",
"type": "string"
},
"name": {
"description": "Name of the business",
"type": "string"
},
"org_id": {
"description": "ID of the organization with which the object is associated",
"type": "string"
},
"parent_businesses": {
"deprecated": true,
"description": "Array of business IDs pertaining to this business",
"items": {
"properties": {
"id": {
"description": "Parent business application ID",
"type": "string"
},
"ownership_percentage": {
"description": "Ownership percentage of the parent business",
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"person_applications": {
"description": "Array of objects describing person applications associated with this business",
"items": {
"properties": {
"id": {
"description": "Person application ID",
"type": "string"
},
"ownership_percentage": {
"description": "The person's ownership interest in the business, represented as an integer from 0 to 100",
"type": "integer"
},
"roles": {
"description": "List of applicant's roles, if applicable. Valid roles are `signer` and `control_person`",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "Title of the person within the business (e.g. 'Owner', 'CEO', 'Treasurer')",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"phone_number": {
"description": "Phone number of the business",
"type": "string"
},
"physical_address": {
"description": "Object describing the physical address of the business",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"tin": {
"description": "Tax identification number (EIN or other tax ID) for U.S. businesses",
"type": "string"
},
"urls": {
"description": "URLs for the business website(s)",
"items": {
"type": "string"
},
"type": "array"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
}
}
}
},
"description": "The apply.business-application created"
}
},
"summary": "Create a Business Application",
"tags": [
"Business Application"
]
}
},
"/apply/business_application/{id}": {
"get": {
"parameters": [
{
"description": "Unique identifier for object",
"in": "path",
"name": "id",
"required": true,
"schema": {
"description": "Unique identifier for object",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"bank_id": "bank_anybank",
"bankdata": null,
"created_at": "2019-03-02T11:55:14Z",
"dba": null,
"description": "Our company is engaged in the buying and selling of [...]",
"established_on": "2018-08-01",
"id": "abus_21sen7m398ab",
"identification_number": null,
"identification_number_type": null,
"incorporation_state": "DE",
"legal_structure": "llc",
"mailing_address": {
"city": "Sacramento",
"country": "US",
"postal_code": "95814",
"state": "CA",
"street_line_1": "1300 L St"
},
"naics": "42",
"naics_description": "Wholesale Trade",
"name": "Acme Goods Inc",
"person_applications": [
{
"id": "apsn_01d5w6yaa6vt",
"ownership_percentage": 25,
"roles": [
"signer"
],
"title": "CEO"
},
{
"id": "apsn_0fd62018smsk",
"ownership_percentage": 30,
"roles": [
"control_person",
"signer"
],
"title": "CFO"
}
],
"phone_number": "+1 415-555-1111",
"physical_address": {
"city": "Benicia",
"postal_code": "94510",
"state": "CA",
"street_line_1": "115 W G St"
},
"tin": "11-3344555",
"updated_at": "2019-03-02T11:55:14Z",
"urls": [
"http://example.com"
],
"userdata": null
}
}
},
"schema": {
"properties": {
"bank_id": {
"description": "ID of the bank with which the object is associated",
"type": "string"
},
"bankdata": {
"description": "Optional arbitrary data that can be attached for the bank's use",
"type": "object"
},
"dba": {
"description": "Alternate 'Doing Business As' name of the business, if it has one",
"type": "string"
},
"description": {
"description": "Description of the business",
"type": "string"
},
"document_ids": {
"description": "Array of Document IDs pertaining to this business",
"items": {
"type": "string"
},
"type": "array"
},
"established_on": {
"description": "Date that the business was established, ISO 8601 format ('YYYY-MM-DD')",
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"identification_number": {
"description": "International identification number (max of 30 characters)",
"type": "string"
},
"identification_number_type": {
"description": "Type of international identification number (max of 30 characters)",
"type": "string"
},
"incorporation_state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"legal_structure": {
"description": "How the business is legally structured: one of `ccorp`, `corp`, `estate`, `foreign_entity`, `llc`, `llp`, `lp`, `nonprofit`, `partnership`, `scorp`, `soleprop`, `trust`, or `municipality`",
"type": "string"
},
"mailing_address": {
"description": "Object describing the physical address of the business",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"naics": {
"description": "NAICS sector code that describes the industry in which the business operates",
"type": "string"
},
"naics_description": {
"description": "NAICS sector description matching the above NAICS sector code. If 'Other', please use an industry description prefixed with 'Other: '",
"type": "string"
},
"name": {
"description": "Name of the business",
"type": "string"
},
"org_id": {
"description": "ID of the organization with which the object is associated",
"type": "string"
},
"parent_businesses": {
"deprecated": true,
"description": "Array of business IDs pertaining to this business",
"items": {
"properties": {
"id": {
"description": "Parent business application ID",
"type": "string"
},
"ownership_percentage": {
"description": "Ownership percentage of the parent business",
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"person_applications": {
"description": "Array of objects describing person applications associated with this business",
"items": {
"properties": {
"id": {
"description": "Person application ID",
"type": "string"
},
"ownership_percentage": {
"description": "The person's ownership interest in the business, represented as an integer from 0 to 100",
"type": "integer"
},
"roles": {
"description": "List of applicant's roles, if applicable. Valid roles are `signer` and `control_person`",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "Title of the person within the business (e.g. 'Owner', 'CEO', 'Treasurer')",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"phone_number": {
"description": "Phone number of the business",
"type": "string"
},
"physical_address": {
"description": "Object describing the physical address of the business",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"tin": {
"description": "Tax identification number (EIN or other tax ID) for U.S. businesses",
"type": "string"
},
"urls": {
"description": "URLs for the business website(s)",
"items": {
"type": "string"
},
"type": "array"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
}
}
}
},
"description": "The apply.business-application"
}
},
"summary": "Fetch a Business Application",
"tags": [
"Business Application"
]
},
"patch": {
"parameters": [
{
"description": "Unique identifier for object",
"in": "path",
"name": "id",
"required": true,
"schema": {
"description": "Unique identifier for object",
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Update phone number",
"value": {
"phone_number": "4155552222"
}
}
},
"schema": {
"properties": {
"bankdata": {
"description": "Optional arbitrary data that can be attached for the bank's use",
"type": "object"
},
"dba": {
"description": "Alternate 'Doing Business As' name of the business, if it has one",
"type": "string"
},
"description": {
"description": "Description of the business",
"type": "string"
},
"document_ids": {
"description": "Array of Document IDs pertaining to this business",
"items": {
"type": "string"
},
"type": "array"
},
"established_on": {
"description": "Date that the business was established, ISO 8601 format ('YYYY-MM-DD')",
"type": "string"
},
"identification_number": {
"description": "International identification number (max of 30 characters)",
"type": "string"
},
"identification_number_type": {
"description": "Type of international identification number (max of 30 characters)",
"type": "string"
},
"incorporation_state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"legal_structure": {
"description": "How the business is legally structured: one of `ccorp`, `corp`, `estate`, `foreign_entity`, `llc`, `llp`, `lp`, `nonprofit`, `partnership`, `scorp`, `soleprop`, `trust`, or `municipality`",
"type": "string"
},
"mailing_address": {
"description": "Object describing the physical address of the business",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"naics": {
"description": "NAICS sector code that describes the industry in which the business operates",
"type": "string"
},
"naics_description": {
"description": "NAICS sector description matching the above NAICS sector code. If 'Other', please use an industry description prefixed with 'Other: '",
"type": "string"
},
"name": {
"description": "Name of the business",
"type": "string"
},
"parent_businesses": {
"deprecated": true,
"description": "Array of business IDs pertaining to this business",
"items": {
"properties": {
"id": {
"description": "Parent business application ID",
"type": "string"
},
"ownership_percentage": {
"description": "Ownership percentage of the parent business",
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"person_applications": {
"description": "Array of objects describing person applications associated with this business",
"items": {
"properties": {
"id": {
"description": "Person application ID",
"type": "string"
},
"ownership_percentage": {
"description": "The person's ownership interest in the business, represented as an integer from 0 to 100",
"type": "integer"
},
"roles": {
"description": "List of applicant's roles, if applicable. Valid roles are `signer` and `control_person`",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "Title of the person within the business (e.g. 'Owner', 'CEO', 'Treasurer')",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"phone_number": {
"description": "Phone number of the business",
"type": "string"
},
"physical_address": {
"description": "Object describing the physical address of the business",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"tin": {
"description": "Tax identification number (EIN or other tax ID) for U.S. businesses",
"type": "string"
},
"urls": {
"description": "URLs for the business website(s)",
"items": {
"type": "string"
},
"type": "array"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
}
}
}
},
"description": "The apply.business-application to update",
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"bank_id": "bank_anybank",
"bankdata": null,
"created_at": "2019-03-02T11:55:14Z",
"dba": null,
"description": "Our company is engaged in the buying and selling of [...]",
"established_on": "2018-08-01",
"id": "abus_21sen7m398ab",
"identification_number": null,
"identification_number_type": null,
"incorporation_state": "DE",
"legal_structure": "llc",
"mailing_address": {
"city": "Sacramento",
"country": "US",
"postal_code": "95814",
"state": "CA",
"street_line_1": "1300 L St"
},
"naics": "42",
"naics_description": "Wholesale Trade",
"name": "Acme Goods Inc",
"person_applications": [
{
"id": "apsn_01d5w6yaa6vt",
"ownership_percentage": 25,
"roles": [
"signer"
],
"title": "CEO"
},
{
"id": "apsn_0fd62018smsk",
"ownership_percentage": 30,
"roles": [
"control_person",
"signer"
],
"title": "CFO"
}
],
"phone_number": "4155552222",
"physical_address": {
"city": "Benicia",
"postal_code": "94510",
"state": "CA",
"street_line_1": "115 W G St"
},
"tin": "11-3344555",
"updated_at": "2019-03-02T11:55:14Z",
"urls": [
"http://example.com"
],
"userdata": null
}
}
},
"schema": {
"properties": {
"bank_id": {
"description": "ID of the bank with which the object is associated",
"type": "string"
},
"bankdata": {
"description": "Optional arbitrary data that can be attached for the bank's use",
"type": "object"
},
"dba": {
"description": "Alternate 'Doing Business As' name of the business, if it has one",
"type": "string"
},
"description": {
"description": "Description of the business",
"type": "string"
},
"document_ids": {
"description": "Array of Document IDs pertaining to this business",
"items": {
"type": "string"
},
"type": "array"
},
"established_on": {
"description": "Date that the business was established, ISO 8601 format ('YYYY-MM-DD')",
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"identification_number": {
"description": "International identification number (max of 30 characters)",
"type": "string"
},
"identification_number_type": {
"description": "Type of international identification number (max of 30 characters)",
"type": "string"
},
"incorporation_state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"legal_structure": {
"description": "How the business is legally structured: one of `ccorp`, `corp`, `estate`, `foreign_entity`, `llc`, `llp`, `lp`, `nonprofit`, `partnership`, `scorp`, `soleprop`, `trust`, or `municipality`",
"type": "string"
},
"mailing_address": {
"description": "Object describing the physical address of the business",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"naics": {
"description": "NAICS sector code that describes the industry in which the business operates",
"type": "string"
},
"naics_description": {
"description": "NAICS sector description matching the above NAICS sector code. If 'Other', please use an industry description prefixed with 'Other: '",
"type": "string"
},
"name": {
"description": "Name of the business",
"type": "string"
},
"org_id": {
"description": "ID of the organization with which the object is associated",
"type": "string"
},
"parent_businesses": {
"deprecated": true,
"description": "Array of business IDs pertaining to this business",
"items": {
"properties": {
"id": {
"description": "Parent business application ID",
"type": "string"
},
"ownership_percentage": {
"description": "Ownership percentage of the parent business",
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"person_applications": {
"description": "Array of objects describing person applications associated with this business",
"items": {
"properties": {
"id": {
"description": "Person application ID",
"type": "string"
},
"ownership_percentage": {
"description": "The person's ownership interest in the business, represented as an integer from 0 to 100",
"type": "integer"
},
"roles": {
"description": "List of applicant's roles, if applicable. Valid roles are `signer` and `control_person`",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "Title of the person within the business (e.g. 'Owner', 'CEO', 'Treasurer')",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"phone_number": {
"description": "Phone number of the business",
"type": "string"
},
"physical_address": {
"description": "Object describing the physical address of the business",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"tin": {
"description": "Tax identification number (EIN or other tax ID) for U.S. businesses",
"type": "string"
},
"urls": {
"description": "URLs for the business website(s)",
"items": {
"type": "string"
},
"type": "array"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
}
}
}
},
"description": "The apply.business-application updated"
}
},
"summary": "Update a Business Application",
"tags": [
"Business Application"
]
}
},
"/apply/deposit": {
"get": {
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"data": [
{
"ach": {
"account_type": "checking",
"last4": "2109",
"routing_number": "123456789"
},
"amount": "100.00",
"card": null,
"card_token": null,
"created_at": "2019-03-02T11:53:55Z",
"id": "adpt_01d5wcysg3vz",
"name_on_account": "George Washington",
"updated_at": "2019-03-02T11:53:55Z",
"userdata": null
}
]
}
}
},
"schema": {
"properties": {
"data": {
"items": {
"properties": {
"ach": {
"description": "ACH payment instructions",
"properties": {
"account_type": {
"description": "One of `checking` or `savings`",
"type": "string"
},
"routing_number": {
"description": "ABA routing transit number associated with the account",
"type": "string"
}
},
"type": "object"
},
"amount": {
"description": "Amount of money to transfer",
"pattern": "^-?[0-9]+[.][0-9][0-9]$",
"type": "string"
},
"card": {
"deprecated": true,
"description": "Debit card payment instructions",
"properties": {
},
"type": "object"
},
"card_token": {
"description": "Tokenized debit card payment instructions",
"properties": {
"description": {
"description": "Description to use when posting the transaction to the virtual ledger",
"type": "string"
},
"first_name": {
"description": "First name of the card holder",
"type": "string"
},
"last_name": {
"description": "Last name of the card holder",
"type": "string"
},
"token": {
"description": "Token representing the card",
"type": "string"
}
},
"type": "object"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"name_on_account": {
"description": "Name of the owner of the account providing the deposit",
"type": "string"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
}
},
"type": "array"
},
"description": "Array of objects"
},
"type": "object"
}
}
},
"description": "A list of apply.deposit elements"
}
},
"summary": "List Deposits",
"tags": [
"Deposit"
]
},
"post": {
"requestBody": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"ach": {
"account_number": "98765432109",
"account_type": "checking",
"routing_number": "123456789"
},
"amount": "100.00",
"name_on_account": "George Washington"
}
}
},
"schema": {
"properties": {
"ach": {
"description": "ACH payment instructions",
"properties": {
"account_type": {
"description": "One of `checking` or `savings`",
"type": "string"
},
"routing_number": {
"description": "ABA routing transit number associated with the account",
"type": "string"
}
},
"type": "object"
},
"amount": {
"description": "Amount of money to transfer",
"pattern": "^-?[0-9]+[.][0-9][0-9]$",
"type": "string"
},
"card": {
"deprecated": true,
"description": "Debit card payment instructions",
"properties": {
},
"type": "object"
},
"card_token": {
"description": "Tokenized debit card payment instructions",
"properties": {
"description": {
"description": "Description to use when posting the transaction to the virtual ledger",
"type": "string"
},
"first_name": {
"description": "First name of the card holder",
"type": "string"
},
"last_name": {
"description": "Last name of the card holder",
"type": "string"
},
"token": {
"description": "Token representing the card",
"type": "string"
}
},
"type": "object"
},
"name_on_account": {
"description": "Name of the owner of the account providing the deposit",
"type": "string"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
},
"required": [
"amount",
"name_on_account",
"id"
]
}
}
},
"description": "The apply.deposit to create",
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"ach": {
"account_type": "checking",
"last4": "2109",
"routing_number": "123456789"
},
"amount": "100.00",
"card": null,
"card_token": null,
"created_at": "2019-03-02T11:53:55Z",
"id": "adpt_01d5wcysg3vz",
"name_on_account": "George Washington",
"updated_at": "2019-03-02T11:53:55Z",
"userdata": null
}
}
},
"schema": {
"properties": {
"ach": {
"description": "ACH payment instructions",
"properties": {
"account_type": {
"description": "One of `checking` or `savings`",
"type": "string"
},
"routing_number": {
"description": "ABA routing transit number associated with the account",
"type": "string"
}
},
"type": "object"
},
"amount": {
"description": "Amount of money to transfer",
"pattern": "^-?[0-9]+[.][0-9][0-9]$",
"type": "string"
},
"card": {
"deprecated": true,
"description": "Debit card payment instructions",
"properties": {
},
"type": "object"
},
"card_token": {
"description": "Tokenized debit card payment instructions",
"properties": {
"description": {
"description": "Description to use when posting the transaction to the virtual ledger",
"type": "string"
},
"first_name": {
"description": "First name of the card holder",
"type": "string"
},
"last_name": {
"description": "Last name of the card holder",
"type": "string"
},
"token": {
"description": "Token representing the card",
"type": "string"
}
},
"type": "object"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"name_on_account": {
"description": "Name of the owner of the account providing the deposit",
"type": "string"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
}
}
}
},
"description": "The apply.deposit created"
}
},
"summary": "Create a Deposit",
"tags": [
"Deposit"
]
}
},
"/apply/deposit/{id}": {
"get": {
"parameters": [
{
"description": "Unique identifier for object",
"in": "path",
"name": "id",
"required": true,
"schema": {
"description": "Unique identifier for object",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"ach": {
"account_type": "checking",
"last4": "2109",
"routing_number": "123456789"
},
"amount": "100.00",
"card": null,
"card_token": null,
"created_at": "2019-03-02T11:53:55Z",
"id": "adpt_01d5wcysg3vz",
"name_on_account": "George Washington",
"updated_at": "2019-03-02T11:53:55Z",
"userdata": null
}
}
},
"schema": {
"properties": {
"ach": {
"description": "ACH payment instructions",
"properties": {
"account_type": {
"description": "One of `checking` or `savings`",
"type": "string"
},
"routing_number": {
"description": "ABA routing transit number associated with the account",
"type": "string"
}
},
"type": "object"
},
"amount": {
"description": "Amount of money to transfer",
"pattern": "^-?[0-9]+[.][0-9][0-9]$",
"type": "string"
},
"card": {
"deprecated": true,
"description": "Debit card payment instructions",
"properties": {
},
"type": "object"
},
"card_token": {
"description": "Tokenized debit card payment instructions",
"properties": {
"description": {
"description": "Description to use when posting the transaction to the virtual ledger",
"type": "string"
},
"first_name": {
"description": "First name of the card holder",
"type": "string"
},
"last_name": {
"description": "Last name of the card holder",
"type": "string"
},
"token": {
"description": "Token representing the card",
"type": "string"
}
},
"type": "object"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"name_on_account": {
"description": "Name of the owner of the account providing the deposit",
"type": "string"
},
"userdata": {
"description": "Arbitrary data the user can attach to the object",
"type": "object"
}
}
}
}
},
"description": "The apply.deposit"
}
},
"summary": "Fetch a Deposit",
"tags": [
"Deposit"
]
}
},
"/apply/kyc": {
"get": {
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"data": [
{
"alloy": {
"status": "pending"
},
"alloy_full": null,
"apply_true": null,
"created_at": "2019-12-11T20:34:11Z",
"id": "akyc_11f7av5311234",
"kyc_product_id": "akpt_1209bga8she6",
"middesk": null,
"middesk_full": null,
"object_id": "apsn_01d5w6yaa6vt",
"object_type": "person",
"provider": null,
"provider_full": null,
"provider_result": null,
"updated_at": "2019-12-11T20:34:11Z"
}
]
}
}
},
"schema": {
"properties": {
"data": {
"items": {
"properties": {
"alloy": {
"description": "Object containing a summary of the Alloy KYC evaluation (if enabled)",
"type": "object"
},
"alloy_full": {
"description": "Object containing the full response from Alloy (if enabled)",
"type": "object"
},
"apply_type": {
"description": "Type of KYC waterfall. One of: `personal`, `business`. Filterable.",
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"kyc_product_id": {
"description": "ID of the KYC product used to evaluate the object. Filterable.",
"type": "string"
},
"middesk": {
"deprecated": true,
"description": "Object containing a summary of the Middesk KYC evaluation (if enabled)",
"type": "object"
},
"middesk_full": {
"description": "Object containing the full response from Middesk (if enabled)",
"type": "object"
},
"object_id": {
"description": "ID of the object (a person application or business application) for the KYC evaluation. Filterable.",
"type": "string"
},
"object_type": {
"description": "One of: `person`, `business`. Filterable.",
"type": "string"
},
"provider": {
"description": "Name of the KYC provider",
"type": "string"
},
"provider_full": {
"description": "Object containing the full KYC provider's response (if enabled)",
"type": "object"
},
"provider_result": {
"description": "Object containing a summary of the KYC provider's evaluation (if enabled)",
"properties": {
"outcome": {
"description": "Outcome of the evaluation. One of: `ok`, `error`, `pending`",
"type": "string"
}
},
"type": "object"
}
}
},
"type": "array"
},
"description": "Array of objects"
},
"type": "object"
}
}
},
"description": "A list of apply.kyc elements"
}
},
"summary": "List KYC Evaluations",
"tags": [
"KYC"
]
},
"post": {
"requestBody": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Third-Party KYC",
"value": {
"kyc_product_id": "akpt_1209bga8she7",
"object_id": "apsn_01d5w6yaa6vu",
"object_type": "person",
"provider": "\u003Cprovider\u003E",
"provider_full": {
},
"provider_result": {
"outcome": "ok"
}
}
}
},
"schema": {
"properties": {
"kyc_product_id": {
"description": "ID of the KYC product used to evaluate the object. Filterable.",
"type": "string"
},
"object_id": {
"description": "ID of the object (a person application or business application) for the KYC evaluation. Filterable.",
"type": "string"
},
"object_type": {
"description": "One of: `person`, `business`. Filterable.",
"type": "string"
},
"provider": {
"description": "Name of the KYC provider",
"type": "string"
},
"provider_full": {
"description": "Object containing the full KYC provider's response (if enabled)",
"type": "object"
},
"provider_result": {
"description": "Object containing a summary of the KYC provider's evaluation (if enabled)",
"properties": {
"outcome": {
"description": "Outcome of the evaluation. One of: `ok`, `error`, `pending`",
"type": "string"
}
},
"type": "object"
}
},
"required": [
"object_id",
"object_type",
"id"
]
}
}
},
"description": "The apply.kyc to create",
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"alloy": null,
"alloy_full": null,
"apply_true": null,
"created_at": "2019-12-11T20:34:11Z",
"id": "akyc_11f7av5311234",
"kyc_product_id": "akpt_1209bga8she7",
"middesk": null,
"middesk_full": null,
"object_id": "apsn_01d5w6yaa6vu",
"object_type": "person",
"provider": "\u003Cprovider\u003E",
"provider_full": {
},
"provider_result": {
"outcome": "ok"
},
"updated_at": "2019-12-11T20:34:11Z"
}
}
},
"schema": {
"properties": {
"alloy": {
"description": "Object containing a summary of the Alloy KYC evaluation (if enabled)",
"type": "object"
},
"alloy_full": {
"description": "Object containing the full response from Alloy (if enabled)",
"type": "object"
},
"apply_type": {
"description": "Type of KYC waterfall. One of: `personal`, `business`. Filterable.",
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"kyc_product_id": {
"description": "ID of the KYC product used to evaluate the object. Filterable.",
"type": "string"
},
"middesk": {
"deprecated": true,
"description": "Object containing a summary of the Middesk KYC evaluation (if enabled)",
"type": "object"
},
"middesk_full": {
"description": "Object containing the full response from Middesk (if enabled)",
"type": "object"
},
"object_id": {
"description": "ID of the object (a person application or business application) for the KYC evaluation. Filterable.",
"type": "string"
},
"object_type": {
"description": "One of: `person`, `business`. Filterable.",
"type": "string"
},
"provider": {
"description": "Name of the KYC provider",
"type": "string"
},
"provider_full": {
"description": "Object containing the full KYC provider's response (if enabled)",
"type": "object"
},
"provider_result": {
"description": "Object containing a summary of the KYC provider's evaluation (if enabled)",
"properties": {
"outcome": {
"description": "Outcome of the evaluation. One of: `ok`, `error`, `pending`",
"type": "string"
}
},
"type": "object"
}
}
}
}
},
"description": "The apply.kyc created"
}
},
"summary": "Create a KYC Evaluation",
"tags": [
"KYC"
]
}
},
"/apply/kyc/{id}": {
"get": {
"parameters": [
{
"description": "Unique identifier for object",
"in": "path",
"name": "id",
"required": true,
"schema": {
"description": "Unique identifier for object",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"alloy": {
"status": "pending"
},
"alloy_full": null,
"apply_true": null,
"created_at": "2019-12-11T20:34:11Z",
"id": "akyc_11f7av5311234",
"kyc_product_id": "akpt_1209bga8she6",
"middesk": null,
"middesk_full": null,
"object_id": "apsn_01d5w6yaa6vt",
"object_type": "person",
"provider": null,
"provider_full": null,
"provider_result": null,
"updated_at": "2019-12-11T20:34:11Z"
}
}
},
"schema": {
"properties": {
"alloy": {
"description": "Object containing a summary of the Alloy KYC evaluation (if enabled)",
"type": "object"
},
"alloy_full": {
"description": "Object containing the full response from Alloy (if enabled)",
"type": "object"
},
"apply_type": {
"description": "Type of KYC waterfall. One of: `personal`, `business`. Filterable.",
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"kyc_product_id": {
"description": "ID of the KYC product used to evaluate the object. Filterable.",
"type": "string"
},
"middesk": {
"deprecated": true,
"description": "Object containing a summary of the Middesk KYC evaluation (if enabled)",
"type": "object"
},
"middesk_full": {
"description": "Object containing the full response from Middesk (if enabled)",
"type": "object"
},
"object_id": {
"description": "ID of the object (a person application or business application) for the KYC evaluation. Filterable.",
"type": "string"
},
"object_type": {
"description": "One of: `person`, `business`. Filterable.",
"type": "string"
},
"provider": {
"description": "Name of the KYC provider",
"type": "string"
},
"provider_full": {
"description": "Object containing the full KYC provider's response (if enabled)",
"type": "object"
},
"provider_result": {
"description": "Object containing a summary of the KYC provider's evaluation (if enabled)",
"properties": {
"outcome": {
"description": "Outcome of the evaluation. One of: `ok`, `error`, `pending`",
"type": "string"
}
},
"type": "object"
}
}
}
}
},
"description": "The apply.kyc"
}
},
"summary": "Fetch a KYC Evaluation",
"tags": [
"KYC"
]
}
},
"/apply/kyc_product": {
"get": {
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"data": [
{
"created_at": "2019-12-11T20:34:11Z",
"id": "akpt_1209bga8she6",
"name": "product_0",
"object_type": "person",
"updated_at": "2019-12-11T20:34:11Z"
}
]
}
}
},
"schema": {
"properties": {
"data": {
"items": {
"properties": {
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"is_default": {
"description": "Whether this KYC product should run by default if none is specified",
"type": "boolean"
},
"name": {
"description": "Name of the KYC product. Filterable.",
"type": "string"
},
"object_type": {
"description": "The type of application upon which the KYC product can be run. One of: `person`, `business`. Filterable.",
"type": "string"
},
"org_id": {
"description": "ID of the organization that owns the KYC product",
"type": "string"
}
}
},
"type": "array"
},
"description": "Array of objects"
},
"type": "object"
}
}
},
"description": "A list of apply.kyc-product elements"
}
},
"summary": "List KYC Products",
"tags": [
"KYC Product"
]
}
},
"/apply/kyc_product/{id}": {
"get": {
"parameters": [
{
"description": "Unique identifier for object",
"in": "path",
"name": "id",
"required": true,
"schema": {
"description": "Unique identifier for object",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"created_at": "2019-12-11T20:34:11Z",
"id": "akpt_1209bga8she6",
"name": "product_0",
"object_type": "person",
"updated_at": "2019-12-11T20:34:11Z"
}
}
},
"schema": {
"properties": {
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"is_default": {
"description": "Whether this KYC product should run by default if none is specified",
"type": "boolean"
},
"name": {
"description": "Name of the KYC product. Filterable.",
"type": "string"
},
"object_type": {
"description": "The type of application upon which the KYC product can be run. One of: `person`, `business`. Filterable.",
"type": "string"
},
"org_id": {
"description": "ID of the organization that owns the KYC product",
"type": "string"
}
}
}
}
},
"description": "The apply.kyc-product"
}
},
"summary": "Fetch a KYC Product",
"tags": [
"KYC Product"
]
}
},
"/apply/person_application": {
"get": {
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"data": [
{
"bankdata": {
"ip_address": "127.0.0.40"
},
"citizenship": "US",
"created_at": "2019-03-02T11:55:14Z",
"date_of_birth": "1732-02-22",
"email_address": "[email protected]",
"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
}
]
}
}
},
"schema": {
"properties": {
"data": {
"items": {
"properties": {
"bankdata": {
"description": "Optional arbitrary data the bank can attach to the object",
"type": "object"
},
"citizenship": {
"description": "Two letter ISO country code indicating where this person has citizenship",
"type": "string"
},
"date_of_birth": {
"description": "Date of birth of the person, ISO 8601 format ('YYYY-MM-DD')",
"type": "string"
},
"document_ids": {
"description": "Array of Document IDs pertaining to this person",
"items": {
"type": "string"
},
"type": "array"
},
"email_address": {
"description": "Email address of the person",
"type": "string"
},
"first_name": {
"description": "First (given) name of the person (max of 36 ASCII characters)",
"type": "string"
},
"gov_id": {
"deprecated": true,
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"identification_number": {
"description": "International identification number (max of 30 characters)",
"type": "string"
},
"identification_number_type": {
"description": "Type of international identification number (max of 30 characters)",
"type": "string"
},
"last_name": {
"description": "Last name (surname) of the person (max of 40 ASCII characters)",
"type": "string"
},
"mailing_address": {
"description": "Object representing the person's mailing address",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"middle_name": {
"description": "Middle name or initial of the person, if they have one",
"type": "string"
},
"occupation": {
"description": "Occupation of the person",
"type": "string"
},
"person_id": {
"description": "ID of the person object created as a result of a successful account application",
"type": "string"
},
"phone_number": {
"description": "Phone number of the person",
"type": "string"
},
"physical_address": {
"description": "Object representing the person's home address. Required for virutal ledger and some core direct integrations",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"secondary_email_address": {
"description": "Optional secondary email address of the person",
"type": "string"
},
"userdata": {
"description": "Optional arbitrary data the user can attach to the object",
"type": "object"
}
}
},
"type": "array"
},
"description": "Array of objects"
},
"type": "object"
}
}
},
"description": "A list of apply.person-application elements"
}
},
"summary": "List Person Applications",
"tags": [
"Person Application"
]
},
"post": {
"requestBody": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"bankdata": {
"ip_address": "127.0.0.40"
},
"citizenship": "US",
"date_of_birth": "1732-02-22",
"email_address": "[email protected]",
"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"
}
}
},
"schema": {
"properties": {
"bankdata": {
"description": "Optional arbitrary data the bank can attach to the object",
"type": "object"
},
"citizenship": {
"description": "Two letter ISO country code indicating where this person has citizenship",
"type": "string"
},
"date_of_birth": {
"description": "Date of birth of the person, ISO 8601 format ('YYYY-MM-DD')",
"type": "string"
},
"document_ids": {
"description": "Array of Document IDs pertaining to this person",
"items": {
"type": "string"
},
"type": "array"
},
"email_address": {
"description": "Email address of the person",
"type": "string"
},
"first_name": {
"description": "First (given) name of the person (max of 36 ASCII characters)",
"type": "string"
},
"gov_id": {
"deprecated": true,
"type": "string"
},
"identification_number": {
"description": "International identification number (max of 30 characters)",
"type": "string"
},
"identification_number_type": {
"description": "Type of international identification number (max of 30 characters)",
"type": "string"
},
"last_name": {
"description": "Last name (surname) of the person (max of 40 ASCII characters)",
"type": "string"
},
"mailing_address": {
"description": "Object representing the person's mailing address",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"middle_name": {
"description": "Middle name or initial of the person, if they have one",
"type": "string"
},
"occupation": {
"description": "Occupation of the person",
"type": "string"
},
"phone_number": {
"description": "Phone number of the person",
"type": "string"
},
"physical_address": {
"description": "Object representing the person's home address. Required for virutal ledger and some core direct integrations",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"secondary_email_address": {
"description": "Optional secondary email address of the person",
"type": "string"
},
"tin": {
"description": "U.S. Social Security or IRS tax ID number of the person",
"type": "string"
},
"userdata": {
"description": "Optional arbitrary data the user can attach to the object",
"type": "object"
}
},
"required": [
"first_name",
"id",
"last_name",
"email_address"
]
}
}
},
"description": "The apply.person-application to create",
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"bankdata": {
"ip_address": "127.0.0.40"
},
"citizenship": "US",
"created_at": "2019-03-02T11:55:14Z",
"date_of_birth": "1732-02-22",
"email_address": "[email protected]",
"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
}
}
},
"schema": {
"properties": {
"bankdata": {
"description": "Optional arbitrary data the bank can attach to the object",
"type": "object"
},
"citizenship": {
"description": "Two letter ISO country code indicating where this person has citizenship",
"type": "string"
},
"date_of_birth": {
"description": "Date of birth of the person, ISO 8601 format ('YYYY-MM-DD')",
"type": "string"
},
"document_ids": {
"description": "Array of Document IDs pertaining to this person",
"items": {
"type": "string"
},
"type": "array"
},
"email_address": {
"description": "Email address of the person",
"type": "string"
},
"first_name": {
"description": "First (given) name of the person (max of 36 ASCII characters)",
"type": "string"
},
"gov_id": {
"deprecated": true,
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"identification_number": {
"description": "International identification number (max of 30 characters)",
"type": "string"
},
"identification_number_type": {
"description": "Type of international identification number (max of 30 characters)",
"type": "string"
},
"last_name": {
"description": "Last name (surname) of the person (max of 40 ASCII characters)",
"type": "string"
},
"mailing_address": {
"description": "Object representing the person's mailing address",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"middle_name": {
"description": "Middle name or initial of the person, if they have one",
"type": "string"
},
"occupation": {
"description": "Occupation of the person",
"type": "string"
},
"person_id": {
"description": "ID of the person object created as a result of a successful account application",
"type": "string"
},
"phone_number": {
"description": "Phone number of the person",
"type": "string"
},
"physical_address": {
"description": "Object representing the person's home address. Required for virutal ledger and some core direct integrations",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"secondary_email_address": {
"description": "Optional secondary email address of the person",
"type": "string"
},
"tin": {
"description": "U.S. Social Security or IRS tax ID number of the person",
"type": "string"
},
"userdata": {
"description": "Optional arbitrary data the user can attach to the object",
"type": "object"
}
}
}
}
},
"description": "The apply.person-application created"
}
},
"summary": "Create a Person Application",
"tags": [
"Person Application"
]
}
},
"/apply/person_application/{id}": {
"get": {
"parameters": [
{
"description": "Unique identifier for object",
"in": "path",
"name": "id",
"required": true,
"schema": {
"description": "Unique identifier for object",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"examples": {
"example": {
"summary": "Success",
"value": {
"bankdata": {
"ip_address": "127.0.0.40"
},
"citizenship": "US",
"created_at": "2019-03-02T11:55:14Z",
"date_of_birth": "1732-02-22",
"email_address": "[email protected]",
"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
}
}
},
"schema": {
"properties": {
"bankdata": {
"description": "Optional arbitrary data the bank can attach to the object",
"type": "object"
},
"citizenship": {
"description": "Two letter ISO country code indicating where this person has citizenship",
"type": "string"
},
"date_of_birth": {
"description": "Date of birth of the person, ISO 8601 format ('YYYY-MM-DD')",
"type": "string"
},
"document_ids": {
"description": "Array of Document IDs pertaining to this person",
"items": {
"type": "string"
},
"type": "array"
},
"email_address": {
"description": "Email address of the person",
"type": "string"
},
"first_name": {
"description": "First (given) name of the person (max of 36 ASCII characters)",
"type": "string"
},
"gov_id": {
"deprecated": true,
"type": "string"
},
"id": {
"description": "Unique identifier for object",
"type": "string"
},
"identification_number": {
"description": "International identification number (max of 30 characters)",
"type": "string"
},
"identification_number_type": {
"description": "Type of international identification number (max of 30 characters)",
"type": "string"
},
"last_name": {
"description": "Last name (surname) of the person (max of 40 ASCII characters)",
"type": "string"
},
"mailing_address": {
"description": "Object representing the person's mailing address",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"middle_name": {
"description": "Middle name or initial of the person, if they have one",
"type": "string"
},
"occupation": {
"description": "Occupation of the person",
"type": "string"
},
"person_id": {
"description": "ID of the person object created as a result of a successful account application",
"type": "string"
},
"phone_number": {
"description": "Phone number of the person",
"type": "string"
},
"physical_address": {
"description": "Object representing the person's home address. Required for virutal ledger and some core direct integrations",
"properties": {
"city": {
"description": "City (max 18 characters)",
"type": "string"
},
"country": {
"description": "Country (ISO 3166-1 alpha-2). Defaults to `US`",
"type": "string"
},
"postal_code": {
"description": "Postal code (5-digit or 5+4 Zip Code for U.S. addresses)",
"type": "string"
},
"state": {
"description": "State (max 2 characters for US, max 3 characters for other countries)",
"type": "string"
},
"street_line_1": {
"description": "First line of the address (max 35 characters)",
"type": "string"
},
"street_line_2": {
"description": "Optional second line of the address (max 35 characters)",
"type": "string"
}
},
"type": "object"
},
"secondary_email_address": {
"description": "Optional secondary email address of the person",
"type": "string"
},
"userdata": {
"description": "Optional arbitrary data the user can attach to the object",
"type": "object"
}
}
}
}
},
"description": "The apply.person-application"
}
},
"summary": "Fetch a Person Application",
"tags": [
"Person Application"
]
}
}
},
"security": [
{
"basicAuth": []
},
{
"apiKey": []
}
],
"servers": [
{
"description": "Production",
"url": "https://api.treasuryprime.com"
},
{
"description": "Sandbox",
"url": "https://api.sandbox.treasuryprime.com"
}
]
}
Updated 7 days ago