curl --location --request POST 'https://sandbox-ledger.fingates.net/api/v1/agents/customers//update' \
--header 'Content-Type: application/json' \
--data-raw '{
"person": {
"extra": {
"property1": "string",
"property2": "string"
},
"email": "user@example.com",
"phone_number": {
"country_code": "GB",
"dial_code": "string",
"number": "string",
"phone_number_text": "string",
"phone": "string"
},
"name": "string",
"date_of_birth": "string",
"country_of_residence": "GB",
"country_of_nationality": "GB",
"social_security_number": "string",
"identity_number": "string",
"identity_number_type": "PASSPORT",
"nationalities": [
"GB"
]
},
"company": {
"extra": {
"property1": "string",
"property2": "string"
},
"email": "user@example.com",
"phone_number": {
"country_code": "GB",
"dial_code": "string",
"number": "string",
"phone_number_text": "string",
"phone": "string"
},
"name": "string",
"trading_name": "string",
"incorporation_locality": "GB",
"corporation_type": "PRIVATE_COMPANY_LIMITED_BY_SHARES",
"industry": "ACCOUNTING",
"legal_entry_number": "string",
"foundation_date": "string",
"director_name": "string"
},
"compliance_profile_id": "c49ef6ed-1f4e-4abf-b63d-1c115f57fa9e"
}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978",
"agent_name": "string",
"person": {
"extra": {
"property1": "string",
"property2": "string"
},
"email": "user@example.com",
"phone_number": {
"country_code": "GB",
"dial_code": "string",
"number": "string",
"phone_number_text": "string",
"phone": "string"
},
"name": "string",
"date_of_birth": "string",
"country_of_residence": "GB",
"country_of_nationality": "GB",
"social_security_number": "string",
"identity_number": "string",
"identity_number_type": "PASSPORT",
"nationalities": [
"GB"
]
},
"company": {
"extra": {
"property1": "string",
"property2": "string"
},
"email": "user@example.com",
"phone_number": {
"country_code": "GB",
"dial_code": "string",
"number": "string",
"phone_number_text": "string",
"phone": "string"
},
"name": "string",
"trading_name": "string",
"incorporation_locality": "GB",
"corporation_type": "PRIVATE_COMPANY_LIMITED_BY_SHARES",
"industry": "ACCOUNTING",
"legal_entry_number": "string",
"foundation_date": "string",
"director_name": "string"
},
"addresses": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"address": {
"country_code": "GB",
"city": "string",
"street": "string",
"postal_code": "string",
"address_line1": "string",
"address_line2": "string",
"region": "string",
"trading_address": true,
"current_address": true
},
"created_at": 1668717762,
"active": true
}
],
"compliance_profile_id": "c49ef6ed-1f4e-4abf-b63d-1c115f57fa9e"
}