Skip to main content

Customers

Customers are automatically created when an application is approved. For general customer concepts, see the Customers Overview.

After approval, Thread Bank partners can update regulatory fields on the customer resource using the PATCH endpoints below.

Update Individual Customer

Update an IndividualCustomer. The Customer Updated webhook event will be fired.

Note

Changes to a customer's name, date of birth and SSN require the discretion of a compliance officer and therefore cannot be changed using this endpoint. To change any of these, please contact Unit support with the change details and required documents (if there are any) and our compliance team will process the request for you.

VerbPATCH
URLhttps://api.s.unit.sh/customers/:customerId
Required Scopecustomers-write or customer-tags-write
Data TypeindividualCustomer
Timeout (Seconds)5

Attributes

NameTypeDescription
tags RequiredobjectSee Updating Tags.
accountPurpose OptionalaccountPurposeThe primary purpose of the account.
accountPurposeDetailstringOptional. Required if accountPurpose is one of Cryptocurrency,CashHeavyPersonalIncome,InternationalRemittances
sourceOfFunds OptionalsourceOfFundsThe primary source of funds. One of SalaryOrWages,BusinessIncome,InvestmentIncome,RetirementSavings,Inheritance,Gift,SaleOfAssets,LegalSettlement,LoanProceeds
transactionVolume OptionaltransactionVolumeThe expected monthly transaction volume. One of Between1KAnd5K,Between5KAnd15K,Between15KAnd30K,Between30KAnd60K,GreaterThan60K
transactionVolumeDescriptionstringOptional. Required when transactionVolume is $30,001 or higher. Further detail around transaction volume selection.
profession OptionalprofessionThe occupation of the individual.

Response

Response is a JSON:API document.

200 OK

NameTypeDescription
data RequiredIndividualCustomerThe updated IndividualCustomer resource.
Update individual customer:
curl -X PATCH 'https://api.s.unit.sh/customers/:customerId'
-H 'Content-Type: application/vnd.api+json'
-H 'Authorization: Bearer ${TOKEN}'
--data-raw '{
"data": {
"type": "individualCustomer",
"attributes": {
"tags": {
"by": "Richard Hendricks",
"id": "23033b64-38f8-4dbc-91a1-313ff0156d02"
},
"profession": "Lawyer"
}
}
}'

Update Sole Proprietor Customer

Update a sole-proprietorship customer. The Customer Updated webhook event will be fired.

Note

Changes to a customer's name, date of birth and SSN require the discretion of a compliance officer and therefore cannot be changed using this endpoint. To change any of these, please contact Unit support with the change details and required documents (if there are any) and our compliance team will process the request for you.

VerbPATCH
URLhttps://api.s.unit.sh/customers/:customerId
Required Scopecustomers-write or customer-tags-write
Data TypeindividualCustomer
Timeout (Seconds)5

Attributes

NameTypeDescription
tags RequiredobjectSee Updating Tags.
website OptionalstringA Valid website URL. Providing a null value is indicative of the business customer attesting that they do not have a website.
sourceOfFunds OptionalsourceOfFundsThe primary source of funds of the business.
sourceOfFundsDescriptionstringOptional. Required if sourceOfFunds is one of governmentContractsOrGrants,donationsOrFundraising,importExportRevenue.
businessIndustry OptionalbusinessIndustryThe industry of the sole proprietor.
businessDescription OptionalstringA brief description of the business, including its main products or services and the customers.
isIncorporated OptionalbooleanIs the business incorporated.
stateOfIncorporationstringOptional. Required if isIncorporated is true. Two letters representing a US state.
yearOfIncorporationYear stringOptional. Required if isIncorporated is true. Year of incorporation of the business.
countriesOfOperation OptionalArray of ISO31661-Alpha2 stringsThe countries in which business is conducted.
usNexus Optionalarray of usNexusThe nature of the business's ties to the U.S. Either NotAvailable or one or more of the other options.
transactionVolume OptionaltransactionVolumeThe expected monthly transaction volume of the business.
transactionVolumeDescriptionstringOptional. Required when transactionVolume is $150,001 or higher. Further detail around transaction volume selection.
accountPurpose OptionalaccountPurposeThe primary purpose of the account.
accountPurposeDetailstringOptional. Required if accountPurpose is one of CashHeavyIncomeAndOperations,ProfessionalServicesHandlingFunds,CharitableOrNonProfitOrganizationOperations,CommercialCashOperations,ThirdPartyPaymentProcessing.

Response

Response is a JSON:API document.

200 OK

NameTypeDescription
data RequiredIndividualCustomerThe updated IndividualCustomer resource.
Update sole-proprietor customer:
curl -X PATCH 'https://api.s.unit.sh/customers/:customerId'
-H 'Content-Type: application/vnd.api+json'
-H 'Authorization: Bearer ${TOKEN}'
--data-raw '{
"data": {
"type": "individualCustomer",
"attributes": {
"tags": {
"by": "Richard Hendricks",
"id": "23033b64-38f8-4dbc-91a1-313ff0156d02"
},
"website": "https://unit.co"
}
}
}'

Update Business Customer

Update a BusinessCustomer. The Customer Updated webhook event will be fired.

Note

Changes to a customer's name, date of birth and SSN require the discretion of a compliance officer and therefore cannot be changed using this endpoint. To change any of these, please contact Unit support with the change details and required documents (if there are any) and our compliance team will process the request for you.

VerbPATCH
URLhttps://api.s.unit.sh/customers/:customerId
Required Scopecustomers-write or customer-tags-write
Data TypebusinessCustomer
Timeout (Seconds)5

Attributes

NameTypeDescription
tags RequiredobjectSee Updating Tags.
operatingAddress OptionalAddressThe physical location of the business.
sourceOfFunds OptionalsourceOfFundsThe primary source of funds of the business.
sourceOfFundsDescriptionstringOptional. Required if sourceOfFunds is one of governmentContractsOrGrants,donationsOrFundraising,importExportRevenue.
businessIndustry OptionalbusinessIndustryThe industry of the business.
businessDescription OptionalstringA brief description of the business, including its main products or services and the customers.
isRegulated OptionalbooleanIs the business regulated by a government agency or financial regulator?
regulatorNamestringOptional. Required if isRegulated is true. The name of the regulator if the business is regulated.
usNexus Optionalarray of usNexusThe nature of the business's ties to the U.S. Either NotAvailable or one or more of the other options.
accountPurpose OptionalaccountPurposeThe primary purpose of the account.
accountPurposeDetailstringOptional. Required if accountPurpose is one of CashHeavyIncomeAndOperations,ProfessionalServicesHandlingFunds,CharitableOrNonProfitOrganizationOperations,CommercialCashOperations,ThirdPartyPaymentProcessing.
transactionVolume OptionaltransactionVolumeThe expected monthly transaction volume of the business.
transactionVolumeDescriptionstringOptional. Required when transactionVolume is $1,000,001 or higher. Further detail around transaction volume selection.
countriesOfOperation OptionalArray of ISO31661-Alpha2 stringsThe countries in which business is conducted.
yearOfIncorporation OptionalYear stringYear of incorporation of the business.
website OptionalstringA Valid website URL. Providing a null value is indicative of the business customer attesting that they do not have a website.
stockExchangeNamestringOptional. Required if entityType is PubliclyTradedCorporation. The name of the stock exchange where the business's stock is traded.
stockSymbolstringOptional. Required if entityType is PubliclyTradedCorporation. The stock symbol (ticker) of the business.

Response

Response is a JSON:API document.

200 OK

NameTypeDescription
data RequiredBusinessCustomerThe updated BusinessCustomer resource.
Update business customer:
curl -X PATCH 'https://api.s.unit.sh/customers/:customerId'
-H 'Content-Type: application/vnd.api+json'
-H 'Authorization: Bearer ${TOKEN}'
--data-raw '{
"data": {
"type": "businessCustomer",
"attributes": {
"tags": {
"by": "Richard Hendricks",
"id": "23033b64-38f8-4dbc-91a1-313ff0156d02"
},
"usNexus": [
"NotAvailable"
]
}
}
}'