curl --request POST \
--url https://api-sandbox.synctera.com/v0/customers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"ban_status": "ALLOWED",
"email": "alice@example.com",
"legal_address": {
"address_line_1": "100 Main St.",
"address_line_2": "Suite 99",
"city": "New York",
"country_code": "US",
"nickname": "Home",
"postal_code": "28620",
"state": "NY"
},
"metadata": {},
"middle_name": "Anne",
"note": "<string>",
"phone_number": "+14374570680",
"related_customers": [
{
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"relationship_role": "CUSTODIAN"
}
],
"shipping_address": {
"address_line_1": "100 Main St.",
"address_line_2": "Suite 99",
"city": "New York",
"country_code": "US",
"nickname": "Home",
"postal_code": "28620",
"state": "NY"
},
"ssn": "123-45-6789",
"tenant": "abcdef_ghijkl",
"dob": "2000-01-01",
"first_name": "Jane",
"last_name": "Smith",
"status": "ACTIVE"
}'
{
"addresses": [
{
"address_line_1": "100 Main St.",
"address_line_2": "Suite 99",
"address_type": "SHIPPING",
"city": "New York",
"country_code": "US",
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"nickname": "Home",
"postal_code": "28620",
"state": "NY"
}
],
"ban_status": "ALLOWED",
"creation_time": "2010-05-06T12:23:34.321Z",
"email": "alice@example.com",
"has_accounts": true,
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"kyc_exempt": true,
"kyc_last_run": "2010-05-06T12:23:34.321Z",
"kyc_status": "ACCEPTED",
"last_updated_time": "2010-05-06T12:23:34.321Z",
"legal_address": {
"address_line_1": "100 Main St.",
"address_line_2": "Suite 99",
"address_type": "SHIPPING",
"city": "New York",
"country_code": "US",
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"nickname": "Home",
"postal_code": "28620",
"state": "NY"
},
"metadata": {},
"middle_name": "Anne",
"phone_number": "+14374570680",
"related_customers": [
{
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"relationship_role": "CUSTODIAN"
}
],
"shipping_address": {
"address_line_1": "100 Main St.",
"address_line_2": "Suite 99",
"address_type": "SHIPPING",
"city": "New York",
"country_code": "US",
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"nickname": "Home",
"postal_code": "28620",
"state": "NY"
},
"ssn": "123-45-6789",
"ssn_source": "MANUAL",
"tenant": "abcdef_ghijkl",
"dob": "2000-01-01",
"first_name": "Jane",
"last_name": "Smith",
"status": "ACTIVE"
}
The customer object represents your customer’s identity. You can then verify the identity of this customer and associate them with other people and accounts. Note that if no shipping_address attribute is provided in the request, the shipping_address will be set to a copy of the legal_address.
curl --request POST \
--url https://api-sandbox.synctera.com/v0/customers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"ban_status": "ALLOWED",
"email": "alice@example.com",
"legal_address": {
"address_line_1": "100 Main St.",
"address_line_2": "Suite 99",
"city": "New York",
"country_code": "US",
"nickname": "Home",
"postal_code": "28620",
"state": "NY"
},
"metadata": {},
"middle_name": "Anne",
"note": "<string>",
"phone_number": "+14374570680",
"related_customers": [
{
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"relationship_role": "CUSTODIAN"
}
],
"shipping_address": {
"address_line_1": "100 Main St.",
"address_line_2": "Suite 99",
"city": "New York",
"country_code": "US",
"nickname": "Home",
"postal_code": "28620",
"state": "NY"
},
"ssn": "123-45-6789",
"tenant": "abcdef_ghijkl",
"dob": "2000-01-01",
"first_name": "Jane",
"last_name": "Smith",
"status": "ACTIVE"
}'
{
"addresses": [
{
"address_line_1": "100 Main St.",
"address_line_2": "Suite 99",
"address_type": "SHIPPING",
"city": "New York",
"country_code": "US",
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"nickname": "Home",
"postal_code": "28620",
"state": "NY"
}
],
"ban_status": "ALLOWED",
"creation_time": "2010-05-06T12:23:34.321Z",
"email": "alice@example.com",
"has_accounts": true,
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"kyc_exempt": true,
"kyc_last_run": "2010-05-06T12:23:34.321Z",
"kyc_status": "ACCEPTED",
"last_updated_time": "2010-05-06T12:23:34.321Z",
"legal_address": {
"address_line_1": "100 Main St.",
"address_line_2": "Suite 99",
"address_type": "SHIPPING",
"city": "New York",
"country_code": "US",
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"nickname": "Home",
"postal_code": "28620",
"state": "NY"
},
"metadata": {},
"middle_name": "Anne",
"phone_number": "+14374570680",
"related_customers": [
{
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"relationship_role": "CUSTODIAN"
}
],
"shipping_address": {
"address_line_1": "100 Main St.",
"address_line_2": "Suite 99",
"address_type": "SHIPPING",
"city": "New York",
"country_code": "US",
"id": "7d943c51-e4ff-4e57-9558-08cab6b963c7",
"nickname": "Home",
"postal_code": "28620",
"state": "NY"
},
"ssn": "123-45-6789",
"ssn_source": "MANUAL",
"tenant": "abcdef_ghijkl",
"dob": "2000-01-01",
"first_name": "Jane",
"last_name": "Smith",
"status": "ACTIVE"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
An idempotency key is an arbitrary unique value generated by client to detect subsequent retries of the same request. It is recommended that a UUID or a similar random identifier be used as an idempotency key. A different key must be used for each request, unless it is a retry.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
Customer to create
Details of a customer
Created customer
Details of a customer
Was this page helpful?